Neidio i'r brif gynnwys

Via the CLI

yn Deleting an Instance
Rhestr o awduron
Cyhoeddwyd: May 5, 2022|Diweddarwyd diwethaf: Jul 13, 2022
Note


Presently, for security reasons, deleting an instance is only possible through the OPC CLI.

You can delete an instance with the following command:

sudo opc inst -i {helpdeskID} delete

You will then be prompted to confirm the action by typing the word delete to continue.

deskpro@deskpro:~# sudo opc inst -i helpdesk delete WARNING This is a dangerous action. Please type "delete" proceed or press CTRL+C to cancel > delete Delete instance ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Name | helpdesk UUID | 190249db-bf69-41c9-97cc-639be5a663a7 Data Path | /opt/deskpro/data/instances/helpdesk DB Host | localhost:3306 DB User | helpdesk DB Name | helpdesk Elastic Host | http://localhost:9200/ Elastic TenantID | helpdesk Reserved Container Ports | Web: 39323 Remove NGINX config ✅ Unlinked NGINX config └ Path: /etc/nginx/conf.d/deskpro_helpdesk.conf Remove indexes ✅ Removed index └ Index `deskpro`, tenant `helpdesk` Remove instance containers ✅ Deleted instance containers └ Path: /opt/deskpro/data/instances/helpdesk/services/deskpro Remove system services ✅ Deleted system services └ Path: deskpro@helpdesk.service Remove database ✅ Deleted database └ DB `helpdesk` and user `helpdesk` Remove configuration directories ✅ Deleted configuration directories └ Path: /opt/deskpro/data/instances/helpdesk Done ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ All tasks have completed.
copy

If you experience any issues with deleting an instance, you can add the flag --ignore-errors to skip any errors and attempt to delete the instance.

DefnyddiolAnnefnyddiol
tudalen nesafOverview of clustering in Deskpro

Mewngofnodwch neu cofrestrwch i gyflwyno sylw.