andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.57k stars 1.08k forks source link

Unable to run with docker #496

Open napsta32 opened 4 years ago

napsta32 commented 4 years ago

Each time I run with docker command:

docker run -i --rm --user=$(id -u):$(id -g) -v <LOCAL_CONFIG_PATH>:/config -v <YOUR_DATA_DIR_MOUNT>:/workdir <TAG> <Arguments>

I get this error and configuration is not saved:

/opt/dropbox_uploader/dropbox_uploader.sh: line 1553: : No such file or directory
   The configuration has been saved.
wagaman commented 4 years ago

you need to identify LOCAL_CONFIG_PATH and YOUR_DATA_DIR_MOUNT and remove

sgbeal commented 4 years ago

The docker instructions also point to the wrong github repo:

[pi@pi4b8:~/src/Dropbox-Uploader]$ grep sircu README.md
docker build https://github.com/sircuri/Dropbox-Uploader.git -f Dockerfile -t <TAG>
docker build https://github.com/sircuri/Dropbox-Uploader.git -f Dockerfile.pi -t <TAG>

The sircuri repo seems to be an unmaintained relative of this one.