diff --git a/README.md b/README.md index 2673191..66b4141 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ on web browser: http://localhost:8080 login: admin password: admin -## storing data +## Storing data - User data setup directory with env `MINIO_STORE_DATA` in .env file @@ -58,18 +58,9 @@ sudo rm -rf ./cells_data or user your `MINIO_STORE_DATA` storage path if on `docker-compose down` and next `docker-compose up` getting error "Could not ensure that signing keys are correct!" ```bash -docker exec -i pydio_mysql mysql -u pydiouser -pcellspasswrd cells < clean-jwt.sql +docker exec -i pydio_mysql mysql -u pydiouser -pcellspasswrd cells < scripts/clean-jwt.sql ``` -```sql -SET FOREIGN_KEY_CHECKS = 0; -TRUNCATE hydra_oauth2_trusted_jwt_bearer_issuer; -TRUNCATE hydra_jwk; -SET FOREIGN_KEY_CHECKS = 0; - -``` - - ## Backup - Database diff --git a/clean-jwt.sql b/scripts/clean-jwt.sql similarity index 97% rename from clean-jwt.sql rename to scripts/clean-jwt.sql index 41501aa..63e28a7 100644 --- a/clean-jwt.sql +++ b/scripts/clean-jwt.sql @@ -1,4 +1,4 @@ -SET FOREIGN_KEY_CHECKS = 0; -TRUNCATE hydra_oauth2_trusted_jwt_bearer_issuer; -TRUNCATE hydra_jwk; +SET FOREIGN_KEY_CHECKS = 0; +TRUNCATE hydra_oauth2_trusted_jwt_bearer_issuer; +TRUNCATE hydra_jwk; SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file