mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
Dropbox access key expires after 4 hours #2388
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#2388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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
@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?
@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.