Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: media share set to webroot after 4.2.19 upgrade
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-23
01:28 AM
2011-09-23
01:28 AM
Re: media share set to webroot after 4.2.19 upgrade
can you try http://www.readynas.com/contributed/sup ... 4.5.04.bin
It should prevent 4.2.19 to try to create a share in a dirty way
It should prevent 4.2.19 to try to create a share in a dirty way
Message 26 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-23
10:38 PM
2011-09-23
10:38 PM
Re: media share set to webroot after 4.2.19 upgrade
Hmm, will it reset the dirty code? :shock:
What are the prerequisitions? Rename share? Uninstall previous instances of Subsonic?
Please tell us more...
Cheers /Horpe
What are the prerequisitions? Rename share? Uninstall previous instances of Subsonic?
Please tell us more...
Cheers /Horpe
Message 27 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-23
11:23 PM
2011-09-23
11:23 PM
media share set to webroot after 4.2.19 upgrade
It will add a webroot share declaration in samba config file
Message 28 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-23
11:23 PM
2011-09-23
11:23 PM
media share set to webroot after 4.2.19 upgrade
You can upgrade
Message 29 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-24
06:55 AM
2011-09-24
06:55 AM
Re: media share set to webroot after 4.2.19 upgrade
How about other of your plugins? I did not have Subsonic installed, but I did have Transmission installed, which had a folder in webroot.
Message 30 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-24
02:18 PM
2011-09-24
02:18 PM
Re: media share set to webroot after 4.2.19 upgrade
Yep, I too do not have subsonic installed, yet I have your Transmission and the istat addon...
I'd like to go back to the latest frontview, rather than the older 4.2.17 which is what I am using to not get this issue.
I'd like to go back to the latest frontview, rather than the older 4.2.17 which is what I am using to not get this issue.
Message 31 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-25
10:41 AM
2011-09-25
10:41 AM
Re: media share set to webroot after 4.2.19 upgrade
I have the same problem after installing transmission add-on.
Problem - media share is c/webroot, but not c/media
Reason - file /etc/frontview/samba/Shares.conf was changed:
If I change Shares.conf and Shares.conf-sav to orignal and I stop and restart samba, the problem resolved. But after rebooting NAS the problem exists and the configuration files are modified. It is look like this configuration files are saved and they are restored on boot. Do somebody know how to resolve the problem?
I think it is some problem in add-in installation mechanism.
Problem - media share is c/webroot, but not c/media
Reason - file /etc/frontview/samba/Shares.conf was changed:
#diff Shares.conf old/Shares.conf.old
14c14
< path = /c/webroot
---
> path = /c/media
19,20c19,20
< force directory mode = 0777
< directory mask = 0777
---
> force directory mode = 1777
> directory mask = 1777
If I change Shares.conf and Shares.conf-sav to orignal and I stop and restart samba, the problem resolved. But after rebooting NAS the problem exists and the configuration files are modified. It is look like this configuration files are saved and they are restored on boot. Do somebody know how to resolve the problem?
I think it is some problem in add-in installation mechanism.
Message 32 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-25
04:52 PM
2011-09-25
04:52 PM
Re: media share set to webroot after 4.2.19 upgrade
I updated Subsonic (and Transmission) and tried a reboot. The trouble came back. I checked Shares.conf in /etc/frontview/samba and found the media share was pointing to /c/webroot.
Super-poussin mentioned that the update would add a webroot share declaration in the samba config file. My Shares.conf only had backup and media shares, but I liked where super-poussin was going.
I copied and pasted the media share stanza in Shares.conf, then modified it into a webroot share (probably easier with the GUI), did a reboot, and everything was fine.
So it would seem as long as you have a webroot share, your media share is safe.
Jim
Super-poussin mentioned that the update would add a webroot share declaration in the samba config file. My Shares.conf only had backup and media shares, but I liked where super-poussin was going.
I copied and pasted the media share stanza in Shares.conf, then modified it into a webroot share (probably easier with the GUI), did a reboot, and everything was fine.
So it would seem as long as you have a webroot share, your media share is safe.
Jim
Message 33 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-25
10:13 PM
2011-09-25
10:13 PM
media share set to webroot after 4.2.19 upgrade
Can you take a look in addons subdirectory (in samba dir) and see if there's a webroot.conf ?
Message 34 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-25
11:13 PM
2011-09-25
11:13 PM
Re: media share set to webroot after 4.2.19 upgrade
jj89 wrote: I updated Subsonic (and Transmission) and tried a reboot. The trouble came back. I checked Shares.conf in /etc/frontview/samba and found the media share was pointing to /c/webroot.
Super-poussin mentioned that the update would add a webroot share declaration in the samba config file. My Shares.conf only had backup and media shares, but I liked where super-poussin was going.
I copied and pasted the media share stanza in Shares.conf, then modified it into a webroot share (probably easier with the GUI), did a reboot, and everything was fine.
So it would seem as long as you have a webroot share, your media share is safe.
Jim
the addon add it in samba/addons but I discover that the main problem on 4.2.19 is that samba no more read files in addons subdir 😞
Message 35 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-25
11:59 PM
2011-09-25
11:59 PM
Re: media share set to webroot after 4.2.19 upgrade
super-poussin wrote: Can you take a look in addons subdirectory (in samba dir) and see if there's a webroot.conf ?
There are some files in /etc/frontview/samba/addons with configurations data for webroot and addons-config (all name may be incorrect as I have not connect to my NAS now). There is not any problem with webroot and addons-config share. The problem is with media share.
I think you can easy repeat problem:
1) Do factory default
2) Reboot
3) copy some files to media share.
3) install transmission add-in
4) reboot
5) see on media share.
Message 36 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
12:27 AM
2011-09-26
12:27 AM
Re: media share set to webroot after 4.2.19 upgrade
I can not reset my units to factory or You will not have addons for a long time 😛
I will try to create a ddon which write everything in Shares.conf instead of using sub directory, but I clearly hope regression introduced in 4.2.19 will be solved quickly by jedi
I will try to create a ddon which write everything in Shares.conf instead of using sub directory, but I clearly hope regression introduced in 4.2.19 will be solved quickly by jedi
Message 37 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
12:36 AM
2011-09-26
12:36 AM
Re: media share set to webroot after 4.2.19 upgrade
SergV wrote: I have the same problem after installing transmission add-on.
Problem - media share is c/webroot, but not c/media
Reason - file /etc/frontview/samba/Shares.conf was changed:
#diff Shares.conf old/Shares.conf.old
14c14
< path = /c/webroot
---
> path = /c/media
19,20c19,20
< force directory mode = 0777
< directory mask = 0777
---
> force directory mode = 1777
> directory mask = 1777
If I change Shares.conf and Shares.conf-sav to orignal and I stop and restart samba, the problem resolved. But after rebooting NAS the problem exists and the configuration files are modified. It is look like this configuration files are saved and they are restored on boot. Do somebody know how to resolve the problem?
I think it is some problem in add-in installation mechanism.
It's not an addons problem it's a 4.2.19 regression 😛
Message 39 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
02:03 AM
2011-09-26
02:03 AM
Re: media share set to webroot after 4.2.19 upgrade
super-poussin wrote:
It's not an addons problem it's a 4.2.19 regression 😛
Can you explain, what do you mean?
Message 40 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
02:18 AM
2011-09-26
02:18 AM
Re: media share set to webroot after 4.2.19 upgrade
simple :
Samba is configured to read Shares.conf but also /etc/frontview/samba/addons/addons.conf
extract of /etc/samba/smb.conf
All the addons are using /etc/frontview/samba/addons/addons.conf so the Shares.conf only contains default shares and shares created by frontview
example :
/etc/samba/addons/addons.conf
and /etc/samba/addons/addons-config.conf
sonds like samba in 4.2.19 is not reading the addons.conf and do bad things at boot
by default the nas at boot take a look in /c/ and if a directory is not declared as share it add it in Shares.conf but with 4.2.19 it does silly things
Samba is configured to read Shares.conf but also /etc/frontview/samba/addons/addons.conf
extract of /etc/samba/smb.conf
include = /etc/frontview/samba/smb.conf.%a
include = /etc/frontview/samba/Shares.conf
include = /etc/frontview/samba/Shares.conf.%U
include = /etc/frontview/samba/addons/addons.conf
All the addons are using /etc/frontview/samba/addons/addons.conf so the Shares.conf only contains default shares and shares created by frontview
example :
/etc/samba/addons/addons.conf
include = /etc/frontview/samba/addons/addons-config.conf
and /etc/samba/addons/addons-config.conf
[addons-config]
path = /c/addons-config
oplocks = 1
force create mode = 0666
create mask = 0666
force security mode = 0666
force directory mode = 0777
directory mask = 0777
force directory security mode = 0777
admin users = "admin","Administrator"
writeable = 1
guest ok = 1
vfs objects = recycle
recycle:versions = 1
recycle:repository = Recycle Bin
recycle:subdir_mode = 777
recycle:keeptree = 1
recycle:directory_mode = 777
sonds like samba in 4.2.19 is not reading the addons.conf and do bad things at boot
by default the nas at boot take a look in /c/ and if a directory is not declared as share it add it in Shares.conf but with 4.2.19 it does silly things
Message 41 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
02:21 AM
2011-09-26
02:21 AM
Re: media share set to webroot after 4.2.19 upgrade
So, ideas on a fix or do we have to wait till 4.2.20 (or 4.2.21) is out for them to acknowledge the fault and fix it in later firmware patches, or will it be fixed by a third-party mod?
Message 42 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
02:30 AM
2011-09-26
02:30 AM
Re: media share set to webroot after 4.2.19 upgrade
No real fix possible on my side regarding samba, the only thing I cand do is what Missin addon is doing :
recrete share in Shares.conf instead of addons/addons.conf
It's in my opinion a temporary fix , and if it's not solved in a new firmware I will be forced to rewrite all the addons 😞
recrete share in Shares.conf instead of addons/addons.conf
It's in my opinion a temporary fix , and if it's not solved in a new firmware I will be forced to rewrite all the addons 😞
Message 43 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
02:49 AM
2011-09-26
02:49 AM
Re: media share set to webroot after 4.2.19 upgrade
super-poussin wrote: simple :
Samba is configured to read Shares.conf but also /etc/frontview/samba/addons/addons.conf
......
sonds like samba in 4.2.19 is not reading the addons.conf and do bad things at boot
by default the nas at boot take a look in /c/ and if a directory is not declared as share it add it in Shares.conf but with 4.2.19 it does silly things
In my case:
1) Samba is reading the addons.conf. It is all OK with "webroot" and "addon-config" share
2) Error exists in Shares.conf. (line "path = /c/media" was changed to "path = /c/webroot" for [media] section)
3) I can fix Shares.conf, then restart samba daemon and all will be OK
4) Shares.conf is changed to error state during next reboot, so problem return.
It is look like copy of samba setting is archived somewhere. If samba setting was changed in conf files, but not throw Frontview, samba configuration restored to old value during next boot.
Message 44 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
03:00 AM
2011-09-26
03:00 AM
Re: media share set to webroot after 4.2.19 upgrade
SergV wrote:
super-poussin wrote: simple :
Samba is configured to read Shares.conf but also /etc/frontview/samba/addons/addons.conf
......
sonds like samba in 4.2.19 is not reading the addons.conf and do bad things at boot
by default the nas at boot take a look in /c/ and if a directory is not declared as share it add it in Shares.conf but with 4.2.19 it does silly things
In my case:
1) Samba is reading the addons.conf. It is all OK with "webroot" and "addon-config" share
2) Error exists in Shares.conf. (line "path = /c/media" was changed to "path = /c/webroot" for [media] section)
3) I can fix Shares.conf, then restart samba daemon and all will be OK
4) Shares.conf is changed to error state during next reboot, so problem return.
It is look like copy of samba setting is archived somewhere. If samba setting was changed in conf files, but not throw Frontview, samba configuration restored to old value during next boot.
will try to find where but I do not understand why if a webroto share is declared and a media share is correctly declared the nas do such things at boot, before it was only adding things in Sahres.conf if they are not declared
Message 45 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
03:07 AM
2011-09-26
03:07 AM
Re: media share set to webroot after 4.2.19 upgrade
a default config file is here : /etc/default/config/etc/frontview/samba/Shares.conf
but with correct default share : backup and media
at startup the nas is looking in :
/etc/frontview/samba/Shares.conf-sav
then try to restore missing shares
but with correct default share : backup and media
at startup the nas is looking in :
/etc/frontview/samba/Shares.conf-sav
then try to restore missing shares
Message 46 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
03:17 AM
2011-09-26
03:17 AM
Re: media share set to webroot after 4.2.19 upgrade
super-poussin wrote:
will try to find where but I do not understand why if a webroto share is declared and a media share is correctly declared the nas do such things at boot, before it was only adding things in Sahres.conf if they are not declared
Yes, I will try to find, but later.
There is 2 puzzle now:
1) where is "reference" samba setting. (I think I'll find it by using Frontview backup/restore of setting)
2) Who (and where) modify Shares.conf. It is quite possible that install of add-on do it.
Message 47 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
03:55 AM
2011-09-26
03:55 AM
Re: media share set to webroot after 4.2.19 upgrade
Shares.conf is modified by the readynas startup file
Message 48 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
04:01 AM
2011-09-26
04:01 AM
Re: media share set to webroot after 4.2.19 upgrade
super-poussin wrote: Shares.conf is modified by the readynas startup file
I write my question not qute clear. Fixed version:
2) Who (and where) modify Shares.conf in first time and change "/c/media" to "/c/webroot". There was not any "webroot" before installation of transsnission, so it is quite possible that install of add-on do it.
Message 49 of 79
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-09-26
05:03 AM
2011-09-26
05:03 AM
Re: media share set to webroot after 4.2.19 upgrade
I take a look onf startup file in 4.2.19 and 4.2.18 regarding samba shares
they are different but both produce good code on startup and correctly add missing shares in Shares.conf
they are different but both produce good code on startup and correctly add missing shares in Shares.conf
Message 50 of 79