Re-Install LibreSign App (dropped tables did not get recreated) #3944
-
Nextcloud Hub 8 (29.0.9) As a noob with Nextcloud and LibreSign in particular, I first played around with the app, screwed up configuration and wanted to start from scratch. Even though I had managed to get the LibreSign app back working ... I didn't understand, why the app did not re-create the tables (after step 9.). Is that normal? How it all started ..
Well ... the configuration was the same like before So on my next attempt, I tried to delete "all" LibreSign related records and tables from the Nextcloud database.
Now comes the weird part ...
Finally LibreSign was again working. ¹ the efforts, I spend on the nightly backup script, were a good investment :-) ² see attachment PostgreSQL_rebuild_tables.sql.zip |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Nextcloud use migrations to create all tables. If you want to re-create, remove all executed migrations. DELETE from oc_migrations where app = 'libresign'; The issue that you found was because installed the app after then you removed the content related to LibreSign from appconfig but the tables wasn't created because all migrations "was executed". |
Beta Was this translation helpful? Give feedback.
Nextcloud use migrations to create all tables.
If you want to re-create, remove all executed migrations.
The issue that you found was because installed the app after then you removed the content related to LibreSign from appconfig but the tables wasn't created because all migrations "was executed".