mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-31 15:48:57 +02:00
Solved moodle database character issue: https://github.com/bitnami/containers/issues/81439#issuecomment-2977590924
This commit is contained in:
28
roles/docker-moodle/Administration.md
Normal file
28
roles/docker-moodle/Administration.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Administration
|
||||
|
||||
# Radical Erase of Setup
|
||||
To manually erase the full moodle setup inkluding all data execute:
|
||||
|
||||
**CLI:**
|
||||
|
||||
```bash
|
||||
cd /opt/docker/moodle && \
|
||||
docker compose down -v || {
|
||||
echo "docker compose down failed, cleaning up manually"
|
||||
rm -rv /mnt/hdd/data/docker/volumes/moodle_*
|
||||
docker compose down -v
|
||||
} && \
|
||||
rm -rv /opt/docker/moodle
|
||||
```
|
||||
|
||||
Afterwards login to the database and execute
|
||||
|
||||
**MariaDB:**
|
||||
```sql
|
||||
DROP DATABASE IF EXISTS moodle;
|
||||
```
|
||||
|
||||
to delete all data in the database related to this role.
|
||||
|
||||
# Virgin Setup
|
||||
After the installation you can rerun this role to create a fresh setup of Moodle.
|
@@ -1,3 +1,2 @@
|
||||
# Todo
|
||||
- Check if sendmail needs to be installed. See [Issue](https://github.com/bitnami/containers/issues/63311).
|
||||
- Solve [issue](https://github.com/bitnami/containers/issues/72747)
|
||||
- Check if sendmail needs to be installed. See [Issue](https://github.com/bitnami/containers/issues/63311).
|
Reference in New Issue
Block a user