Hi Community,
I have tried to Update my TrueApp Forgejo as always from 1.2.12 to 1.2.13. But in the process the Log shows the following error:
Exception: Config storage is no longer needed. See - link removed - for more details. In order to allow the upgrade to proceed, please move your config file (if any) to the new location as described in the link above. Then, set the config storage type to ‘Host Path’ and the path to ‘/tmp/remove_me’ with ACL disabled. This will allow the migration to remove the config storage from your configuration.
I have tried to change the host path like described but there was another error on saving:
middlewared.service_exception.ValidationErrors: [ENOENT] values.storage.config.host_path_config.path: Path does not exist (underlying dataset may be locked or the path is just missing).
I have no idea how to move the config file or change this config storage as described.
Any ideas?
Many thanks in advance,
Mic
Create the /tmp/remove_me directory on your TrueNAS server. Then run the update.
1 Like
Hi,
thank you for the answer. Do i have to create a dataset "“tmp” and on with “remove_me” in it or do i have to pack this in a specified folder by shell? if shell: where?
Regards,
Mic
You’ll have to create the remove_me directory in /tmp using the shell or using SSH to log into the Truenas server.
Then alter the storage configuration of the Forgejo app so the Forgejo Config Storage points to the “/tmp/remove_me” directory you just created.
After that the update should go fine. You can remove the remove_me directory afterwards, but it doesn’t do any harm if it stays.
2 Likes
Hi,
thank you for the Help. 
For all who need a bit more details:
- go to System → Shell
cd .. takes me to the home directory
cd .. again took me to the base directory
- with
ls I had checked if the tmp directoy is there
cd tmp followed by mkdir remove_me creates the needed directory
- after that I wennt to apps → choose forgejo –>
Edit next to the App Info
- go down to the config section and enter
/tmp/remove_me instead of browsing to your datasets
- save and update
- now you can remove the old dataset for the config
As I said: many thank for the help to find the solution. Have a nice weekend!
Best Regards,
Mic
3 Likes