Move wiki to new VM, update cookbooks and software #210

Merged
raucao merged 8 commits from feature/wiki_vm into master 2020-09-06 11:45:31 +00:00
Owner

Changes in our fork of the mediawiki cookbook:

refs #209

Changes in our fork of the mediawiki cookbook: * https://github.com/67P/mediawiki-cookbook/commit/71c4d5f35a6a05a680a9793aeb057c3e16231361 * https://github.com/67P/mediawiki-cookbook/commit/78641e53635ba6cbd4a2a51fd597adb8fef1e8ad refs #209
raucao added the
kredits-2
label 2020-08-30 15:41:43 +00:00
raucao self-assigned this 2020-08-30 15:41:43 +00:00
greg was assigned by raucao 2020-08-30 15:41:43 +00:00
raucao changed title from Add node config for new wiki VM to Move wiki to new VM, update cookbooks and software 2020-08-30 15:42:06 +00:00
raucao changed title from Move wiki to new VM, update cookbooks and software to WIP: Move wiki to new VM, update cookbooks and software 2020-08-30 15:42:25 +00:00
Author
Owner

@greg I think I have pushed everything we did now, but I may have lost a small thing somewhere. We'll see when we finish up the move, unless you already notice something missing.

@greg I think I have pushed everything we did now, but I may have lost a small thing somewhere. We'll see when we finish up the move, unless you already notice something missing.
Author
Owner

Phew. Took me a while to migrate everything properly, but it's all done now.

On the way, I found out that we're currently not backing up the uploaded files in mediawiki's images directory, and we're also not moving them to a new folder in case the wiki itself is upgraded to a new version (which creates a whole new mediawiki directory in /var/www).

However, I still can't merge, because some updated cookbook deps were missing, and our certbot recipe doesn't work with Ubuntu 20.04, because the certbot authors decided to switch to effing snap packages. :/

Phew. Took me a while to migrate everything properly, but it's all done now. On the way, I found out that we're currently not backing up the uploaded files in mediawiki's `images` directory, and we're also not moving them to a new folder in case the wiki itself is upgraded to a new version (which creates a whole new mediawiki directory in `/var/www`). However, I still can't merge, because some updated cookbook deps were missing, and our certbot recipe doesn't work with Ubuntu 20.04, because the certbot authors decided to switch to effing snap packages. :/
Author
Owner

Dang, my setup was broken by the failed Certbot run...

Edit: fixed again manually. Stopping here now, as I'm pretty sure a few current certbot things can't work when it's a snap. No idea why they're insisting on snapd, because it will break most PPA users' setups.

Dang, my setup was broken by the failed Certbot run... Edit: fixed again manually. Stopping here now, as I'm pretty sure a few current certbot things can't work when it's a snap. No idea why they're insisting on snapd, because it will break most PPA users' setups.
Author
Owner

Wasn't too bad after all. The snap is only for the program itself, and all the rest is still the same as before, with only minor changes. Opening a new PR against master to make our LE stuff compatible with both 18.04 and 20.04.

Wasn't too bad after all. The snap is only for the program itself, and all the rest is still the same as before, with only minor changes. Opening a new PR against master to make our LE stuff compatible with both 18.04 and 20.04.
raucao changed title from WIP: Move wiki to new VM, update cookbooks and software to Move wiki to new VM, update cookbooks and software 2020-09-06 11:45:23 +00:00
raucao merged commit ded21fb009 into master 2020-09-06 11:45:31 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#210
No description provided.