SOLVED:Can't see files on shares after upgrading to Amahi 7.

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

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby bigfoot65 » Wed Nov 27, 2013 9:18 pm

The first user you created during Amahi install.

Code: Select all

chown -R amahiuser:users /var/hda/files/share
[ Post made via Android ] Image
ßîgƒσστ65
Applications Manager

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

mfs34
Posts: 17
Joined: Thu Aug 02, 2012 10:27 am

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby mfs34 » Wed Nov 27, 2013 9:26 pm

after following the instructions for manual greyhole installation I think this could have messed things up (?). Is this vfs objects usage really necessary? I also think that some special character get messed up when this is added via the GUI Web interface:

[Games]
comment = Games
path = /var/hda/files/games
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
?dfree command = /usr/bin/greyhole-dfree^M
^M
vfs objects = greyhole?

mfs34
Posts: 17
Joined: Thu Aug 02, 2012 10:27 am

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby mfs34 » Wed Nov 27, 2013 9:33 pm

Thanks for the quick response bigfoot65. I looked in my /etc/groups file and yea the first user i created when setting up amahi is 'mfs34' in the users group. After recursively chown'ing the drives directory I'm still getting the same problems. I'll try again with the group users this time like this:

Code: Select all

chown -R mfs34:users /var/hda/files/
I'm still thinking that this has something to do with that vfs objects showing in my config. I'm noticing that Pats does not have this information in his config file :/

mfs34
Posts: 17
Joined: Thu Aug 02, 2012 10:27 am

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby mfs34 » Wed Nov 27, 2013 9:37 pm

Just confirmed that deleting the offending lines there solved my problem!

an exmaple of my share config Before:

root@localhost:/etc/samba#cat smb.conf

......
......

Code: Select all

[Games] comment = Games path = /var/hda/files/games writeable = yes browseable = yes create mask = 0775 force create mode = 0664 directory mask = 0775 force directory mode = 0775 ?dfree command = /usr/bin/greyhole-dfree^M ^M vfs objects = greyhole?

......

After (fixed and showing up in windows mapped network drives again):

[Games]
comment = Games
path = /var/hda/files/games
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775

......

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

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby bigfoot65 » Wed Nov 27, 2013 9:55 pm

The lines with the ? and ^M are needed. Remove the ? and ^M as those should not be there.

They are the result of you doing copy and paste from the wiki most likely.

[ Post made via Android ] Image
ßîgƒσστ65
Applications Manager

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

PatrickDickey
Posts: 75
Joined: Thu Jan 19, 2012 6:52 am

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby PatrickDickey » Thu Nov 28, 2013 6:25 pm

The lines with the ? and ^M are needed. Remove the ? and ^M as those should not be there.

They are the result of you doing copy and paste from the wiki most likely.

[ Post made via Android ] Image
Yep. That's something I've noticed in the past. Whatever CRM the wiki is set up on has serious formatting issues inside of code boxes. They should be pure text, so you can copy and paste them in. Since I'm guessing it would be impossible (or at least more hassle than worth) to change the code boxes to pure text, could we put some type of warning up on the wiki about needing to copy and paste the code into a text editor and remove the formatting, prior to pasting it into your editor/terminal?

Have a great day.:)
Patrick.

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

Re: SOLVED:Can't see files on shares after upgrading to Amah

Postby bigfoot65 » Thu Nov 28, 2013 6:31 pm

It's some issue with the template. I am tempted to go back to the way we used to do it. May work that as I have time.
Was so much simpler.

[ Post made via Android ] Image
ßî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 21 guests