Page 1 of 2

CLOSED: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 7:41 am
by rm35583
All,

Had to do a reinstall of Amahi on home network which was successful I believe. All of my apps working with exception of Sync. (It was working previously so I expect I have done something or not to cause this.)

To note:

1) I manually installed two external HDD's in a NAS box and they are visible and viable. Install done per Wiki directions and I moved all shares to the new drives (some on each). Needless to say, Public folder was moved as well (I was not thinking) and naturally Sync would not work in the new location.

2) So following some advice from Forums and Wiki I believe I recreated the Public folder at /var/hda/files/Public....when I CD to that location i see a test file that i moved to the folder using a client PC.

3) Again following direction for this site I restarted the Sync service and believe it worked. That being said when i run this command:
tail -f /var/log/amahi-sync.log, the following output, indicating a sync error is received:

rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]
190314-094136-817358: sync ended with exit status: 12
190314-094139-843611: sync errors found - sleeping to check later
Exiting Amahi Sync v0.30 normally with code(15)
Exiting Amahi Sync v0.30 with error code(0)
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]
Starting Amahi Sync v0.30
190314-100930-708561: sync ended with exit status: 12
190314-100932-733349: sync errors found - sleeping to check later

4) I'm stumped and am not sure what to try next. Grateful for any suggestions or direction. Thanks.

Scott

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 8:14 am
by bigfoot65
Verify the path in the Dashboard shares tab matches the path of the folder.

Ensure the permissions for Public and all itโ€™s contents match the rest of your shares.

Verify by doing:

Code: Select all

ls -al /var/hda/files
Note that the folder must be in title case, I.e. Public.

Finally ensure rsync is installed:

Code: Select all

sudo dnf list rsync

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 9:53 am
by rm35583
Bigfoot Thanks,

Figured you would have the weekend off!

1) Path verified. Public (with CAP) resides @ /var/hda/files

2) [sallen@hda ~]$ ls -al /var/hda/files results:

total 16
drwxr-xr-x. 4 root root 4096 Apr 14 10:05 .
drwxr-xr-x. 12 root root 4096 Apr 12 14:18 ..
drwxr-xr-x 5 root root 4096 Apr 14 05:56 drives
drwxrwxr-x 2 admin users 4096 Apr 14 10:08 Public

3) sudo dnf list rsync results:

[sallen@hda ~]$ sudo dnf list rsync
[sudo] password for sallen:
Last metadata expiration check: 2:54:30 ago on Sun 14 Apr 2019 09:50:52 AM EDT.
Installed Packages
rsync.x86_64 3.1.3-2.fc27 @updates

Thanks.

Scott

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 9:56 am
by bigfoot65
Nope, no days off from Amahi ๐Ÿ˜

Ok all seems fine if your first admin user is admin

Have you done OS updates?

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 10:40 am
by rm35583
Nothing like doing something we enjoy! Your commitment is exemplary. So thanks.

Yup, first admin user is Admin

No OS updates that I'm aware of. That said many are auto download / install

Scott

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 10:43 am
by bigfoot65
Try a reboot or restart the service:

Code: Select all

sudo systemctl restart amahi-sync

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 10:56 am
by rm35583
Hi Bigfoot,

Sorry, no Joy on the sync command restart and reboot. Have rebooted, HDA, Modem and client PC.

BTW, second user is my "own" account with admin privileges. Is this an issue?

Thoughts on the way forward?

Scott

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 11:03 am
by bigfoot65
Shouldn't be an issue with having multiple admin users.

Not sure why it's not working.

May need to submit a bug report to resolve this one.

Re: I've Broken Amahi-Sync

Posted: Sun Apr 14, 2019 11:31 am
by rm35583
Will submit a bug report...thanks again for your time Bigfoot.

S

Re: I've Broken Amahi-Sync

Posted: Tue Apr 16, 2019 6:49 am
by rm35583
Good morning,

Have yet to post bug report. I tinkered over the week-end in hopes of resolving the issue including doing a clean install....leaving the Public folder and its share path per default values, still no Public sync folder via Control Panel. This despite me being able to Cd to folder and LS contents.

So i guess it is time to post a Bug Report. I have tried to login using Control Panel credentials (ie my email address and PW that I use for Control Panel) and i get an login error. Please let me know what I am doing wrong. Thanks.

Scott