matt0013
-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by matt0013
-
-
1 hour ago, dlandon said:
I just now noticed the '+' sign next to the permissions. This means you have extended permissions on these folders. From what I understand this is additional to the Linux permissions. I am not enough of a Linux guru to understand what that means, but I suspect that is your issue. What did you do to set the extended permissions? Did you set some extended permissions with Windows? Maybe a Linux expert can chime in here.
I did set some permissions with WinSCP a long time ago; not related to Zoneminder though but it may have had an unintended consequence...
The issue is currently fixed. I did some things to remove extended permissions and I also updated the docker since I noticed the option was available. Not sure what exactly fixed it, the update or my removing of extended permissions.
-
3 minutes ago, dlandon said:
Go into the docker again and do this command:
ls -l /var/cache/zoneminder
Show the results. See if the owner was changed. The issue is with the ownership of the folder, not the permissions as I said earlier.
I think you have an issue with the permissions and/or ownership on your appdata share. Do you have any other dockers running? Any issues with them?
Looks like owner was changed.
I have HomeAssistant running with no issues. That's the only other active one running.
-
12 minutes ago, dlandon said:
If those are correct, go back into the docker using:
These were correct.
12 minutes ago, dlandon said:And execute this command:
chown -R root:www-data /var/cache/zoneminder
No luck with this. Still have the same errors in the log.
-
2 minutes ago, dlandon said:
Be sure you have set PUID = 99, and PGID = 100. It looks like you have them set wrong.
Not sure what this means exactly. How do I set these?
-
-
1 hour ago, dlandon said:
The /usr/share/zoneminder is inside the docker. It is not user configurable. There are some symlinks in that folder to the appdata folder. I suspect that your appdata folder has an issue and the symlinks won't work.
Go to a command line and enter this command:
ls -l /mnt/user/appdata/Zoneminder/
Show the output.
Thanks for helping me troubleshoot this. Here is what I received.
-
47 minutes ago, dlandon said:
Did you change any of the default settings? Is your docker.img full? Set the advanced switch to on and be sure to delete any orphaned docker images.
I didn't change any settings. My docker.img is not full and there are no orphaned docker images.
Should I have a directory /usr/share/zoneminder in mystem? If I am supposed to, I currently do not.
-
10 minutes ago, dlandon said:
Yes. They are correct. Delete the docker and the 'appdata/Zoneminder' folder and start over. The defaults should work just fine.
I deleted the docker and 'appdata/Zoneminder' folder and did another fresh installation. I'm getting the same errors in my log over and over.
web_php 8492 ERR Cannot write to content dirs('events','images'). Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159
web_php 8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145
-
5 minutes ago, dlandon said:
Use the default settings. Your path '/usr/share/appdata/zoneminder/www/' does not make sense and doesn't exist.
The default settings are:
Appdata Config Path: /mnt/user/cache/appdata/Zoneminder
Data path: /mnt/user/cache/appdata/Zoneminder/data
Use these settings. If you don't have a cache drive, user /mnt/user/appdata...
I haven't changed any settings. Those errors were generated from a default setting installation.
I looked at (didn't change) my zm.conf file and saw these paths which match the errors I'm receiving. Are these correct?
# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www -
I deleted my old docker and did a fresh installation. I am getting these errors in my log upon startup. Any ideas? Should this path be /usr/share/appdata/zoneminder/www/?
2017-05-28 10:04:24.812157 web_php 8492 ERR Cannot write to content dirs('events','images'). Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php 159
2017-05-28 10:00:22.938535 web_php 8490 ERR disk_total_space returned false. Verify the web account user has access to events /usr/share/zoneminder/www/includes/functions.php 145
-
On 4/29/2017 at 11:29 PM, unevent said:
Looks like issue with 5.1.20 extension pack. I see a brief question something like do I agree to these terms or whatever with a y/n? along the bottom of the GUI before a message saying install failed. Nothing in log to clue other than failed.
Apr 29 23:25:05 Tower rc.virtualbox[14283]: Installing Virtualbox Extension package (v5.1.20)... Apr 29 23:25:07 Tower rc.virtualbox[14354]: Installation of Virtualbox Extension package failed
Edit: Confirmed it is a license accept prompt preventing it from installing. If I run '/opt/VirtualBox/VBoxManage extpack install /boot/config/plugins/virtualbox/Oracle_VM_VirtualBox_Extension_Pack-5.1.20.vbox-extpack' and accept the license agreement it will install.
Thank you for this! Very helpful. I have to reinstall the extpack every time my server restarts. Any idea how to prevent that?
[support] dlandon - Zoneminder 1.36
in Docker Containers
Posted
Thank you for your help. Everything seems to be working great now.
I did some searching and ended up getting rid of the extended permissions using setfacl -Rb /mnt/user/appdata/zoneminder. That took away the '+' sign that you called my attention to. ACL: Using Access Control Lists on Linux