NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Jophus
Sep 24, 2015Luminary
SpiderOakONE install/upgrade
I have documented how to install and configure SpiderOak in this thread How I got SpiderOak --headless to run on OS6 x64/x86
I thought I'd post, in the correct forum, on how to uninstall SpiderOak and install SpiderOakONE. SpiderOak have recommended not to just install over the top of the existing SpiderOak install.
I assume you have SpiderOak installed as a systemd service to start in boot-up. if that's not the case, skip steps 1 and 2.
Step 1: Stop the service and disable the existing service from starting on boot-up
systemctl stop spideroak systemctl disable spideroak
Step 2: Uninstall/remove the existing SpiderOak install
apt-get remove spideroak
Step 3: Install SpiderOakONE
apt-get install SpiderOakONE
Step 4: Rename (or create if this is a clean install) the /lib/systemd/system/spideroakone.service file
mv /lib/systemd/system/spideroak.service /lib/systemd/system/spideroakone.service
Step5: Edit the file to point to the correct Environment file (I installed and used 'nano' as my text editor). See the 'EnvironmentFile' below. Also, I edited 'User' to be the owner of SpiderOakONE so i didn't need to pass the variable in a command line. Note the "ExecStart' line also points to SpiderOakONE
[Unit] Description=SpiderOakONE backup service [Install] WantedBy=multi-user.target [Service]cd system, Type=simple EnvironmentFile=-/etc/sysconfig/SpiderOakONE User=root ExecStart=/usr/bin/SpiderOakONE --headless $SPIDEROAKOPTS &
Step 6: Move (or create)) the SpiderOakONE environment file
mv /etc/sysconfig/SpiderOak /etc/sysconfig/SpiderOakONE
Edit it (i used 'nano'). This is a systemd and systemV config. For systemd only, no change is needed as the SPIDEROAKOPTS line is the only one that matters.
# # Configuration for SpiderOakONE service # # Options that get passed to SpiderOak. '--headless' is automatically specified # by the appropriate script or configuration file. The available options are at # https://spideroak.com/faq/question s/67/how_can_i_use_spideroak_from_the_commandline/ SPIDEROAKOPTS="--purge-historical-versions h24,d14,w4,m6,y" # The following two options are only used by the SysV init script. # # SPIDEROAKUSER is the user(s) that will run the SpiderOak service. If multiple # (space-separated) users are listed, a SpiderOak process will be started for # each user. SPIDEROAKUSER="bcotton" “root” or “admin” etc # SPIDEROAKCMD is the binary that is executed. Normally it should not be # necessary to set this. # SPIDEROAK='/usr/bin/SpiderOak'
Step 8: Now we can enable the service for start-up at boot
systemctl enable spideroakone
systemctl start spideroakone
systemctl status spideroakone
One interesting aspect I noted, given my previous post on moving the cache folder from the /root, internal storage to the /apps directory on the spinning disk storage, is the SpiderOakONE install created a link in my root dir to SpiderOakONE. And SpiderOakONE links to /apps/Spideroak. I didn't do this - the install did!
drwx------ 1 root root 34 Jul 15 13:17 autostart lrwxrwxrwx 1 root root 26 Sep 24 10:29 SpiderOak -> /root/.config/SpiderOakONE lrwxrwxrwx 1 root root 15 Sep 7 09:21 SpiderOakONE -> /apps/SpiderOak root@Sextuple:~/.config#
So it appears that my /apps/SpiderOak directory, which holds the cache, is automatically "re-instated" as the cache for SpiderOakONE.
Good luck!
1 Reply
Replies have been turned off for this discussion
- JennCNETGEAR Employee Retired
Hello Jophus,
Thank you for sharing and your contribution to the community!
You may also post suggestions and ideas at Idea Exchange board. Adding kudos to the ideas will help as development team will be reviewing the post that has the most kudos for considering it to add to the product's future functionality
Regards,
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!