media share set to webroot after 4.2.19 upgrade

Please post questions and issues pertaining to share access and file permission here.

media share set to webroot after 4.2.19 upgrade

Postby jj89 » Sun Sep 18, 2011 10:15 am

Hello,

I have a ReadyNAS Ultra 4 Plus and I just upgraded to RAIDiator 4.2.19.
Now my media share is the same as the webroot share.

I was going to delete and re-add the media share but a dialog box gave
the following warning:

Deleting the selected share(s) will destroy all data the share(s). Are you
sure you want to delete the share(s)?

It sounds like it will delete all the files in the share and I didn't want to do that.

I looked in /etc/frontview/samba and found Shares.conf and Shares.conf-sav
with what appears to be incorrect data (the files are identical)

[backup]
path = /c/backup
comment = "Backup Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force directory mode = 0777
directory mask = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1

[media]
path = /c/webroot <------------------------????????
comment = "Media Server Share"
oplocks = 1
force create mode = 0666
create mask = 0666
force directory mode = 0777
directory mask = 0777
admin users = "admin","Administrator"
available = 0
valid users = "admin","Administrator","nobody"
write list = "admin","Administrator"

I changed the media path in both files from "/c/webroot/" to "/c/media" and
then did a "/etc/init.d/samba restart"

At this point everything was back to mormal, I could see all my media files
in "/c/media" through the media share.

I wanted to make sure my fix would survive a reboot, so I rebooted the NAS.
The trouble came back, Shares.conf and Shares.conf-sav returned to their
incorrect data fill.

Does anyone know the proper way to fix this trouble?

In case it's is relevant, I have the following add-ons installed:
PHP. PHP+Mysql Support
Subsonic. Media Stream Server
Transmission. P2P Client
WordPress. Blog Software

Thanks

Jim
jj89
ReadyNAS Newbie
 
Posts: 3
Joined: Mon Jul 12, 2010 6:34 pm
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby Horpe » Sun Sep 18, 2011 10:38 am

Hmm,
Subsonic installed and 4.2.19......

These two threads might be of interest...

http://www.readynas.com/forum/viewtopic.php?f=23&t=56886
http://www.readynas.com/forum/viewtopic.php?f=23&t=57083


Cheers!
/Horpe
Horpe
ReadyNAS Newbie
 
Posts: 8
Joined: Fri Aug 26, 2011 11:48 am

Re: media share set to webroot after 4.2.19 upgrade

Postby jj89 » Sun Sep 18, 2011 4:04 pm

Thanks for the quick response Horpe. It looks like it may the the first reboot since Subsonic rather than the 4.2.19 upgrade ... perhaps both. I will keep poking around to see what I can find ... but it took both brain cells to get this far, so I may be at my limit. :?

Jim
jj89
ReadyNAS Newbie
 
Posts: 3
Joined: Mon Jul 12, 2010 6:34 pm
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby undave » Mon Sep 19, 2011 5:06 am

I can confirm I have the same issue after the 4.2.19 update.

I haven't tried to change the content of those files, but I was about to, before I found this thread.

Only have two plugins installed, PHP5 and NAS Monitor.

Not really sure where to go from here. Think I'll make a new share, and move the whole share into that. No other ideas how to fix it?
undave
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Sep 19, 2011 4:53 am
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby Horpe » Mon Sep 19, 2011 5:25 am

Only have two plugins installed, PHP5 and NAS Monitor.


Oh, that's interesteing, :o You have the problem without Subsonic installed!? That means it's not nescessary Subsonic that is the problem. Maybe time to revert to 4.2.18 and see what happens? Is that doable, u think?

BTW, undave: Which one folder(s) can you see in your share?

Cheers!
/Horpe
Horpe
ReadyNAS Newbie
 
Posts: 8
Joined: Fri Aug 26, 2011 11:48 am

Re: media share set to webroot after 4.2.19 upgrade

Postby undave » Mon Sep 19, 2011 6:01 am

I can see the contents of webroot in my media share. It's just a single folder.

loadavg

same as Jim
undave
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Sep 19, 2011 4:53 am
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby undave » Mon Sep 19, 2011 6:26 am

the purpose of my NAS is for hosting media, all of which I have in the media share.

at the moment i'm unable to access any of my files. any ideas on a quick resolution to this? It's pretty frustrating.
undave
ReadyNAS Newbie
 
Posts: 6
Joined: Mon Sep 19, 2011 4:53 am
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby slacker » Mon Sep 19, 2011 4:21 pm

Thread number 3 for me. I have the same issue. I have AirVideo and Crashplan installed. I can rename the media share and all of my files show up. Rename it back and they disappear again.
ReadyNAS Pro4 and NV+
User avatar
slacker
ReadyNAS Newbie
 
Posts: 13
Joined: Tue Jan 04, 2011 5:58 pm
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby slacker » Mon Sep 19, 2011 4:37 pm

I just downgraded to 4.2.17 and my media share is working as expected now. However, I have a new webroot share which I can't delete or my add-ons will stop working....

The problem is definitely in the 4.2.19 update.
ReadyNAS Pro4 and NV+
User avatar
slacker
ReadyNAS Newbie
 
Posts: 13
Joined: Tue Jan 04, 2011 5:58 pm
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby ewok » Mon Sep 19, 2011 5:26 pm

It seems to be caused by the Subsonic addon. I installed it on a NAS running 4.2.19-T5 (it's what I had on hand), rebooted, and at least the CIFS and HTTP service config files were rewritten with the media share pointed to webroot.
User avatar
ewok
Jedi Council
 
Posts: 9455
Joined: Tue Mar 08, 2005 3:58 pm
Location: Fremont, CA
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby slacker » Mon Sep 19, 2011 7:03 pm

ewok wrote:It seems to be caused by the Subsonic addon. I installed it on a NAS running 4.2.19-T5 (it's what I had on hand), rebooted, and at least the CIFS and HTTP service config files were rewritten with the media share pointed to webroot.


I don't have Subsonic. Never did.
ReadyNAS Pro4 and NV+
User avatar
slacker
ReadyNAS Newbie
 
Posts: 13
Joined: Tue Jan 04, 2011 5:58 pm
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby sphardy » Tue Sep 20, 2011 2:29 am

ewok wrote:It seems to be caused by the Subsonic addon. I installed it on a NAS running 4.2.19-T5 (it's what I had on hand), rebooted, and at least the CIFS and HTTP service config files were rewritten with the media share pointed to webroot.

Note that the subsonic addon was last updated in March 2011, and that this issue has only been reported since the release of 4.2.19.

While the issue is clearly related to the addons system (/c/webroot is created and used by many of Super-Poussin's addons) the root cause appears to be some incompatibility introduced in 4.2.19 related to addon installation ( FYI I also have subsonic installed - after upgrading to 4.2.19 my setup continues to be correct)

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: media share set to webroot after 4.2.19 upgrade

Postby Singularity » Tue Sep 20, 2011 4:47 am

I have 4.2.19 on a Pro and host several sites and everything was working fine.

I then installed MyBB as an Add-On and had loads of problems in that the files in my website folder were inaccessible. The installation of MyBB rested a webroot folder and thats when my problems began. I removed MyBB from my system but the problems still remained. I have been trying to sort this problem out for about a day and its so frustrating. I think at the moment I will steer clear of certain Add-Ons.

NAS: Readynas Pro 6 - 3x2TB [ST32000542AS], ReadyNas Duo - 2x1TB [ST31000528AS]
Network: Airport Extreme [Gigabit Ethernet / Wireless], Western Digital 2TB, Virgin Media Super Hub [30Mbps]
Hardware: 24" iMac, 13" MacBook, 11" MacBook Air, 2 x Apple TV2's, iPad 1, iPhone 3G
Clients: OSX 10.7.2, IOS 5.0/4.3, Plex 9.3.4
Music: 1 x Logitech SqueezeBox Classic, 2 x Logitech SqueezeBox Boom's, M-Audio Oxygen 88, Apogee Duet 2
Software: Adobe CS4, Aperture 3.2, Guitar Pro 6, Logic Pro 9, Vectorworks 2009
Singularity
Advanced ReadyNAS User
 
Posts: 146
Joined: Fri Aug 12, 2011 10:31 am
Location: Swansea, UK
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby slacker » Tue Sep 20, 2011 5:21 am

Singularity wrote:I have 4.2.19 on a Pro and host several sites and everything was working fine.

I then installed MyBB as an Add-On and had loads of problems in that the files in my website folder were inaccessible. The installation of MyBB rested a webroot folder and thats when my problems began. I removed MyBB from my system but the problems still remained. I have been trying to sort this problem out for about a day and its so frustrating. I think at the moment I will steer clear of certain Add-Ons.


Can you downgrade to 4.2.17 and see if your shares return as expected?
ReadyNAS Pro4 and NV+
User avatar
slacker
ReadyNAS Newbie
 
Posts: 13
Joined: Tue Jan 04, 2011 5:58 pm
ReadyNAS: Pro

Re: media share set to webroot after 4.2.19 upgrade

Postby Singularity » Tue Sep 20, 2011 5:26 am

I don't really want to downgrade.

I'm quite happy with 4.2.19, my problem began when I installed MyBB.

I have a folder called 'websites' which although I deleted its share the folder remains. Its not really causing a problem - just a bit of house keeping really.

Thanks

NAS: Readynas Pro 6 - 3x2TB [ST32000542AS], ReadyNas Duo - 2x1TB [ST31000528AS]
Network: Airport Extreme [Gigabit Ethernet / Wireless], Western Digital 2TB, Virgin Media Super Hub [30Mbps]
Hardware: 24" iMac, 13" MacBook, 11" MacBook Air, 2 x Apple TV2's, iPad 1, iPhone 3G
Clients: OSX 10.7.2, IOS 5.0/4.3, Plex 9.3.4
Music: 1 x Logitech SqueezeBox Classic, 2 x Logitech SqueezeBox Boom's, M-Audio Oxygen 88, Apogee Duet 2
Software: Adobe CS4, Aperture 3.2, Guitar Pro 6, Logic Pro 9, Vectorworks 2009
Singularity
Advanced ReadyNAS User
 
Posts: 146
Joined: Fri Aug 12, 2011 10:31 am
Location: Swansea, UK
ReadyNAS: Pro

Next

Return to Share Access and File Permission



Who is online

Users browsing this forum: No registered users and 5 guests