NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dsm1212
Nov 17, 2014Apprentice
Having issues with Dropbox for R4
WhoCares? : for some reason I keep finding /c/.dropbox-dist gone! I think it may be disappearing when I reboot the nas. The configuration is fortunately not lost so I just reinstall the addon and I'm back. I have auto-update disabled too. After I just installed it says 2.10.52. I'm not sure what it was last time, but it was close because it was just a week or two ago I hit this.
steve
steve
7 Replies
Replies have been turned off for this discussion
- dsm1212ApprenticeHa, no it disappeared about 10 minutes after I installed it. Weird. What could be taking this out?
- mdgm-ntgrNETGEAR Employee RetiredWell /c/.dropbox-dist indicates you are using a R4 system not a R6 one, so I split your post into a new thread.
Looks like it is broken on my system too, but then I haven't rebooted mine for a while so I hadn't noticed the issue yet. - dsm1212ApprenticeThanks. The problem is clearly the dropboxcheck script triggered by /etc/cron.d/dropboxcheck so I moved that aside for the time being. If you can figure out what the problem please let me know. I bought this before the account system was in place on readynasxtras so I received the 2.0.2 bin file via email when I ran into a different problem. I don't really have a way to log in and get the update.
steve - dsm1212ApprenticeLooked at the script a bit. This script watches for a 64 bit file called dropbox to show up in /c/.dropbox_dist. If that file doesn't report that as 32bit then it attempts to download a new version and delete the current one. Since there is no longer a file called dropbox in that directory it does not find a 32 bit file and this "repair" is happening every 30 minutes. So I changed this line:
DROP32=`file /c/.dropbox-dist/dropbox | awk '{ print $3 }'`
to this:
DROP32=`file /c/.dropbox-dist/*/dropbox | awk '{ print $3 }'`
so that it finds it in the subdirectory. Now it doesn't try to do the update every 30 minutes. This is good, but I don't see why I ended up with no directory. It looks like it does download the current version and it should move it to the /c/.dropbox-dist location. If I ever do get a 64 bit update I think it will probably lead to the same condition.
steve - dsm1212ApprenticeAh, well. While futzing with this I installed something and wasn't paying attention and it wiped a bunch of key netgear packages. All of those damn things should be locked in place, but they aren't. It occurred to me I should write a script to do that, but I never went after it. The apt sources.list is complicated when you are using virtualbox. Unfortunately I think I need to do a full reinit to recover from this one. Sigh. Is there a way to do a full reinit of the OS without losing c?
steve - mdgm-ntgrNETGEAR Employee RetiredI have 2.0.3 installed now and it doesn't have the issue.
- dsm1212ApprenticeThat's weird. As you know I'm officially hosed now, but anyhow the /usr/share/dropbox/dropboxcheck script on my system was old or something. I had previously been running a very old version of the addon. It was looking for /c/.dropbox-dist/dropbox which is a file no longer present in the distribution.
steve
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!