- Fix an issue where
elabctl update
could fail if no healthcheck was configured for MySQL container. Fix #38 via #39.
- Properly address #37 by only creating a tmp dir during install or sef-update
- Cleanup tmp dir created during
self-update
function. fix #37
- Do a refresh (
docker compose up -d
) instead of a restart after update
The major version bump is simply to align with the rest of the elabftw related repositories, it has no other meaning.
- Actually check for healthy state of MySQL container rather than wait 15 seconds before running db update. See elabftw/elabftw#4948.
- Use
mktemp
command to create temporary directory to write temporary files to, without another user being able to read or modify it.
- Add timeout before update command. See elabftw/elabftw#4948.
- Prevent issue with unset
BORG_REMOTE_PATH
env. Fix #36.
- Add
--default-character-set=utf8mb4
toelabctl mysql
command
- Allow setting
BORG_REMOTE_PATH
env var forborg
backup. (fix elabftw/elabftw#4798)
- Change
bin/console db:install
to newbin/init db:install
- Reword the
update
help text
- Add
DUMP_DELETE_DAYS
variable (defaults to +0) to remove old mysql backup files after generating a dump (fix elabftw/elabftw#4285)
- Add convenience function
update-db-schema
which will update the MySQL database schema. - Use new function when running
update
.
- Improve detection of docker-compose/docker compose command.
- Remove check for beta version as it could never be true because latest release endpoint of github api doesn't include pre-releases.
- Don't check initially for docker-compose presence as we can use "docker compose". Instead check for "docker" command presence.
- Remove initial check for zip and git presence as they are not required
- Add hours, minutes and seconds to the mysql dump filename
- Use borg backup for the backup function -> requires change in configuration to work properly!
- Add convenience function
initialize
to import the database structure - Populate SITE_URL in elabftw.yml form user input
- Use container names from elabctl.conf in elabftw.yml
uninstall
also removes mysql:8.0
- Remove
--column-statistics=0
to mysqldump command. See #23
- Add
--column-statistics=0
to mysqldump command.
- Use
docker compose
for Docker version > 20.x anddocker-compose
otherwise.
- Use
docker compose
for Docker version > 19.x anddocker-compose
otherwise. (#22)
- Use
docker compose
instead ofdocker-compose
command - Add a warning with a choice to continue update if the latest version is a beta version
- Fix ENABLE_LETSENCRYPT being incorrectly set to true for self signed certs (#20)
- Drop "no domain name" support
- Fix permissions for uploaded files folder chown command
- Use correct mysql container name for backup
- Add link to latest version changelog after update
- Replace php-logs with access-logs and error-logs using docker logs command
- Fix wrongly committed local config
- Allow specifying the name of the containers in config file
- Add --no-tablespaces argument to mysqldump to avoid PROCESS privilege error
- Get a pre-processed config file from get.elabftw.net
- Don't install certbot or try to get a certificate
- Suppress the MySQL warning. Allow silent backup for cron with > /dev/null
- Add mysql-backup command to just make a dump of the database, don't zip the files
- Use restart instead of refresh for update command (see elabftw/elabftw#1543)
- Use refresh instead of restart for update command
- Use certbot instead of letsencrypt-auto
- Fix bugreport hanging on elabftw version
- Add mysql command to spawn mysql shell in container
- Check for disk space before update (#15)
- Download conf file to /tmp to avoid permissions issues
- Add sudo for mkdir
- Open port 80 for Let's Encrypt
- Use sudo to remove data dir
- Log file is gone
- Don't try to install stuff, let user deal with it
- Script can be used without being root
- Fix install on CentOS (thanks @M4aurice) (#14)
- Ask before doing backup
- Fix install on RHEL (thanks @folf) (#7)
- Fix running backup from cron (#6)
- Use chmod 600 not 700 for config file
- Allow traffic on port 443 with ufw
- Add GPLv3 licence
- Add CHANGELOG.md