cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox files & folders

Get in sync with the Dropbox Community. Our users can answer all of your questions on files and folders. Join a discussion or start your own.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Some files will not synch on Lubuntu computer

Helpful | Level 5

I use Dropbox on a MacBook and I have recently installed it also on a computer with Lubuntu 18.04. All works fine on the MacBook but on the Lubuntu computer some files will not synch, while other files do. It is not an issue with illegal filenames. There are no missing files on my online Dropbox account or on my MacBook, and the Dropbox icon on the Lubuntu computer shows "Up to date" but many files are missing. All files have a green check mark on the MacBook computer. As a specific example, I have a folder with about 200 files, but only 35 are in the Lubuntu computer. I have found that the missing files are all within a certain "creation date" window. Very old files and recent files are all synching correctly. In fact, if I open a file that does not synch with my Mac and make a modification and then save it again, it will immediately synch to the Lubuntu computer.  All the missing files were created about 2-3 months ago. After reading some other posts, I have changed the parameter in /etc/sysctl.conf so that the system watches 100000 folders instead of 10000 but it did not solve the problem. I have also changed the modification date using the touch -m command and I have changed permissions using chmod but it made no difference. The only thing that seems to work is if I open a file, modify it and then save it again.  I then looked at the difference between a file that synchs and a file that does not synch using the stat command and found that the files that do not synch have "4096 880 0" at the end of the stat output, while the ones that synch have "4096 8 0x40" or some other number smaller than 880 after the 4096. And if I open a file that does not synch, make a modification and save it again (so that it will immediately synch to the Lubuntu computer), when I look at stat I find that the "4096 880 0" has been changed to "4096 8 0x40". I don't know what these numbers mean and if they are relevant to the synch issue, but it's the only difference I can see between a file that synchs and one that does not synch.

Thanks for any help with this problem.

 

 

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Some files will not synch on Lubuntu computer

Helpful | Level 5

Hello Здравко

thanks for your message. I tried to re-install the older build but it did not solve the problem. Following the thread you sent, I first did "rm -rf ~/.dropbox" and then installed build 80.4.127 but the synchronization problems with Ubuntu are the same. I then did some smore testing and found out the following: suppose folder A does not synch in Ubuntu. I go to the Mac OS system (ElCapitan) where everything works fine, and I make a copy of folder A outside of Dropbox. Then I delete all files from folder A inside Dropbox (on the Mac) and wait until all files have disapperared from the Dropbox online account (using Google Chrome). Then I upload with Google Chrome all the files from the copy of folder A that was outside of Dropbox. Then all files will by synchronized correctly also to the Ubuntu computer. The only thing that still doesn't work is zero k files, that cannot be uploaded to Dropbox (I have a number of them) so I have to copy them manually. I have my Ubuntu system synchronized now (at least I hope so) and hope that newly created files will also by synchronized. 

Valerio

 

View solution in original post

7 Replies 7
Highlighted

Re: Some files will not synch on Lubuntu computer

Dropboxer
Dropboxer
Hey @vdeangel, thanks for checking in with us on this matter outlining us what you’ve already tried!
 
I’m here to help you as much as I can on my end. So, let's get started! 
 
As you’ve already tried the steps outlined on this resource, I’m wondering whether you’ve had a chance to unlink & relink your account on the device causing you trouble once after running the 
 
sudo sysctl fs.inotify.max_user_watches=100000
 
command, since relinking indexes the local database again.  Would you mind giving it a go once if that’s okay with you? 
 
If the issue persists after you re-link, I’d appreciate two side-by-side screenshots (omitting personal info) showing me a sample file structure within one of the problematic folders on your account online & one showing me the output of the -l/--list command on your device; please include these in your next message if possible. If you’re using the GUI, then that would make it even easier to illustrate your point showing me the difference between the online & the local directory. 
 
Thanks in advance for the time you’re devoting on that! 

 


Jane
Community Moderator @ Dropbox
https://dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
 Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
 Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Highlighted

Re: Some files will not synch on Lubuntu computer

Helpful | Level 5

Hello Jane

thanks for your quick reply. I did try to unlink and re-link the Dropbox account but it did not work. I am attaching two screenshots, one of my online account and the other the Lubuntu computer. In the meantime I have found out that there are missing files with date older than what I had written in my post.  As you can see, the files ALaGoutteDOr, Amandier (with date 2/7/201 are missing from the Lubuntu computer. But I now have another possible lead:  it seems that all missing files are in shared folders and have been created by my collaborator. As soon as I open them in my computer and save them again they get synchronized.

ss1.pngss1.pngss2.jpgss2.jpg

Highlighted

Re: Some files will not synch on Lubuntu computer

Dropboxer
Dropboxer
Thanks for taking the time to try my suggestions & for detailing me what this looks like @vdeangel; this has been very helpful!  
 
Now, following-up from your description & clarifications, I was wondering whether it’s the file extension that’s causing this. Would you mind including that in your next message if possible? I’m suspecting file atributes to be the culprit here, however your next reply will help me paint a clearer picture. 
 
I look forward to hearing back from you! 

 


Jane
Community Moderator @ Dropbox
https://dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
 Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
 Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Highlighted

Re: Some files will not synch on Lubuntu computer

Helpful | Level 5

Hello Jane

thanks for your message. The missing files have no extension. They are files that are just used by a shell script to construct other files.
In the meantime I have done a lot more testing but I have not been able to find much. What I can say is that there are no problems with the Mac  (ElCapitan) or Windows 7 operating systems, but recent versions of both Lubuntu and Ubuntu have the same problem. In a folder with about 4000 files, only about 1600 are synchronized. I think all the missing files are without any extension but I have not been able to determine that for sure. I have installed various versions of Lubuntu and Ubuntu on various computers, and they all give me the same problem, with one exception: an old Lenovo ThinkPad (about 10 years old) with an old version of Lubuntu (15.10) does not have the problem and after I linked it to Dropbox it synchronized all the files. I have also unlinked and re-linked the Dropbox account several times. 
If there are some other tests I could do, let me know.
Thanks,
Valerio
 
 
 
Highlighted

Re: Some files will not synch on Lubuntu computer

Super Collaborator | Level 20

Hi @vdeangel,

Latest Dropbox builds seems has some initialization problems (initial - after install). You can try install some older build and let it successfully establish connection and sync everything and after that let update to latest stable release. Take a look on a previous thread, how this could be done.

Hope this helps.

Highlighted

Re: Some files will not synch on Lubuntu computer

Helpful | Level 5

Hello Здравко

thanks for your message. I tried to re-install the older build but it did not solve the problem. Following the thread you sent, I first did "rm -rf ~/.dropbox" and then installed build 80.4.127 but the synchronization problems with Ubuntu are the same. I then did some smore testing and found out the following: suppose folder A does not synch in Ubuntu. I go to the Mac OS system (ElCapitan) where everything works fine, and I make a copy of folder A outside of Dropbox. Then I delete all files from folder A inside Dropbox (on the Mac) and wait until all files have disapperared from the Dropbox online account (using Google Chrome). Then I upload with Google Chrome all the files from the copy of folder A that was outside of Dropbox. Then all files will by synchronized correctly also to the Ubuntu computer. The only thing that still doesn't work is zero k files, that cannot be uploaded to Dropbox (I have a number of them) so I have to copy them manually. I have my Ubuntu system synchronized now (at least I hope so) and hope that newly created files will also by synchronized. 

Valerio

 

View solution in original post

Highlighted

Re: Some files will not synch on Lubuntu computer

Dropboxer
Dropboxer
As you’ve now mentioned that this has been resolved for you now @vdeangel, I went ahead & accepted your last message as the best answer on the thread. Nonetheless, please feel free to get back in touch if this re-surfaces for you & I’ll forward that to a team specialist in form of a question via email. 
 
Thanks for your ongoing cooperation here & have a wonderful weekend ahead until we talk again Valerio! 

 


Jane
Community Moderator @ Dropbox
https://dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
 Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
 Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?