916 B
shim
TODO: update beacuse this is now invalid :(
If you are runing a xssbook v1 setup, the database is fully incompatible with xssbook v2. Luckily there is a migration that exists to port over your data. XSSBook v1 has a single sqlite database file and a custom assets directory likly called custom
. You will know you have the right directory if there are two sub directories called avatar
and banner
. Place the sqlite db file (called xssbook.db
) and the custom
directory in the data/shim
folder of the xssbook v2 directory. If this doesnt exist please do a full setup of v2 first. Then run docker compose up -d shim
, and you should be all set.
WARNING: This will delete ALL data in the database if you specify xssbook v1 files in the data path. Make sure yo only run this once and remove the files once completed.
NOTE: the migration will never run if the database files are not supplied.