[jsresourceloader] Error: Could not find resource js/config.js to load

Hey guys,

since a while, at least since with Nextcloud 17, probably earlier, as well with all Nextcloud 18 beta versions until beta 4 now, I get the following error log once on every update, right after switching from web updater download and file install step to upgrade step:

[jsresourceloader] Error: Could not find resource js/config.js to load
GET /nextcloud/
from at 2019-12-28T13:32:10+01:00

Updater log, to compare timestamps:

2019-12-28T13:32:00+0100 omwmbwDs8K [info] startStep("12")
2019-12-28T13:32:00+0100 omwmbwDs8K [info] finalize()
2019-12-28T13:32:00+0100 omwmbwDs8K [info] storage location: /mnt/sda/ncdata/updater-<ID>/downloads/nextcloud/
2019-12-28T13:32:05+0100 omwmbwDs8K [info] call opcache_reset()
2019-12-28T13:32:05+0100 omwmbwDs8K [info] end of finalize()
2019-12-28T13:32:05+0100 omwmbwDs8K [info] endStep("12")

Nextcloud logs around the actual error entry:

# A whole MASS of the below, making debugging extremely annoying, however known issue: https://github.com/nextcloud/server/pull/18225#issuecomment-564029950
[no app in context] Info: Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent
GET /nextcloud/
from at 2019-12-28T13:32:09+01:00

[jsresourceloader] Error: Could not find resource js/config.js to load
GET /nextcloud/
from at 2019-12-28T13:32:10+01:00

[updater] Info: \OC\Updater::setDebugLogLevel: Set log level to debug
GET /nextcloud/core/ajax/update.php?requesttoken=vU7PwhYibXepqY2PdSc2VvXWxkPzLSYi%2F9DriPc38z8%3D%3A3wKi8GZxVSbuw%2Fz1R1FjAM2bsRfCT3MR0KqE2rt5x1k%3D
from at 2019-12-28T13:32:29+01:00

As can be seen, the entry is done around the time I press the “Keep maintenance mode for web based updater” button.

It is not some meanwhile cron job execution:

Dec 28 13:30:01 my.host CRON[21922]: (www-data) CMD (php /var/www/nextcloud/cron.php)
Dec 28 13:35:01 my.host CRON[22194]: (www-data) CMD (php /var/www/nextcloud/cron.php)

Anyone else getting this? Nothing urgent since it seems to not cause any follow-up issues for me, but would be nice to have the logs clean from error messages, to be attentive for the important ones.

Issue still present during update to NC19. I opened an issue on GitHub: https://github.com/nextcloud/server/issues/21235


Did you ever find out the reason behind these errors? The reason I’m asking is that I’m getting the same kind of errors, created this topic about it

Sadly not. I made the last updates via console, so didn’t use the web-based updater, hence the error log didn’t happen.