SOLVED: Greyhole with local apps

Mourdsoe
Posts: 13
Joined: Sun Apr 20, 2014 7:27 am

SOLVED: Greyhole with local apps

Postby Mourdsoe » Sun Aug 10, 2014 10:05 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole with local apps

Postby bigfoot65 » Sun Aug 10, 2014 10:12 am

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
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Mourdsoe
Posts: 13
Joined: Sun Apr 20, 2014 7:27 am

Re: Greyhole with local apps

Postby Mourdsoe » Sun Aug 10, 2014 10:30 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole with local apps

Postby bigfoot65 » Sun Aug 10, 2014 10:51 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Mourdsoe
Posts: 13
Joined: Sun Apr 20, 2014 7:27 am

Re: Greyhole with local apps

Postby Mourdsoe » Sun Aug 10, 2014 11:01 am

Thanks!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole with local apps

Postby bigfoot65 » Sun Aug 10, 2014 11:04 am

No problem. Please let us know if this issue persists.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Mourdsoe
Posts: 13
Joined: Sun Apr 20, 2014 7:27 am

Re: Greyhole with local apps

Postby Mourdsoe » Sun Aug 10, 2014 2:04 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole with local apps

Postby bigfoot65 » Sun Aug 10, 2014 2:33 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Mourdsoe
Posts: 13
Joined: Sun Apr 20, 2014 7:27 am

Re: Greyhole with local apps

Postby Mourdsoe » Sun Aug 10, 2014 3:00 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole with local apps

Postby bigfoot65 » Sun Aug 10, 2014 3:04 pm

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?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 19 guests