-
Notifications
You must be signed in to change notification settings - Fork 98
min PHP version missing in dependencies #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks! And am I correct that v0.6.3 is the last one supporting PHP7.0? |
@IzzySoft if that's the last version that worked for you, then it seems so :) None of us devs have had this problem, so we didn't pay much mind to which features of which exact PHP version we were using. |
OK, then I try the 0.6.4 on one of my other instances where I can simply remove it afterwards should it fail (I know 0.6.5 does not work with PHP7.0, but skipped 0.6.4 when "running down"). Hopefully I can upgrade soon. Btw, as it might be of interest to you: following my CallOut, there's now an Android companion app available: Nextcloud Cookbook is currently in my F-Droid repo (as it's considered "beta"), but already running pretty stable. It's a viewer only, and relies on the data having been synced to the device by other means (e.g. via the Nextcloud Android app). Works well, you might wish to mention it. An update is due this evening (v0.30.0). Once its author declares it "stable", it will move to F-Droid.org. |
Just done, thanks for the hint! |
Description
In
appinfo/info.xml
, there's no mention of the min PHP version required. This just broke my install on a Linux Mint 18 with Nextcloud 15 (Mint 18 only provides PHP7.0 – but it's a LTS still supported until 2021; due to some other things, I cannot yet update to Mint 19 or 20 yet, thus not to PHP7.1+, thus not to Nextcloud 16+ etc). As it's not pointed out, my Nextcloud just updated Cookbook to v0.7.6 – which led to a 500 server error and the app being disabled.I was able to fix that by downgrading to v0.6.3 (replacing
apps/cookbook
and executingupdate oc_appconfig set configvalue='0.6.3' where appid='cookbook';
in the database, followed by asudo -u www-data php occ app:enable cookbook
from within the nextcloud directory whereocc
resides – in case someone else falls into the same trap).Reproduction
Steps to reproduce the behavior:
Expected behavior
Nextcloud would not offer to update beyond v0.6.3 (which AFAIK is the last version working with PHP7.0 – v0.6.5 does not; I didn't try v0.6.4 so please let me know before I break things again 😉)
Screenshots
n/a
Browser
n/a
Suggestion
Add the following inside
appinfo/info.xml
:(of course with the correct PHP version in there – I don't know whether it's 7.1 or 7.2)
If Nextcloud doesn't honor that (which seems to be the case, as it also updated another app having this dependency declared), that's to be solved there. How far they'd backport his is a different issue of course.
The text was updated successfully, but these errors were encountered: