Disinstallare e reinstallare completamente un'applicazione in Nextcloud

From RVM Wiki
Jump to navigation Jump to search

Ad esempio, se Tal (spreed) dà errori in tabelle o non si abilita e si vuole resettare tutto:

  • Disabilitare l'App da web gui
  • Elencare tutte le tabelle ed eliminarle:
DROP TABLE oc_talk_bans;
DROP TABLE oc_talk_bots_conversation;
DROP TABLE oc_talk_bots_server;
DROP TABLE oc_talk_consent;
DROP TABLE oc_talk_poll_votes;
DROP TABLE oc_talk_polls;
DROP TABLE oc_talk_proxy_messages;
DROP TABLE oc_talk_reminders;
DROP TABLE oc_talk_retry_ocm;
DROP TABLE oc_talk_bans;
DROP TABLE oc_talk_bots_conversation;
DROP TABLE oc_talk_bots_server;
DROP TABLE oc_talk_consent;
DROP TABLE oc_talk_poll_votes;
DROP TABLE oc_talk_polls;
DROP TABLE oc_talk_proxy_messages;
DROP TABLE oc_talk_reminders;
DROP TABLE oc_talk_retry_ocm;
  • Cancellare tutte le configurazioni, migrazioni e preferenze:
DELETE FROM oc_migrations  WHERE app   = 'spreed';
DELETE FROM oc_appconfig   WHERE appid = 'spreed';
DELETE FROM oc_preference` WHERE appid = 'spreed';
  • Riabilitare l'app

Riferimenti