Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
self_data_technical_doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
self_data_technical_doc
Commits
97ab5420
Commit
97ab5420
authored
2 years ago
by
Hugo SUBTIL
Browse files
Options
Downloads
Patches
Plain Diff
feat(known-issue): add hard delete of instance in case of issue
parent
2fe7597e
No related branches found
No related tags found
No related merge requests found
Pipeline
#40018
passed
2 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/easycozy/known_errors.md
+18
-1
18 additions, 1 deletion
docs/easycozy/known_errors.md
docs/img/known_errors/instance_delete_issue.png
+0
-0
0 additions, 0 deletions
docs/img/known_errors/instance_delete_issue.png
with
18 additions
and
1 deletion
docs/easycozy/known_errors.md
+
18
−
1
View file @
97ab5420
...
@@ -7,4 +7,21 @@ On the server, we can see that the server is underwater by using "top" command:
...
@@ -7,4 +7,21 @@ On the server, we can see that the server is underwater by using "top" command:


To fix this issue, just restart the service on the server with "docker-compose down / docker-compose up -d" in the easy-cozy folder:
To fix this issue, just restart the service on the server with "docker-compose down / docker-compose up -d" in the easy-cozy folder:


\ No newline at end of file
### Impossible instance delete
When you get this issue after trying to delete instance :

You have to remove it from db, in order to do that follow this steps :
1.
Get instance UUID
```
sh
docker-compose
exec
cozy ./cozy instances show-db-prefix
--host
0.0.0.0 demo.cozy.self-data.alpha.grandlyon.com
```
2.
Connect to database with ssh port forwarding or use curl requests
3.
Remove instance in
`gloabal/instances`
db by searching for UUID. (Ex: cozy5e2af113e04eb2319ef1b7645c5790e1)
This diff is collapsed.
Click to expand it.
docs/img/known_errors/instance_delete_issue.png
0 → 100644
+
0
−
0
View file @
97ab5420
6.83 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment