-
Notifications
You must be signed in to change notification settings - Fork 45
Minimum Requirement Error
If you are attempting to install a release of the passwords app which requires a newer version of PHP or Nextcloud than in use on your server an exception prevents the upgrade.
Please note that PHP versions differ between the command line, the webserver and even different domains on your webserver.
Run php -v
as the the user executing cron command on your server to see which version of php is in use there.
Look at the "System" section in the Nextcloud admin area to see which version of PHP is used for your webserver.
Nextcloud 20.0.4 and before do not check PHP version requirements. They will install the latest available version of the app during the upgrade even if it does not work. This will leave your Nextcloud stuck in maintenance mode. You need to fulfill the PHP minimum requirement before updating Nextcloud. Nextcloud 21 and later seem to be not affected by this.
NOTE: The releases listed here are outdated and do not receive any support anymore!
NOTE: Only versions where your PHP version and your Nextcloud version are listed will work on your server.
PHP Version | Nextcloud Version | App Version | Download |
---|---|---|---|
7.1 | 12, 13, 14 | 2018.12.0 | download |
7.1 | 15, 16, 17 | 2019.12.1 | download |
7.2 | 16 | 2019.12.1 | download |
7.2 | 17, 18, 19 | 2020.12.4 | download |
7.2 | 20, 21 | 2021.12.10 | download |
7.3 | 17, 18, 19 | 2020.12.4 | download |
7.3 | 20, 21, 22 | 2021.12.10 | download |
7.3 | 23 | 2022.12.11 | download |
7.4 | 20, 21, 22 | 2021.12.20 | download |
7.4 | 23, 24 | 2022.12.11 | download |
7.4 | 25 | 2023.12.10 | |
8.0 | 23, 24 | 2022.12.21 | download |
8.0 | 25, 26, 27 | 2023.12.20 | |
8.1 | 25, 26, 27 | 2023.12.30 | |
8.2 | 25, 26, 27 | 2023.12.30 |
In case this list is incomplete and does not list your version of Nextcloud, you can check the list in the official appstore for a compatible version.
If you have already attempted to upgrade to an incompatible version of the app, you can still downgrade to the latest compatible version manually. You need command line access or file access to the installation folder of your Nextcloud for this
- Open the base folder of your Nextcloud installation
- Run
php ./occ config:app:get passwords installed_version
- Continue with the correct steps based on the version number
Example: You tried to upgrade from 2020.12.1 and the result of the previous command is 2020.12.1.
- Open the apps or custom_apps folder where the passwords app is installed
- Remove the current version with
rm -rf passwords
- Download the supported version for your server with
wget <copy link of compatible version listed above>
- Unpack the release with
tar -xf passwords.tar.gz
- Open the base folder of your Nextcloud installation
- Run
php ./occ maintenance:repair
- Run
php ./occ maintenance:mode
to see if your Nextcloud is still in maintenance mode - Run
php ./occ maintenance:mode --off
if your Nextcloud is stuck in maintenance mode
Example: You tried to upgrade from 2020.12.1 to 2021.1.0 and the result of the previous command is 2021.1.0.
- Open the apps or custom_apps folder where the passwords app is installed
- Remove the current version with
rm -rf passwords
- Download the supported version for your server with
wget <copy link of compatible version listed above>
- Unpack the release with
tar -xf passwords.tar.gz
- Open the base folder of your Nextcloud installation
- Run
php ./occ config:app:set passwords installed_version --version 2020.12.1
- Run
php ./occ maintenance:repair
- Run
php ./occ maintenance:mode
to see if your Nextcloud is still in maintenance mode - Run
php ./occ maintenance:mode --off
if your Nextcloud is stuck in maintenance mode
- Is your Nextcloud stuck in maintenance mode and no app can be opened?
- yes: Choose option 1
- no: Choose option 2
- Open the apps or custom_apps folder where the passwords app is installed
- Remove the "passwords" folder an all its contents
- Download the supported version for your server from the lists above
- Unpack it on your PC with
tar -xf passwords.tar.gz
or 7Zip - Make sure that the unpacked passwords folder contains the app files and not a second passwords folder
- Upload the unpacked passwords folder to your apps or custom apps folder
- If your Nextcloud is stuck in maintenance mode, remove the maintenance flag manually.
- Open the
config
folder in the root folder of your Nextcloud installation and download theconfig.php
. - Edit the file in a text editor and remove the line
"maintenance" => true,
. - Upload the changed file
- Open the
- If your Nextcloud still requires an upgrade, you might have to overwrite the app version in the database.
- Open the
<PREFIX>_appconfig
table and look for the entry where the appid ispasswords
and the configkey isinstalled_version
. - Set the value to the version you just downloaded and installed
- Example:
UPDATE `<PREFIX>_appconfig` SET configvalue = '2020.12.1' WHERE `appid` = 'passwords' AND `configkey` = 'installed_version'
- Open the
This option expects the app occ web to be installed.
- Run
occ config:app:set passwords installed_version --version 2020.12.1
in Nextcloud with occ web - Open the apps or custom_apps folder of your Nextcloud installation where the passwords app is installed
- Remove the "passwords" folder an all its contents
- Download the supported version for your server from the lists above
- Unpack it on your PC with
tar -xf passwords.tar.gz
or 7Zip - Make sure that the unpacked passwords folder contains the app files and not a second passwords folder
- Upload the unpacked passwords folder to your apps or custom apps folder
- Check the passwords app in Nextcloud