App_api: "panic: runtime error: invalid memory address or nil pointer dereference" while trying to add app_api with occ

Nextcloud version (eg, 20.0.5): 29.0.0
Operating system and version (eg, Ubuntu 20.04): windows 11
Apache or nginx version (eg, Apache 2.4.25): none
PHP version (eg, 7.4): 8.1.2

The issue you are facing:
I want to install nc_py_api on my localy installed nextcloud-docker-dev. To install nextcloud-docker-dev I followed the guide from GitHub - juliushaertl/nextcloud-docker-dev: Nextcloud development environment using docker-compose. Then I followed the guide to install the dev env of app_api (which I need to use nc_py_api).

After installing app_api I try to add it to nextcloud using occ and I obtain this error:
“panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1c51f85]”

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Follow the tutorial from nextcloud cloud to install nextcloud-docker-dev on windows (Nextcloud)
  2. Install app_api dev env (Setting up dev environment — AppAPI latest documentation)
  3. Try to add app_api to the nextcloud apps with :
sudo -u www-data docker-compose exec -it nextcloud php ./occ app:enable --force app_api

The output of your Nextcloud log in Admin > Logging:

  • I cannot find any log file nor add log viewer (maybe because of the v29?)

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

  • I don’t have any config.php file

The output of your Apache/nginx/system log in /var/log/____:

  • I’m not using any of those

I was able to add app_api from the nextcloud server app screen, but I cannot add a daemon because nextcloud fails to connec to daemon and as I have no log I don’t know why.

If someone know why i’m facing this issue, it would be a great help to me.
Also, If you know app_api and nc_py_api and you think it’s not the best way to install and use them, I’m all ears :slight_smile:

Yes, there should be. It is inside the file workdir/server/data/nextcloud.log or similar.

Yes, you have. It is in workdir/server/config/config.php.

Yes, you are using apache. It would be redirected to docker. Execute docker compose logs server (or similar) to get all logs from the container.

Please have a look that there is actually no error or further information logged.

Christian

1 Like

Thank you for your answer.

I looked for log file, my workdir/server/data/ directory is empty and I cannot find any .log file anywhere else in my nextcloud-docker-dev files.
I may be because my installation is not correctly done, but I don’t know what could cause this.

You’re right, I have a config.sample.php file at workdir/server/config/.
What is the “output” of this file and how can I obtain it ?

Here are the output of docker compose logs server --since 1h :

nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:10:58 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:12:16 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:14:58 +0000] "GET /index.php/csrftoken HTTP/1.1" 200 999 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:15:58 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:20:50 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:20:58 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:25:59 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:26:58 +0000] "GET /index.php/csrftoken HTTP/1.1" 200 1000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:31:00 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:36:00 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:36:57 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:37:04 +0000] "POST /index.php/login/confirm HTTP/1.1" 403 993 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"lLTiNNESWpWS5RxAMp9g","level":2,"time":"2024-03-14T09:37:04+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"core","method":"POST","url":"/index.php/login/confirm","message":"Login failed: 'admin' (Remote IP: '192.168.21.5')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"core"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:37:09 +0000] "POST /index.php/login/confirm HTTP/1.1" 200 1053 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:37:09 +0000] "POST /index.php/settings/apps/disable HTTP/1.1" 200 899 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:37:10 +0000] "GET /ocs/v2.php/core/navigation/apps?format=json HTTP/1.1" 200 1173 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:38:58 +0000] "GET /index.php/csrftoken HTTP/1.1" 200 999 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:39:07 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:41:00 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:42:00 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:46:00 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:50:59 +0000] "GET /index.php/csrftoken HTTP/1.1" 200 1000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:51:01 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:09:56:01 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:01:01 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:02:59 +0000] "GET /index.php/csrftoken HTTP/1.1" 200 1000 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:15 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /index.php HTTP/1.1" 302 915 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /index.php/apps/dashboard/ HTTP/1.1" 200 11192 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /dist/core-files_fileinfo.js HTTP/1.1" 200 1062 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /apps/theming/js/theming.js HTTP/1.1" 200 544 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /dist/files_sharing-main.js HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"sUZst7FbiZl0dMhzfUOi","level":3,"time":"2024-03-14T10:04:17+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"jsresourceloader","method":"GET","url":"/index.php/apps/dashboard/","message":"Could not find resource profiler/js/profiler-toolbar.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"jsresourceloader"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fdashboard%2F HTTP/1.1" 200 1347 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "GET /ocs/v2.php/apps/dashboard/api/v1/widgets HTTP/1.1" 200 1176 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:17 +0000] "POST /index.php/contactsmenu/contacts HTTP/1.1" 200 1485 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/location HTTP/1.1" 200 980 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/favorites HTTP/1.1" 200 958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "GET /ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=user_status HTTP/1.1" 200 1029 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:18 +0000] "GET /ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=recommendations HTTP/1.1" 200 1480 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:22 +0000] "GET /index.php/settings/user/theming HTTP/1.1" 200 12493 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/default.jpg HTTP/1.1" 200 58072 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/dark.jpg HTTP/1.1" 200 420764 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/light.jpg HTTP/1.1" 200 438941 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/light-highcontrast.jpg HTTP/1.1" 200 454087 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/dark-highcontrast.jpg HTTP/1.1" 200 429300 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/opendyslexic.jpg HTTP/1.1" 200 54195 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/hannah-maclean-soft-floral.jpg HTTP/1.1" 200 13021 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/ted-moravec-morning-fog.jpg HTTP/1.1" 200 8287 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/stefanus-martanto-setyo-husodo-underwater-ocean.jpg HTTP/1.1" 200 11435 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/zoltan-voros-rhythm-and-blues.jpg HTTP/1.1" 200 12618 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/anatoly-mikhaltsov-butterfly-wing-scale.jpg HTTP/1.1" 200 22240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/bernie-cetonia-aurata-take-off-composition.jpg HTTP/1.1" 200 7121 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser%2Ftheming HTTP/1.1" 200 1356 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/dejan-krsmanovic-ribbed-red-metal.jpg HTTP/1.1" 200 18495 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/eduardo-neves-pedra-azul.jpg HTTP/1.1" 200 15460 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/hannes-fritz-flippity-floppity.jpg HTTP/1.1" 200 24264 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/european-space-agency-barents-bloom.jpg HTTP/1.1" 200 15393 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/hannes-fritz-roulette.jpg HTTP/1.1" 200 21851 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/hannes-fritz-sea-spray.jpg HTTP/1.1" 200 15343 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/bernard-spragg-new-zealand-fern.jpg HTTP/1.1" 200 29428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "POST /index.php/contactsmenu/contacts HTTP/1.1" 200 1485 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/rawpixel-pink-tapioca-bubbles.jpg HTTP/1.1" 200 13444 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/lali-masriera-yellow-bricks.jpg HTTP/1.1" 200 18624 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/nasa-waxing-crescent-moon.jpg HTTP/1.1" 200 4982 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/tommy-chau-lion-rock-hill.jpg HTTP/1.1" 200 6929 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /apps/theming/img/background/preview/tommy-chau-already.jpg HTTP/1.1" 200 19359 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:23 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"hHK6oLMpCJUUGDz5lxsh","level":3,"time":"2024-03-14T10:04:22+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user/theming","message":"Could not find resource profiler/js/profiler-toolbar.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"jsresourceloader"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:24 +0000] "GET /index.php/apps/theming/icon/settings?v=21421e36 HTTP/1.1" 200 6746 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:24 +0000] "GET /index.php/apps/theming/favicon/settings?v=21421e36 HTTP/1.1" 200 91020 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:33 +0000] "GET /index.php/settings/user HTTP/1.1" 200 27036 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /apps/settings/js/templates.js HTTP/1.1" 200 1711 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /apps/settings/js/federationsettingsview.js HTTP/1.1" 200 2784 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /apps/settings/js/federationscopemenu.js HTTP/1.1" 200 1924 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /dist/settings-vue-settings-nextcloud-pdf.js HTTP/1.1" 200 1734 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /apps/settings/js/settings/personalInfo.js HTTP/1.1" 200 1980 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /dist/settings-vue-settings-personal-info.js HTTP/1.1" 200 8661 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser HTTP/1.1" 200 1356 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"GaFDdUwZlSr18mdbEqSu","level":3,"time":"2024-03-14T10:04:34+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user","message":"Could not find resource profiler/js/profiler-toolbar.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"jsresourceloader"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/admin HTTP/1.1" 200 997 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "POST /index.php/contactsmenu/contacts HTTP/1.1" 200 1485 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /index.php/avatar/admin/512/dark?v=0 HTTP/1.1" 200 9032 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:34 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:47 +0000] "PUT /ocs/v2.php/cloud/users/admin HTTP/1.1" 200 958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:48 +0000] "GET /index.php/settings/user HTTP/1.1" 200 26973 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"JvHvHUG2rK6bf1FGLE6E","level":3,"time":"2024-03-14T10:04:48+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user","message":"Could not find resource profiler/js/profiler-toolbar.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"jsresourceloader"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:48 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser HTTP/1.1" 200 1356 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:48 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/admin HTTP/1.1" 200 997 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:48 +0000] "POST /index.php/contactsmenu/contacts HTTP/1.1" 200 1485 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:49 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:04:49 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /index.php HTTP/1.1" 302 915 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /index.php/apps/dashboard/ HTTP/1.1" 200 11161 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | {"reqId":"hvXK7HndebNpf3bO7LyS","level":3,"time":"2024-03-14T10:05:03+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"jsresourceloader","method":"GET","url":"/index.php/apps/dashboard/","message":"Could not find resource profiler/js/profiler-toolbar.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"29.0.0.8","data":{"app":"jsresourceloader"}}
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fdashboard%2F HTTP/1.1" 200 1347 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /ocs/v2.php/apps/dashboard/api/v1/widgets HTTP/1.1" 200 1176 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "POST /index.php/contactsmenu/contacts HTTP/1.1" 200 1485 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/location HTTP/1.1" 200 980 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:03 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1027 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:04 +0000] "GET /ocs/v2.php/apps/weather_status/api/v1/favorites HTTP/1.1" 200 958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:04 +0000] "GET /ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=user_status HTTP/1.1" 200 1029 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
nextcloud-1  | 192.168.21.5 - - [14/Mar/2024:10:05:04 +0000] "GET /ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=recommendations HTTP/1.1" 200 1480 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"

I have executed the occ command multiple times during the last hour but I cannot see wich logs it could be and I don’t see any errors.

Hope it gives you a more precise view on the problem.

Valentin

OK, in the docker logs there is no log from NC but only from Apache.

Did you tweak the configuration of the docker compose file? In workdir/server/data, normally, your user data should reside. Is it there or was it mounted from elsewhere? (The nextcloud log is a sibling to your data folders.)

The same holds true for the configuration.

After reading the NC docker compose once more, I see that the data lies within a docker volume. You would have to investigate inside the container or use OCC to get the logs. For example you could use ./scripts/occ.sh log:watch to keep an eye on the logs.
The configuration can be extracted by ./scripts/occ.sh config:list. If you append --private also private data like passwords is exported (only do on dev-only instances!!!).

Ok, here is the output of my config.php:

{
    "system": {
        "debug": true,
        "profiler": true,
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-extra",
                "url": "\/apps-extra",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-shared",
                "url": "\/apps-shared",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-writable",
                "url": "\/apps-writable",
                "writable": true
            }
        ],
        "allow_local_remote_servers": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "1025",
        "skeletondirectory": "\/skeleton",
        "setup_create_db_user": false,
        "loglevel": 2,
        "log_query": false,
        "query_log_file": "\/shared\/log\/querylog-nextcloud.log",
        "query_log_file_requestid": "yes",
        "diagnostics.logging": false,
        "diagnostics.logging.threshold": 0,
        "log.condition": {
            "apps": [
                "diagnostics",
                "admin_audit"
            ]
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud",
            "nextcloud.local",
            "192.168.21.6",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.0.8",
        "overwrite.cli.url": "http:\/\/nextcloud.local",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "git",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "lookup_server": "",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "maintenance": false,
        "app_install_overwrite": [
            "logreader",
            "app_api"
        ]
    },
    "apps": {
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "app_api": {
            "default_daemon_config": "docker_socket_proxy",
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "52"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_scheme": "http",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1710491402,\"2\":1710492301,\"1\":1710492301}",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "files_metadata_installed": "1",
            "installedat": "1710250472.6835",
            "lastcron": "1710492302",
            "lastupdateResult": "[]",
            "lastupdatedat": "1710430245",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "vendor": "nextcloud"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.30.0",
            "needs_system_address_book_sync": "no",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "profiler": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": "logging"
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "updatenotification": {
            "enabled": "yes",
            "installed_version": "1.19.1",
            "types": ""
        },
        "user_oidc": {
            "enabled": "yes",
            "installed_version": "5.0.1",
            "provider-1-jwksCache": "",
            "provider-1-jwksCacheTimestamp": "",
            "types": "authentication"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "filesystem"
        }
    }
}

Concerning the logs, the only 2 commands I can execute are log:file and log:manage. I tried to generate log file using both but I’me only able to configure the log file, not generate it.

To be honnest, you gave me the solution, or at least a way to bypass my problem by showing me where the occ script is stored.

I was trying to add app_api with occ using the command given by the tutorial, which is:

sudo -u www-data docker-compose exec -it nextcloud php ./occ app:enable --force app_api

Now that I know where occ is stored, I just added app_api with

./occ.sh app:enable

And it worked just fine, so thank you and I will continue with my installation of nc_py_api.

If you still want to understand the origin of this error I can continue to answer to your questions anyway.

Valentin.

1 Like

No problem. If you manage to to solve the problem,I would not dig deeper, to be honest.

Understandable, thank you again for your help and have a great day

1 Like