Dan Brown [Mon, 1 May 2023 15:02:32 +0000 (16:02 +0100)]
Added improvements from testing on bsdemo
- Updated default info text to be cyan instead of blue for readability. - Added "ZIP" in backup command details to make the file type clear. - Updated some really low MySQL timeouts.
Dan Brown [Sat, 29 Apr 2023 13:02:00 +0000 (14:02 +0100)]
Made changes based upon freebsd/openbsd testing
- Added better generally output formatting with warnings and blue info. - Addressed deprecation warning when opening empty zip from temp file. - Updated mysqldump so warnings did not stop dump, but are shown to users. - Massively increased timeouts where needed. - Fixed a few typos. - Logged extra mysql known issues. - Added protocol to mysql commands since that's what's expected in BookStack's usage. - Updated required extensions list to be more comprehensive, based upon actual need on FreeBSD (Where php defaults were minimal) and extracted requirements to static class vars for easier editing.
Dan Brown [Fri, 28 Apr 2023 17:36:40 +0000 (18:36 +0100)]
Made a range of tweaks from testing
- Fixed some relative paths issues when ran in phar. - Added helper class for doing path work. - Updated composer runner timeout. - Updated checks for paths more thorough. - Removed default completion command.
Dan Brown [Wed, 5 Apr 2023 20:07:33 +0000 (21:07 +0100)]
Added main-path restore command testing
Addressed some issues in the process including: - Added dropping of existing db tables before restore. - Changed how passwords are used in MySQL CLI actions to prevent warnings. - Updated docker setup for proper healthcheck/cleanup actions since was previously misled by existing running container instances.
Dan Brown [Mon, 3 Apr 2023 16:26:09 +0000 (17:26 +0100)]
Started testing of backup command
Came across a couple of issues during build: 1. DB needed init SQL query to fix user permissions to allow backup, added detail to readme in new "known issues". 2. App container work needed to wait for database to be alive.