Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Wonderfall Image - Talk Admin Panel Fails to Load #108

Open
benyanke opened this issue Jan 3, 2023 · 2 comments · May be fixed by #112
Open

Wonderfall Image - Talk Admin Panel Fails to Load #108

benyanke opened this issue Jan 3, 2023 · 2 comments · May be fixed by #112

Comments

@benyanke
Copy link

benyanke commented Jan 3, 2023

Steps to reproduce

  1. Open ${yourNextcloudInstall}/settings/admin/talk
  2. White page is returned with no content, errors logged in log file:

{"reqId":"[redacted]","level":3,"time":"2023-01-03 01:58:33","remoteAddr":"[redacted]","user":"[me]","app":"PHP","method":"GET","url":"/settings/admin/talk","message":"[snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'function_exists', because its argument '$function' content (exec) matched a rule at /nextcloud/apps2/spreed/lib/Settings/Admin/AdminSettings.php#506","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","data":{"app":"PHP"}}

Talk app version: 15.0.2

Nextcloud Version: 25.0.2

container: ghcr.io/wonderfall/nextcloud:25

nextcloud/spreed#8516

See report here for further details.

@benyanke benyanke changed the title Wonderfall Image Breaks NC Talk Wonderfall Image - Talk Admin Panel Fails to Load Jan 3, 2023
@Wonderfall
Copy link
Owner

This is indeed not an upstream issue. A quick fix would be to disable the Snuffleupagus PHP module this image uses. You can do that by setting the PHP_HARDENING environment variable to false. Then recreate the container.

A long-term fix would be to whitelist the function that is causing issues in that configuration file.

benyanke added a commit to ansible-agent/docker-nextcloud that referenced this issue Mar 9, 2023
@benyanke benyanke linked a pull request Mar 9, 2023 that will close this issue
@benyanke
Copy link
Author

benyanke commented Mar 9, 2023

Thanks @Wonderfall - I've put a PR (#112) for further discussion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants