In the event of the below status from Dropbox – Follow the below steps.
[email protected]:~# docker exec -it dropbox dropbox status Traceback (most recent call last): File "/usr/bin/dropbox-cli", line 1535, in <module> ret = main(sys.argv) File "/usr/bin/dropbox-cli", line 1524, in main result = commands[argv[i]](argv[i+1:]) File "/usr/bin/dropbox-cli", line 719, in newmeth return meth(*n, **kw) File "/usr/bin/dropbox-cli", line 1187, in status console_print(line) File "/usr/bin/dropbox-cli", line 127, in console_print f.write(st.encode(enc)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 16: ordinal not in range(128)
Copy the number from the unicode character code (Eg in the above – 2022)
Enter the number into the below URL to lookup what special character is causing Dropbox to crash:
When you have the special character – Eg a bullet point from the above example (•), copy the UTF-8 character into your clipboard.
On your linux server – Do a “find” in your Dropbox directory for files containing this character:
find /mnt/Dropbox/ -name "*•*"
The results from this find are the files which are causing the Dropbox crash – You can either delete these (if Appropriate) or exclude them / the directory they are contained within from Dropbox sync as so:
docker exec -it dropbox dropbox exclude add this/dir/contains/files/