Dropbox access key expires after 4 hours #2388

Open
opened 2026-02-28 01:11:00 -05:00 by deekerman · 3 comments
Owner

Originally created by @SLongofono on GitHub (May 6, 2023).

Using the latest raspberry pi image as of 2023-05-05 with dropbox, targeting the folder /camera.

The first day, it successfully requested a token, I approved it manually in my browser, and then applied settings in the motioneye web interface. Videos were uploading correctly.

Approximately 5 hours later, the uploads stopped working. Initiating another "Test Service" from the web interface shows that the key is expired.

Is there a way to auto-refresh these keys or adjust the settings such that they don't need to be refreshed several times a day?

Originally created by @SLongofono on GitHub (May 6, 2023). Using the latest raspberry pi image as of 2023-05-05 with dropbox, targeting the folder /camera. The first day, it successfully requested a token, I approved it manually in my browser, and then applied settings in the motioneye web interface. Videos were uploading correctly. Approximately 5 hours later, the uploads stopped working. Initiating another "Test Service" from the web interface shows that the key is expired. Is there a way to auto-refresh these keys or adjust the settings such that they don't need to be refreshed several times a day?
Author
Owner

@MichaIng commented on GitHub (May 6, 2023):

Do you already use the Python 3 version of motionEye installed following these instructions? https://github.com/motioneye-project/motioneye/tree/dev#installation

Else: What do you mean with "latest raspberry pi image"? Raspberry Pi OS, or motionEyeOS? The letter still ships with the old motionEye version, which is known to not work well with Dropbox anymore, while the new version has this fix added: #2396

@MichaIng commented on GitHub (May 6, 2023): Do you already use the Python 3 version of motionEye installed following these instructions? https://github.com/motioneye-project/motioneye/tree/dev#installation Else: What do you mean with "latest raspberry pi image"? Raspberry Pi OS, or motionEyeOS? The letter still ships with the old motionEye version, which is known to not work well with Dropbox anymore, while the new version has this fix added: #2396
Author
Owner

@SLongofono commented on GitHub (May 6, 2023):

@MichaIng My mistake, didn't notice that this repo was distinct from the motionEyeOS one. This was the latest image of motionEyeOS, is there a way to patch that or will I need to start from scratch?

@SLongofono commented on GitHub (May 6, 2023): @MichaIng My mistake, didn't notice that this repo was distinct from the motionEyeOS one. This was the latest image of motionEyeOS, is there a way to patch that or will I need to start from scratch?
Author
Owner

@MichaIng commented on GitHub (May 10, 2023):

Due to it's container like nature, you cannot really update motionEye within motionEyeOS but we would need to update motionEyeOS. However, currently we struggle to find enough time to update motionEye itself (and do a new stable release), which is the first step.

You can try some other OS like Raspberry Pi OS, or DietPi (which I maintain myself) and install motionEye via above instructions.

@MichaIng commented on GitHub (May 10, 2023): Due to it's container like nature, you cannot really update motionEye within motionEyeOS but we would need to update motionEyeOS. However, currently we struggle to find enough time to update motionEye itself (and do a new stable release), which is the first step. You can try some other OS like Raspberry Pi OS, or DietPi (which I maintain myself) and install motionEye via above instructions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#2388
No description provided.