./x2t: error while loading shared libraries: libgraphics.so: SELINUX issue
I'm having an issue with SELinux.
I get the following error: ./x2t: error while loading shared libraries: libgraphics.so
I've checked the permissions and it's set like this:
-rw-r--r--. apache apache system_u:object_r:httpd_sys_rw_content_t:s0 libgraphics.so
If I disable SELinux, everything works fine and the rest of Nextcloud works well, too. I don't see what's wrong. Any suggestions?
I have the same problem! First I thought, it might be #195 but that's not the case ... Setting selinux to permissive temporarily, makes the document server working again!
Solution:
Try to set this one:
semanage fcontext -a -t httpd_sys_rw_content_t "/path_to_nextcloud/apps(/.*)?"
See also: https://help.nextcloud.com/t/centos-selinux-documentserver-onlyoffice/70173
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!
Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.