[Bug]: app:install reports app as already installed when files have been deleted, while app:update reports not installed #48413
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: install and update
needs info
Bug description
The recommended update process from the CLI is to remove the NC root to avoid stale files and replace with a fresh copy from the TAR, preserving only the
config.php
.When doing the same with app files, prior to NC30, one could just re-run
app:install _______
on the existing app, and it would re-install the files. Now in NC30, using the same process results in theapp:install _______
reporting________ already installed
even when the files have been deleted preventing the files from being re-installed. Runningapp:update ________
results in________ not installed
.This prevents both a fresh install of the app without removing it and reinstalling it (presumably losing any settings, etc. along with it), and running an update on it. Because the app is not actually installed even when it's reported as being installed, it does not appear in the web console either.
Steps to reproduce
app:install _______
on the app you previously had installed.______ already installed
, even though the files no longer exist.Expected behavior
Like NC <= 29, I expect to be able to run
app:install ______
on an app who's files have been deleted during the upgrade process, to avoid stale files, to re-install the app and replenish the fresh files.Nextcloud Server version
30
Operating system
RHEL/CentOS
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
N/A
Nextcloud Logs
N/A
Additional info
None.
The text was updated successfully, but these errors were encountered: