![]() The above link goes into more detail on how to obtain a certificate from LetsEncrypt however, I won't be doing that. $ sudo apt-get purge resilio-sync Using Resilio Sync With TLS Certificate Delete resilio-sync package completely $ sudo apt-get remove resilio-sync Stop the application $ sudo systemctl stop resilio-syncģ. If this still does not fix the problem, I removed Resilio and reinstalled.Ģ. When this occurs, the database is corrupt and resilio must be stopped and restarted again. tried changing permissions on folders but this still did not work. Could not find a solution to “Database error” when trying to add a folder to sync. Now you should be able to add your home folder as the shared folder.Ģ. What it does is to grant read, write and execute permissions to one more user, namely rslsync. The owner has the same permissions as usual. The above command won’t change the owner of the shared folder. $ sudo setfacl -R -m "u:rslsync:rwx" /home/your-username To fix the above error, all you need to do is to grant permissions on your home folder to the rslsync user with the following command. Let’s say you selected your home folder ‘/home/your-username/' as the shared folder. Don’t have permissions to write to selected folder. That’s because Resilio Sync is running as rslsync user. You might encounter the following error message. Service can also be run with the following arguments: start, stop, restart: $ sudo systemctl start resilio-syncġ. You are now logged in and can add folders to sync. Ĩ.3 You will prompted for your username and password that you entered in the previous step. Note, that password is optional, and later you will be able to change login options.Ĩ.2 Then choose a name to show when you send and receive folders. 127.0.0.1:8888Ĩ.1 Sync on Linux will prompt for login and password to protect unauthorized access to Sync UI. Now you can type the following in your web browser address bar to access the Resilio Sync Web UI. Open Virtualbox, right-click on the running virtual machine, click ‘Settings', select ‘Network', click ‘Advanced', click ‘Port Forwarding', add new port forwarding rule by clicking the ‘+' icon in top right of menu, the enter:Ĭlick ‘OK' save and exit. Restart resilio sync: $ sudo systemctl restart resilio-sync Open/edit the configuration file: $ sudo nano /etc/resilio-sync/config.jsonĬhange the line: "listen" : "127.0.0.1:8888"Ĭtrl+x, then ‘Y' to save and exit. You can use “0.0.0.0” IP to force Sync to listen on all available interfaces and be reachable in LAN. Once running, The Resilio Sync daemon will listen on 127.0.0.1:8888 as specified in /etc/resilio-sync/config.json configuration file. Mar 19 15:58:56 vagrant systemd: Started Resilio Sync service.Ĭtrl+c to get back to the command prompt. Mar 19 15:58:56 vagrant systemd: Starting Resilio Sync service. └─32669 /usr/bin/rslsync -config /etc/resilio-sync/config.json Process: 32657 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited,ĬGroup: /system.slice/rvice Process: 32662 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-syn Process: 32665 ExecStart=/usr/bin/rslsync -config /etc/resilio-sync/config.js Loaded: loaded (/lib/systemd/system/rvice enabled vendor preĪctive: active (running) since Sun 15:58:56 UTC 27s ago $ sudo systemctl start resilio-syncĬheck its status. Start Resilio Sync, use systemctl command. Enable auto start at boot time using the following command: $ sudo systemctl enable resilio-sync 5. Install Resilio sync $ sudo apt-get update Add public key with the following command: $ wget -qO - | sudo apt-key add -ģ. Register the Resilio repository: $ echo "deb resilio-sync non-free" | sudo tee /etc/apt//resilio-sync.list 2. They are all managed by the addon and they'll break it completely.ĮDIT: Did you by any chance select a folder on a remote mount as the sync location? If the remote mount didn't allow chowning that location as user nobody, that would be the issue.1. The addon creates those folders and changes ownership to user nobody on start.Ĭan you describe your environment a bit more? By the way, don't manually edit the settings.xml or the nf. ![]() All those newly created folders are under "/sync". I set up a fresh resilio-sync addon on my libreelec vm and I can go to add folder (standard), hit "new folder" and create one. The resilio-sync client runs as user nobody (65534) so all the files in that sync folder should be owned by that. But you can change that in the addon settings. ![]() I talked to the team members and they let me know that everything resides inside "/sync" inside the container, which is by default mapped to "/storage/.kodi/userdata/addon_data/-sync/sync" on libreelec. Sorry it took me a bit to get my test environment set up again. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |