Upgrading a old Etherpad Lite instance #7022
Unanswered
chriscroome
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an old Etherpad Lite instance I need to migrate and upgrade and it appears that the instance doesn't use a external database, I have these database files:
ls -lah var/*.db -rw-r--r-- 1 etherpad etherpad 1.1K Apr 7 2022 var/dirty.db -rw-r--r-- 1 etherpad etherpad 58G Jun 16 13:34 var/old.dbIt is the tiny
dirty.dbone that is referenced bysettings.json:I see that there is a migrateDirtyDBtoRealDB.ts script, I'm hoping to use this to import the
var/old.dbfile into a MariaDB database using the latest version of the code base, I'm also wondering if I should used the old code basemigrateDirtyDBtoRealDB.jsscript rather than the newmigrateDirtyDBtoRealDB.tsone as I've not been able to work out how to run it, the file contains:I have added the MariaDB details to
settings.jsonin the new code base and also copied the two.dbfiles and this is what I have tried:I have also tried copying this file to
bin/migrateDirtyDBtoRealDB.jsbut that doesn't seem to help:Does anyone have any suggestions for me? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions