You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Kindy K.'s avatar
Kindy K.
Helpful | Level 5
3 years ago

Dropbox not recognizing username change in Pop!_OS 22.04 LTS

When I first got this laptop I installed Dropbox. Later on I had to change my username (i.e. the name that's in /home).

 

Dropbox hasn't been working since then (not syncing, starting, and app interface won't load manually).

 

After uninstalling dropbox and reinstalling it's still somehow linking to my old username, where is it picking up the old name / how do I fix it?

 

Thanks


Here's my log with the names changed

 

 

 

bn.BUILD_KEY: Dropbox
bn.VERSION: 159.4.5870
bn.constants.WINDOWS_SHELL_EXT_VERSION: 55
bn.is_frozen: True
machine_id: e951fe8d-dd12-5129-c4d9-bf9063213fca
pid: 5796
ppid: 3631
ppid exe: '/usr/bin/python3.10'
uid: 1000
user_info: pwd.struct_passwd(pw_name='Username', pw_passwd='x', pw_uid=1000, pw_gid=1000, pw_gecos='Username', pw_dir='/home/Username', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='Username', pw_passwd='x', pw_uid=1000, pw_gid=1000, pw_gecos='Username', pw_dir='/home/Username', pw_shell='/bin/bash')
euid: 1000
gid: 1000
egid: 1000
group_info: grp.struct_group(gr_name='Username', gr_passwd='x', gr_gid=1000, gr_mem=[])
effective_group_info: grp.struct_group(gr_name='Username', gr_passwd='x', gr_gid=1000, gr_mem=[])
LD_LIBRARY_PATH: None
cwd: '/home/Username'
     real_path='/home/Username'
           	mode=0o40750	uid=1000	gid=1000
     parent	mode=0o40755	uid=0	gid=0
HOME: '/home/Username'
appdata: '/home/origUserName/.dropbox/instance1'
         real_path='/home/origUserName/.dropbox/instance1'
               	not found
         parent	not found
dropbox_path: None
                    	not found
              parent	not found
sys_executable: '/home/Username/.dropbox-dist/dropbox-lnx.x86_64-159.4.5870/dropbox'
                real_path='/home/Username/.dropbox-dist/dropbox-lnx.x86_64-159.4.5870/dropbox'
                      	mode=0o100755	uid=1000	gid=1000
                parent	mode=0o40775	uid=1000	gid=1000
trace.__file__: '/home/Username/.dropbox-dist/dropbox-lnx.x86_64-159.4.5870/python-packages.zip/dropbox/client/ui/common/boot_error.pyc'
                real_path='/home/Username/.dropbox-dist/dropbox-lnx.x86_64-159.4.5870/python-packages.zip/dropbox/client/ui/common/boot_error.pyc'
                      	not found
                parent	not found
tempdir: '/tmp'
         real_path='/tmp'
               	mode=0o41777	uid=0	gid=0
         parent	mode=0o40755	uid=0	gid=0
Traceback (most recent call last):
  File "dropbox/client/main.pyc", line 7665, in main_startup
  File "dropbox/client/main.pyc", line 2630, in initialize
  File "dropbox/client/main.pyc", line 1567, in startup_low
  File "dropbox/client/main.pyc", line 1204, in safe_makedirs
  File "dropbox/fsutil.pyc", line 679, in safe_makedirs
  File "os.pyc", line 213, in makedirs
  File "os.pyc", line 213, in makedirs
  File "os.pyc", line 223, in makedirs
PermissionError: [Errno 13] Permission denied: '/home/origUserName'

 

 

 

 

  • I guess I fixed it, there was an entry in ~/.var/app that needed to be deleted

  • Kindy K.'s avatar
    Kindy K.
    Helpful | Level 5

    I guess I fixed it, there was an entry in ~/.var/app that needed to be deleted

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!