documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

./x2t: error while loading shared libraries: libgraphics.so: SELINUX issue

Open Disco1 opened this issue 4 years ago • 3 comments

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?

Disco1 avatar Jan 15 '21 06:01 Disco1

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!

BastianBalthasarBux avatar Jan 23 '21 13:01 BastianBalthasarBux

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

BastianBalthasarBux avatar Jan 23 '21 13:01 BastianBalthasarBux

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.

github-actions[bot] avatar Jul 29 '24 00:07 github-actions[bot]

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.

github-actions[bot] avatar Sep 30 '24 00:09 github-actions[bot]