In Bitnami Redmine (Linux version ver.4.1.1-1), the browser could not be opened due to HTTP500 error. As a memorandum, leave a backup-restore procedure.
--Ticket attachment Bitnami\redmine-4.1.1.0\apps\redmine\htdocs\files Copy the entire files directory and store it in the backup destination
--Database (all settings such as tickets and projects) Database backup-recovery can be done by opening PhpMyAdmin in a browser or by using a command.
** [When using PhpMyAdmin] ** Bitnami redmine stack screen> Select Open phpMyAdmin You can log in with ID: root / Pass: password
Select the database "bitnami_redmine" you want to dump on the left side of the screen Select items in "Check all" and "Checked items: Export". Export to any location in sql format
** [If you want to execute with a command from the terminal] ** Bitnami\redmine-4.1.1.0\apps\redmine\htdocs\config\database.yml Make a note of the contents of the above yml file
production: adapter: database: ← database name host: username: ← username password: ← password
mysqldump -u (user name) -p (password) (database name)> Data output destination
Delete Redmine storage folder Command rm -rf / storage path
Reinstall Bitnami redmine package
** [When using PhpMyAdmin] **
** [When using a command] ** mysql -u (user name) -p (password) (database name)> Specify the dumped data Check database.yml again for the above user name etc.
** [Recover ticket attachments] ** Store the entire attachment in the files directory