Hello,
I’m having trouble getting Nextcloud to run after upgrading from Dragonfish to Electric Eel. I’ve searched a lot and tried multiple solutions, but I still can’t get it running. Unfortunately, I don’t have enough knowledge to solve this on my own.
Here is the error message I’m encountering:
[2025/02/14 23:38:34] (DEBUG) app_migrations.migrate():250 - Migration details for ‘system-update–2025-02-14_22:35:25’ backup on ‘AppsPool’ pool
[2025/02/14 23:38:34] (DEBUG) app_migrations.migrate():256 - ‘nextcloud’ app failed to migrate successfully: 'Failed to migrate config: Failed to migrate config: Traceback (most recent call last):
File “/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud/1.6.3/migrations/migrate_from_kubernetes”, line 91, in
print(yaml.dump(migrate(yaml.safe_load(f.read()))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud/1.6.3/migrations/migrate_from_kubernetes”, line 21, in migrate
“admin_user”: config[“ncConfig”][“adminUser”],
~~~~~~^^^^^^^^^^^^
KeyError: ‘ncConfig’
I get the same error when I run:
midclt call -job k8s_to_docker.migrate AppsPool
In an attempt to resolve the issue, I tried switching back and forth between Dragonfish and Electric Eel, thinking it might be related to the admin password in the Nextcloud app GUI settings. However, that didn’t help. With multiple rollbacks and upgrades, I now suspect I may have completely broken my Nextcloud installation—it no longer starts on Dragonfish either.
Since rollbacks haven’t helped, my hope now is to fix the issue in Electric Eel and get it running there again (which was my original goal).
Does anyone have any guidance on where to look for the issue?
I tried commenting out lines 21 and 22 in the migrate_from_kubernetes
script, but that only resulted in the same issue occurring on line 23. So, it seems there is a general problem with reading the configuration.
I’d appreciate any ideas or suggestions on how to fix this.
Thanks,
Uwe