Error in my nextcloud installation

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

I get one repeated error in my log. Anyone a n idea why this is?

Fout no app in context QueryException Could not resolve OCP\ILogger! Class can not be instantiated

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • Synology DSM 7.3
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.65
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.4.13
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • don't know
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • aio
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

I get the following error in the log repeatedly

Fout no app in context QueryException Could not resolve OCP\ILogger! Class can not be instantiated

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

t
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:09:11
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:06:21
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:06:21
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:06:21
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:06:21
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:04:11
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:04:11
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:57
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:57
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:53
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:53
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:17
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 15:02:17
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 14:59:10
	
Fout
	no app in context
	
QueryException Could not resolve OCP\ILogger! Class can not be instantiated
4 dec 2025, 14:59:10PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

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

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

| 2025/12/04 04:13:30 | stderr | [Thu Dec 04 03:13:29.772272 2025] [core:notice] [pid 106:tid 106] AH00094: Command line: ‘/usr/local/apache2/bin/httpd -D FOREGROUND’
|
|----|----|----|
| 2025/12/04 04:13:30 | stderr | [Thu Dec 04 03:13:29.771637 2025] [mpm_event:notice] [pid 106:tid 106] AH00489: Apache/2.4.65 (Unix) configured – resuming normal operations
|
undefined|----|----|----|
| 2025/12/04 04:13:30 | stderr | {“level”:“info”,“ts”:1764818008.941841,“msg”:“serving initial configuration”}
|
undefined|----|----|----|
| 2025/12/04 04:13:30 | stderr | {“level”:“info”,“ts”:1764818008.92141,“msg”:“adapted config to JSON”,“adapter”:“caddyfile”}
|
undefined|----|----|----|
| 2025/12/04 04:13:30 | stderr | {“level”:“info”,“ts”:1764818008.9169996,“msg”:“using config from file”,“file”:“/tmp/Caddyfile”}
|
undefined|----|----|----|
| 2025/12/04 04:13:30 | stderr | {“level”:“info”,“ts”:1764818008.9163735,“msg”:“GOMEMLIMIT is updated”,“package”:“github.com/KimMachineGun/automemlimit/memlimit",“GOMEMLIMIT”:7362960998,"previous”:9223372036854775807}
|
undefined|----|----|----|
| 2025/12/04 04:13:28 | stderr | {“level”:“warn”,“ts”:1764818008.9149926,“msg”:“failed to set GOMAXPROCS”,“error”:“open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory”}
|
undefined|----|----|----|
| 2025/12/04 04:13:26 | stderr | import pkg_resources
|
undefined|----|----|----|
| 2025/12/04 04:13:26 | stderr | /usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
|
undefined|----|----|----|
| 2025/12/04 04:13:14 | stderr | Connection to nextcloud-aio-nextcloud (172.18.0.13) 9000 port [tcp/*] succeeded!
|
undefined|----|----|----|
| 2025/12/04 04:13:09 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:13:04 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:59 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:54 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:49 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:44 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:39 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:34 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:29 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:24 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:19 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:14 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:09 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:12:04 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:59 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:54 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:49 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:44 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:39 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:34 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:29 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:24 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|
| 2025/12/04 04:11:19 | stdout | Waiting for Nextcloud to start…
|
undefined|----|----|----|


Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.