Have you tried the actual folder path (srv/dev-disk-by-label-something/) instead of /sharedfolders/ ?
Yeah, I tried that as well.
Have you tried the actual folder path (srv/dev-disk-by-label-something/) instead of /sharedfolders/ ?
Yeah, I tried that as well.
If there's a way to wipe ACL settings let me know because I don't recall ever setting them up and always use SSH for setting perms.
Use the resetperms Plugin. That also resets ACLs.
Greetings
David
Hi,
I’m curious whatservices are you guys use Apache for ?
I’m curious whatservices are you guys use Apache for ?
Do you ask why use Apache2 rather than nginx?
Greetings
David
Use the resetperms Plugin. That also resets ACLs.
Greetings
David
will this reset anything beyond ACLs? I have a bunch of chmod foldes and setup with my internal server for things like calibreweb, emby, kodi, etc. Don't want to destroy all the work I've put in to this thing.
Also, I created a new directory on the root of all 3 HDD and created a docker with this built image and set the /var/www/html to a fresh public folder and all 3 failed the exact same way. All 3 have something public viewing web interface already and work fine, it's just apache docker that seems to be failing non-stop.
Can you think of reason why it would fail on all 3 the same way? I created new folders, named public, via cli: chmod 777; chown hakarune:users; chmod a+x. And the error is the same for all. I even checked ACL/perms via the gui and they were greyed/blank for all but the normal default ngnix one that you suggested I wipe of ACL.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
[Thu Aug 13 01:52:26.478670 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.21 configured -- resuming normal operations
[Thu Aug 13 01:52:26.478815 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Thu Aug 13 01:52:40.626552 2020] [core:error] [pid 16] (13)Permission denied: [client 10.1.1.2:4371] AH00035: access to / denied (filesystem path '/var') because search permissions are missing on a component of the path
10.1.1.2 - - [13/Aug/2020:01:52:40 -0700] "GET / HTTP/1.1" 403 493 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
10.1.1.2 - - [13/Aug/2020:01:52:40 -0700] "GET /favicon.ico HTTP/1.1" 403 492 "http://10.1.1.10:7080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
[Thu Aug 13 01:52:41.026613 2020] [core:error] [pid 16] (13)Permission denied: [client 10.1.1.2:4371] AH00035: access to /favicon.ico denied (filesystem path '/var') because search permissions are missing on a component of the path, referer: http://10.1.1.10:7080/
[Thu Aug 13 01:52:41.602089 2020] [core:error] [pid 16] (13)Permission denied: [client 10.1.1.2:4371] AH00035: access to / denied (filesystem path '/var') because search permissions are missing on a component of the path
10.1.1.2 - - [13/Aug/2020:01:52:41 -0700] "GET / HTTP/1.1" 403 492 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
Hi,
I’m curious what services are you guys use Apache for ?
? I'm trying to use it for specific software, in this instance Sentrifugo, which does not work well with Ngnix and the hacks for it require a newer PHP on Ngnix to use, but it is still a bit of a hack job workaround that isn't clean or smooth. There are also some other web software and programing code that doesn't work well with Ngnix but work with no issue on apache.
will this reset anything beyond ACLs? I have a bunch of chmod foldes and setup with my internal server for things like calibreweb, emby, kodi, etc. Don't want to destroy all the work I've put in to this thing.
It will reset ACLs and set the folder permissions (both recursively) the way you select it in the GUI: https://github.com/OpenMediaVa…r/usr/sbin/omv-resetperms
Can you think of reason why it would fail on all 3 the same way? I created new folders, named public, via cli: chmod 777; chown hakarune:users; chmod a+x. And the error is the same for all. I even checked ACL/perms via the gui and they were greyed/blank for all but the normal default ngnix one that you suggested I wipe of ACL.
Can you post a stat /folderpath command of the path in question?
Greetings
David
Display MoreIt will reset ACLs and set the folder permissions (both recursively) the way you select it in the GUI: https://github.com/OpenMediaVa…r/usr/sbin/omv-resetperms
Can you post a stat /folderpath command of the path in question?
Greetings
David
Okay, installing it now.
Here are the 3 folders I'm testing with the docker on 3 separate drives (an external raid 2x2.5" HDDs, External Drive - 3.5" HDD, external m.2 SSD)
root@omvnas:/srv/dev-disk-by-label-extended/web/apache/www# stat html/
File: html/
Size: 43 Blocks: 0 IO Block: 4096 directory
Device: 801h/2049d Inode: 51216076 Links: 2
Access: (2777/drwxrwsrwx) Uid: ( 1000/hakarune) Gid: ( 100/ users)
Access: 2020-08-18 23:39:59.333785209 -0700
Modify: 2020-08-18 23:39:11.664686720 -0700
Change: 2020-08-18 23:39:59.309784655 -0700
Birth: -
root@omvnas:/srv/dev-disk-by-label-External/apache/www# stat html
File: html
Size: 31 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 4472780167 Links: 2
Access: (2777/drwxrwsrwx) Uid: ( 33/www-data) Gid: ( 100/ users)
Access: 2020-08-18 04:51:14.463048068 -0700
Modify: 2020-08-13 02:43:03.343514542 -0700
Change: 2020-08-13 02:45:03.770344591 -0700
Birth: -
root@omvnas:/srv/dev-disk-by-label-Raid/Programs/apache# stat public/
File: public/
Size: 0 Blocks: 0 IO Block: 4096 directory
Device: 822h/2082d Inode: 1105453 Links: 1
Access: (0755/drwxr-xr-x) Uid: ( 1000/hakarune) Gid: ( 100/ users)
Access: 2020-08-13 01:44:01.813786700 -0700
Modify: 2020-08-09 00:18:58.046778900 -0700
Change: 2020-08-13 01:44:01.217174800 -0700
Birth: -
I've also attached 3 images of how the docker is setup in the GUI (it's the default from the build in this forum).
Everything in the config looks just fine to me. About your deleted post: You can set it to 775, via the Plugin, too. (Group Read/write)
A bit out of ideas without trying it locally.
Greetings
David
Display MoreEverything in the config looks just fine to me. About your deleted post: You can set it to 775, via the Plugin, too. (Group Read/write)
A bit out of ideas without trying it locally.
Greetings
David
Yeah, I have no idea what's going on and everything is set to 777 on the folders even and still nothing. That's why I can only assume it's a docker omv issue. I'm giving up on trying to use OMV and going to just convert my pi zero W to a LAMP server for testing PHP.
As for the deleted, it wasn't working through the GUI either and took a bit, but eventually fixed it (though I posted after trying for a while unsuccessfully) then found a way and deleted the post.
Don’t have an account yet? Register yourself now and be a part of our community!