Newbie mistake here, I forgot that I didn’t migrate paperless-ngx from the truecharts install, now I did the EE update and it’s gone. I try installing the TrueNAS version pointing to the same directory, it runs but it’s all empty, nothing it’s restored from the directories.
Of course I didn’t do a document export with the Paperless utilities (I think I tired some months ago without sucess and gave up then forgot about it).
Is there a slight chance to restore my old setup, I have countless hours of files sorted and tagged. I could never do this job again on the whole stack.
I ran from TrueCharts as soon as Docker was an option. Don’t expect to get any help from their community.
I don’t know how to help you, but I’ll try to give you some hope. I believe there was a way to continue using the apps once TrueNAS moved on from kubernetes. I just don’t know how.
You shouldn’t need to reinstall an older version if you just updated. Did you try rolling back to the older version, or just did a fresh install? You can boot to older versions as long as you don’t delete the snapshots.
Thanks for your hopes. Ideally I want to migrate to the TrueNAS version. But a Docker one is also acceptable.
To be honest I did a series of stupid mistakes, first was due to an error with Nextcloud (TrueNAS version) while syncing on mobile I tried to update the app in hope of solving it (even if it was not critical at all). But it brokes the Nextcloud app completely. Then I read I need to change the PostgresDB version, but the option is only on EE, so I update to EE without checking anything…
Now all my previously TrueCharts apps are gone, including Paperless (the only critical one for me that was still a TrueChart version).
Worst even some TrueNAS app are gone as well, like NPM! All my web services are offline due to this.
For Nextcloud I think I found a way but I need to migrate all the data app and it’s huge! It might take the night.
Now I must restore NPM and Paperless. NPM is quite urgent, I’m re-creating the configuration one by one by copying the content of the files in ix-applications. I have to time to figure out a better way.
Paperless I need to do it clean, I can access the PDF, so I have slightly more time to figure out.
I leave this open in case someone as a more detailed solution.
Is rolling back an option?
System → Boot, boot the previous version
Did you store your config/data within the app, or on a host mount?
Thanks for this advice, I didn’t know. I could at least run back paperless from the previous boot version, then run the backup export in CLI. Now I try to make the new install of paperless-ngx to work on the latest EE, at some point it was running but now it’s pending. Once it will be running again I can shell again and try to restore the backup.
Ok this worked, I made a couple of mistake first but nothing bad. First it’s good to have a backup export, so I did a full backup in a zip file using document_exporter in the paperless shell of the old install (which I could still boot using the boot menu to roll back to the previous OS version temporarily).
This export.zip should be moved outside of the paperless storage, like a backup folder, just in case.
Then in the latest OS, fresh paperless-ngx install, I did mount an extra path from my hosted paperless folders to /usr/src/paperless/export (first I did mount on /export, but it was wrong).
Then I copied back the zip file there and run the document_importer but it failed. It asked for the manifest.json file, which is in the zip. So I unzipped (couldn’t do it directly in the paperless shell, was a mess), but in the end I should have not done that. Only the manifest.json (and maybe version.json) is needed as long as your document folder is still here with all document and mapped properly in the new instance.
Then I could run the importer, it gave me a couple error and warning due to the difference in the instance version but it looks like everything is back to normal. However some settings and the views might be missing. I figured out later that I just needed to restart paperless to reload all the restored settings and views.
I hope it might help other in the future.