Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't try to update Dropbox if the download failed #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amenonsen
Copy link

Otherwise you could end up with this situation, repeated forever:

curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Installing new version...
Dropbox updated to v55.4.171
cat: /opt/dropbox/VERSION: No such file or directory
Starting dropboxd ()...
bash: /opt/dropbox/dropboxd: No such file or directory
Checking for latest Dropbox version...
cat: /opt/dropbox/VERSION: No such file or directory
Latest : 55.4.171
Installed:
Dropbox is up-to-date
cat: /opt/dropbox/VERSION: No such file or directory
Starting dropboxd ()...
bash: /opt/dropbox/dropboxd: No such file or directory
Checking for latest Dropbox version...
cat: /opt/dropbox/VERSION: No such file or directory
Latest : 55.4.171
Installed:
Dropbox is up-to-date

Otherwise you could end up with this situation, repeated forever:

curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Installing new version...
Dropbox updated to v55.4.171
cat: /opt/dropbox/VERSION: No such file or directory
Starting dropboxd ()...
bash: /opt/dropbox/dropboxd: No such file or directory
Checking for latest Dropbox version...
cat: /opt/dropbox/VERSION: No such file or directory
Latest   : 55.4.171
Installed:
Dropbox is up-to-date
cat: /opt/dropbox/VERSION: No such file or directory
Starting dropboxd ()...
bash: /opt/dropbox/dropboxd: No such file or directory
Checking for latest Dropbox version...
cat: /opt/dropbox/VERSION: No such file or directory
Latest   : 55.4.171
Installed:
Dropbox is up-to-date
…
@IWriteThings
Copy link

How do you fix this?

@amenonsen
Copy link
Author

@IWriteThings apply the patch in this PR (click on "Files changed" above to see the changes, or download https://github.com/janeczku/docker-dropbox/pull/21.patch) and rebuild the image.

@WallaceDog
Copy link

Any chance this will get merged soon? Been facing this issue for a while.

@amenonsen
Copy link
Author

Any chance this will get merged soon? Been facing this issue for a while.

@WallaceDog no need to wait, you can apply the patch locally and rebuild your image with docker build . -t wallacedog/dropbox:latest and then create containers using the wallacedog/dropbox image instead of janeczku/dropbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants