Page 1 of 2
SOLVED: Greyhole with local apps
Posted: Sun Aug 10, 2014 10:05 am
by Mourdsoe
Heyo, just wondering if my setup is violating the warning in the Greyhole WIKI where it states:
You should NEVER change or delete files in the shared directories (/var/hda/files/* by default...
I have transmission downloading to a share: /var/hda/files/torrents
I then use my windows desktop (Was using pydio, but thought it was causing problems, so I just use windows explorer) to transfer the completed files to the proper shares (tv/music/movies)
Every now and then Ill get a bunch of files that I have previously deleted in the /var/hda/files/torrents share, that reappear (The reason I stopped using Pydio, which still happens with the windows method)
Am I doing something wrong? Is it ok to navigate to /var/hda/files/torrents using pydio or windows explorer and delete files from there?
Thanks in advance
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 10:12 am
by bigfoot65
This warning applies to actual manipulating files on the HDA itself via command line or using an app that does not go through Samba.
To alleviate that issue, you can install the mount_shares_locally service.
http://prj.pk.sl.pt
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 10:30 am
by Mourdsoe
Thanks for the quick reply as usual.
So obviously from my windows machine, Im using Samba, but does Pydio use Samba?
Any idea why the files keep reappearing?
Thanks again
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 10:51 am
by bigfoot65
Pydio does not use Samba unless you tell it to. I would recommend implementing the mount_shares_locally script and then only access files in /mnt/samba/sharename with that app.
For Windows, you can obviously continue how you access them now.
That is the only reason I can see for files reappearing.
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 11:01 am
by Mourdsoe
Thanks!
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 11:04 am
by bigfoot65
No problem. Please let us know if this issue persists.
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 2:04 pm
by Mourdsoe
Tried a bit but couldnt get the mount local script to run. Will try again later. If I ever do get it running, would I download my torrents there from Transmission?
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 2:33 pm
by bigfoot65
You can still download torrents to the normal share. If however you need to move them using anything other than a client, like Windows, you would move them from /mnt/samba/torrents.
That uses the same folder /var/hda/files/torrents, but ensure s Greyhole knows it's being moved.
What problem are you having with the script? It's pretty simple to install, so might be able to help.
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 3:00 pm
by Mourdsoe
I must be entering credentials wrong or something, the error log states:
Mounting Samba shares locally: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Ive tried entering the first admin as well as the root user/pass credentials, no dice. Ive also tried changing the domain to my home domain specified in my amahi control pane
Let me know if you have anything, thanks again
Re: Greyhole with local apps
Posted: Sun Aug 10, 2014 3:04 pm
by bigfoot65
Per the wiki, the .smb_credentials must include your 1stadminuser for user name and the associated password.
The Domain is the one you set in your HDA Profile on amahi.org.
This file should be in the /home/1stadminuser home directory.
You also need to edit the /etc/init.d/mount_shares_locally script to add your 1stadminuser there as well.
This is all in the wiki guidance. Did you complete all these tasks?