mirror of
https://github.com/Balshgit/pydio.git
synced 2025-12-11 01:40:39 +03:00
add sql to scripts directory
This commit is contained in:
13
README.md
13
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
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user