Possibility to downgrade / "how-to" removing all config data from app is missing #18

Closed
opened 2020-05-06 01:35:14 +02:00 by guyfromouttaspace · 2 comments

Clean install after removing all fragments in NC

Sometimes it can make sense to remove a specific due to a bug or similar situation.

Currently I tried to remove the version 1.4.1 (most recent one) from the app folder, so it seemed "clean" -- but with no luck.

After installing the assumed working older version 1.4 the app ceased to work - the side menu was not able to open after clicking / hovering as initially possible.

Please provide a notice how a complete "cleanup" could work. Merci

## Clean install after removing all fragments in NC Sometimes it can make sense to remove a specific due to a bug or similar situation. Currently I tried to remove the version 1.4.1 (most recent one) from the app folder, so it seemed "clean" -- but with no luck. After installing the assumed working older version 1.4 the app ceased to work - the side menu was not able to open after clicking / hovering as initially possible. Please provide a notice how a complete "cleanup" could work. Merci
Owner

Hi,

A nextcloud application should not be downgraded and I will not documente it.

To answer you:

  1. remove apps/side_menu
  2. download the release from https://gitnet.fr/deblan/side_menu/releases
  3. decompress the archive into apps
  4. run the following SQL query and replace X.X.X by the version number (eg: 1.4.0):
UPDATE 
  `oc_appconfig` 
SET 
  `configvalue` = 'X.X.X' 
WHERE 
  `appid` = 'side_menu' 
  AND `configkey` = 'installed_version'

That should works!

Hi, A nextcloud application should not be downgraded and I will not documente it. To answer you: 1. remove `apps/side_menu` 2. download the release from https://gitnet.fr/deblan/side_menu/releases 3. decompress the archive into `apps` 4. run the following SQL query and replace X.X.X by the version number (eg: 1.4.0): ``` UPDATE `oc_appconfig` SET `configvalue` = 'X.X.X' WHERE `appid` = 'side_menu' AND `configkey` = 'installed_version' ``` That should works!
deblan added the
wontfix
label 2020-05-08 21:20:50 +02:00
deblan added a new dependency 2020-05-09 15:54:53 +02:00
Owner

Btw, all configurations can be retrived using this SQL:

SELECT * 
FROM `oc_appconfig` 
WHERE 
  `appid` = 'side_menu' 
  AND `configkey` NOT IN ('installed_version', 'enabled')```
Btw, all configurations can be retrived using this SQL: ``` SELECT * FROM `oc_appconfig` WHERE `appid` = 'side_menu' AND `configkey` NOT IN ('installed_version', 'enabled')```
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: deblan/side_menu#18
No description provided.