Troubles with SET /SYNCOVERY_HOME

English Support for Syncovery on Linux etc.
Post Reply
Nei
Posts: 13
Joined: Mon Jun 29, 2020 8:42 am

Troubles with SET /SYNCOVERY_HOME

Post by Nei »

Hi there,
I extracted https://www.syncovery.com/release/Synco ... Web.tar.gz in /opt/Syncovery/ and initialized it with:

Code: Select all

./SyncoveryCL SET /SYNCOVERY_HOME=/home/user1/.Syncovery /WEBSERVER=localhost 
and get this output in the terminal

Code: Select all

19:08:38 SyncoveryCL v9.10

19:08:38 Initializing
Wrote /etc/SyncoveryCL.conf with workdir=/root/.Syncovery and tempdir=/tmp/
Changed perms of /root/.Syncovery to 777, result code =0
19:08:40 Log folder: /root/.Syncovery/Logs
19:08:40 Configuration File: /root/.Syncovery/Syncovery.cfg

19:08:40 Storing global settings:
19:08:40 SYNCOVERY_HOME=/home/user1/.Syncovery
19:08:40 Configuring web server for localhost, port 8999.
19:08:40 Web Docs Path: /opt/Syncovery/WebDocs
19:08:40 Username: default
After starting the application I expected .Syncovery in /home/user1/.Syncovery but it is not there. Instead, I find .Syncovery here:
/.Syncovery/
and here:
/root/.Syncovery/

Perhaps I misunderstood something in how to configure Syncovery. Any hint to sort this out is highly appreciated.
Thanks in advance,
Nei

tobias
Posts: 1604
Joined: Tue Mar 31, 2020 7:37 pm

Re: Troubles with SET /SYNCOVERY_HOME

Post by tobias »

SYNCOVERY_HOME can be set as an environment variable but not on the command line.

But nowaways you should not use it at all and just edit /etc/SyncoveryCL.conf instead.

Nei
Posts: 13
Joined: Mon Jun 29, 2020 8:42 am

Re: Troubles with SET /SYNCOVERY_HOME

Post by Nei »

Thanks Tobias for the explanations, but sorry, I still don't get it.

In the documentation is written:
SyncoveryCL will create a .Syncovery folder for configuration, logs, and databases in the HOME folder. It depends on the HOME environment variable. You can also use SYNCOVERY_HOME, which takes precedence. HOME should not be /.
When I initialize Syncovery I get:
/root/.Syncovery/
an this is fine with the default in /etc/SyncoveryCL.conf.

However, when I start the Syncovery app the first time
/.Syncovery/
is created and contains Syncovery.ini and Syncovery.ini.bak.

As far as I understand the documentation quoted above .Syncovery should not be in /.
Could you please enlighten me?

tobias
Posts: 1604
Joined: Tue Mar 31, 2020 7:37 pm

Re: Troubles with SET /SYNCOVERY_HOME

Post by tobias »

Maybe it didn't find the environment variable that it was looking for.

Please specify the folder you want in
/etc/SyncoveryCL.conf

tobias
Posts: 1604
Joined: Tue Mar 31, 2020 7:37 pm

Re: Troubles with SET /SYNCOVERY_HOME

Post by tobias »

Hello again,

the documentation is trying to say that your HOME variable should not be empty or equal to /.

The Syncovery.ini is just a very small file and it could be that it is stored in your HOME folder. But the real data will be saved in the proper location.

Post Reply