Dropbox Linux Client

2018/09/02

Until now I ran the Linux Dropbox client as root. I know, not smart at all. But for some reason I couldn’t run the Linux daemon as a normal user.

Until today. I finally figured out where was the issue.

When I logged into my CentOS server overh OpenSSH, I got the warning -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory. DuckDuckGo showed me that the solution was pretty simple: I had to add two lines to /etc/environment: LANG=en_US.UTF-8 and LC_ALL=en_US.UTF-8.

The next locale warning I got from running the Linux Dropbox daemon as a user: ValueError: unknown locale: UTF-8.

I added the two lines to /etc/environment and now I’m finally running the Linux Dropbox daemon for a normal user.