-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apps fail to migrate when upgrading to Electric Eel #2998
Comments
➤ Bug Clerk commented: Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System > Advanced > Save Debug. https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153 |
➤ ShannonC commented: I did check the “attach debug” box… do you still need a debug file? |
➤ Bonnie Follweiler commented: Good Morning ShannonC. It did upload a debug file so there is no need to upload a second one. I have moved this ticket into our queue to review. An engineering representative will update with any further questions or details in the near future. |
➤ Stavros Kois commented: Can you please clarify what versions was installed for Emby and Syncthing? Thanks |
➤ ShannonC commented: Yes, copied & pasted info from the dashboard: Emby: App Version: Syncthing: App Version: It looks to me like those are the right versions, I see 2.0.13 for both in here: https://github.com/truenas/charts/tree/master/charts/emby ( https://github.com/truenas/charts/tree/master/charts/emby|smart-link ) https://github.com/truenas/charts/tree/master/charts/syncthing ( https://github.com/truenas/charts/tree/master/charts/syncthing|smart-link ) |
➤ Stavros Kois commented: I suppose you are now booted on 24.04. Can you run those commands on the truenas shell? midclt call chart.release.get_instance emby | jq '.config' |
➤ ShannonC commented: Here you go: % midclt call chart.release.get_instance emby | jq '.config' % midclt call chart.release.get_instance syncthing | jq '.config' |
Steps: I'm running 24.04.2.5. Three apps are installed & working correctly: syncthing, emby, and frigate. All three have been updated to the most recent version available. Next, I upgrade to 24.10.0.2.
Expected Result: After the upgrade, all three apps should have been migrated and are up and running.
Actual Result: Only one of my apps (frigate) migrated successfully. The other two (syncthing, emby) do not appear in the list of Applications after the upgrade. When looking at /var/log/app_migrations.log it's clear that there is some kind of issue when interpreting the config files:
% cat app_migrations.log
[2024/12/15 21:04:02] (DEBUG) app_migrations.migrate():235 - Migration details for 'system-update--2024-12-16_03:00:37' backup on 'isildur' pool
[2024/12/15 21:04:02] (DEBUG) app_migrations.migrate():241 - 'syncthing' app failed to migrate successfully: 'Failed to migrate config: Failed to migrate config: Traceback (most recent call last):\n File "/mnt/.ix-apps/truenas_catalog/trains/stable/syncthing/1.1.1/migrations/migrate_from_kubernetes", line 51, in \n print(yaml.dump(migrate(yaml.safe_load(f.read()))))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/mnt/.ix-apps/truenas_catalog/trains/stable/syncthing/1.1.1/migrations/migrate_from_kubernetes", line 19, in migrate\n "additional_envs": config["syncthingConfig"].get("additionalEnvs", []),\n ~~~~~~^^^^^^^^^^^^^^^^^^^\nKeyError: 'syncthingConfig'\n'
[2024/12/15 21:04:02] (DEBUG) app_migrations.migrate():241 - 'emby' app failed to migrate successfully: 'Failed to migrate config: Failed to migrate config: Traceback (most recent call last):\n File "/mnt/.ix-apps/truenas_catalog/trains/stable/emby/1.2.5/migrations/migrate_from_kubernetes", line 49, in \n print(yaml.dump(migrate(yaml.safe_load(f.read()))))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/mnt/.ix-apps/truenas_catalog/trains/stable/emby/1.2.5/migrations/migrate_from_kubernetes", line 18, in migrate\n "additional_envs": config["embyConfig"].get("additionalEnvs", []),\n ~~~~~~^^^^^^^^^^^^^^\nKeyError: 'embyConfig'\n'
[2024/12/15 21:04:02] (DEBUG) app_migrations.migrate():241 - 'frigate' app failed to migrate successfully: 'App with same name is already installed'
Session ID: 3f0904bb-7b91-1ffc-ffaf-42014ddfc8be
The text was updated successfully, but these errors were encountered: