-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flooded logs: sem_get(): Failed for key 0x7ea: Permission denied at /var/www/html/nextcloud/lib/private/Preview/Generator.php#272
#44578
Comments
+1 |
This isn't coming from the This is a Nextcloud Server matter, but I have no idea offhand why you'd be getting permission denied from Are you still seeing this? If so, please share the output of I'll also go ahead and move this over to the appropriate repository. |
sem_get(): Failed for key 0x7ea: Permission denied at /var/www/html/nextcloud/lib/private/Preview/Generator.php#272
This comment was marked as outdated.
This comment was marked as outdated.
Problem is still present −>
|
Same problem |
Best guess:
|
I have the same problem running nextcloud 28.0.5 on FreeBSD 13.3 |
I found a SELinux AVC in the system logs. This problem appeared with the update from NC 28.0.4.1 to 29.0.0.19. For information, the OS is Fedora Linux. I'll report this bug to https://bugzilla.redhat.com/ .
|
In a FreeBSD jail, you have to set |
To be sure, I checked that I had applied all the first recommendations from https://docs.nextcloud.com/server/latest/admin_manual/installation/selinux_configuration.html and it was all good. I just redid I'll keep checking to see if it appears again. |
Thank you! It seems that the error is no longer present after activating |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Just migrated a Nextcloud setup from an old server to a fresh new system and also updated to 29.0.3 (was 28.0.6) in the same move. On this new server we now have the described issue (nextcloud.log: sem_get(): Failed for key 0xa11: Permission denied / audit.log: avc: denied { unix_read unix_write } for pid=65042 comm="php-fpm" ipc_key=2577 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=sem permissive=0) Running @Nicosss did you get to open the bug report with RedHat? Searching bugzilla and the web didn't yield suitable results so far. |
@Sebastian-Roth in my limited testing, this occurs since both Unfortunately, this leaves us with the following:
|
Additional breadcrumbs for FreeBSD users: https://help.nextcloud.com/t/failed-to-install-update-apps/162650/3 |
@Sebastian-Roth sorry for my late reply. You can find the RedHat bug report here https://bugzilla.redhat.com/show_bug.cgi?id=2278715 . You must be pointing to your Nextcloud installation path. |
Same issue for me on Nextcloud 29.0.4 and AlmaLinux 9.4 with SELinux. |
Same here, even with FreeBSD 14.2-RELEASE |
I'm getting the below error even after removing preview generator
sem_get(): Failed for key 0x7ea: Permission denied at /var/www/html/nextcloud/lib/private/Preview/Generator.php#272
The text was updated successfully, but these errors were encountered: