📕 subnode [[@flancian/wiki migration]]
in 📚 node [[wiki-migration]]
- These are some raw notes taken while trying to set up wiki-alpha.social.coop (and later wiki.social.coop) based off the setup that [[jonny]] did on wiki-dev.social.coop.
-
I'm using [[coop cloud]] and [[abra]].
- Initial setup of [[abra]] on [[hypha]] is not covered here; see [[go/twg/bugs]] for that.
-
Copy the database dump and restore:
- abra app cp wiki-alpha.social.coop mysqldump db:/root/
- abra app run wiki-alpha.social.coop db /bin/bash
-
mysql -p mediawiki < mysqldump
- The password for root can be seen with
cat /run/secrets/db_root_password
- The password for root can be seen with
-
copy images from the wiki-dev backup:
- abra app cp wiki.social.coop images app:/var/www/html/images
-
abra app run wiki.social.coop app /bin/bash
- then chown -R www-data:www-data /var/www/html/images
- then restart the app server with
abra app restart wiki.social.coop
to make images work (for some reason this is needed)
- Apply theme changes, optional, e.g. https://git.autonomic.zone/autonomic-cooperative/hacktheplanet
📖 stoas
- public document at doc.anagora.org/wiki-migration
- video call at meet.jit.si/wiki-migration