Update from version 20 to latest stable?

Forgive me I’ve been away for ages and pretty much forgot everything I ever knew :slight_smile:

My host details:
link www.landyvlad.net/nc
Nextcloud version 20.0.0
Operating system and version linux
Apache or nginx version 10.3.35-MariaDB
PHP version 8.0.21

The issue you are facing:

I have this on my admin-overview page on my NC install

Version Nextcloud 20.0.0
The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.
A new version is available: Nextcloud 20.0.14

When I click on ‘open updater’ it goes to a white page with this simple message:

Step 5 is currently in process. Please reload this page later.

and has been doing that all day…

Looking at the nextcloud website though, it seems perhaps the latest stable version is version 24.something?

How to I get to that from where I currently am please?

almost every problem has been discussed often already. Please show what you tried so far and which exact issue you experience. provide the logs…

https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html

Umm, yeah what I’ve done so far is as described. I saw the version is out of date and it tells me that version 2.0.14 is available but when I click on open updater it says step 5 is already in process. But I haven’t done anything else.

What logs are you talking about please?

(I have looked at the manual updating and its confusing me I wouldn’t be confident with it at all)

I forgive you. But i think your Nextcloud can not forgive you. :wink:

Post some logs from /path/to/nextcloud/data/nextcloud.log

System requirements from Nextcloud 20 are PHP 7.2, 7.3, 7.4 . Maye Nextcloud 20 works but the updater not.

Step 5 is currently in process.
Search for errors with Step 5.

How do you upgrade? Post details.
Can you use the command line updater?

sudo -u www-data php /path/to/nextcloud/updater/updater.phar
Post output.

OK thanks I’ll look into that - its past midnight now i gotta get some sleep :slight_smile:

OK so I ran the errors past my ISP and they stated:

Many of the PHP errors can be corrected through changing your PHP extensions or options. I have attached a guide below that will walk you through how to do this.

For now I have enabled memcache, imagick, opcache and increased the memory limit to 512 for you to satisfy these requirements.

Changing the PHP version, limits, and modules - VentraIP Australia

As for the SQL issues, you will likely need to change the database collation to one that will allow 4-byte characters, taking a look at the documentation outlined by NextCloud. In order to do this you will likely need to change the SQL directory and restart the mysql server. As these are server level changes that would effect everyone on the shared server, this is not something that we are able to accommodate and would recommend moving to a VPS plan if this is 100% crucial for you.

Finally the issues with the web servers not being setup to resolve those extensions, this is similar to the SQL issue and not something that we would be able to accommodate for a single hosting service.

A;so PHP version is set to 7.4

I’ve now gone back into nextcloud and it states:

There are some errors regarding your setup.

  • Last background job execution ran last year. Something seems wrong. Check the background job settings

  • The PHP memory limit is below the recommended value of 512MB.

  • The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips :arrow_upper_right:.

  • Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the documentation.

  • Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the documentation.

  • No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.

  • The PHP OPcache module is not loaded. For better performance it is recommended to load it into your PHP installation.

  • This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
    imagick

I’ve never had these errors running nextcloud before (well at least not at the time version 20 was released) and it shouldn’t be contingent on having a specialised web hosting service (rather than typical shared hosting)

As far as logs are concerned: from /path/to/nextcloud/data/nextcloud.log

This is an example of the sorts of errors it shows

{"reqId":"FHbfNu8YIHx0bBVsmqyW","level":2,"time":"2022-04-28T07:16:48+00:00","remoteAddr":"93.152.140.4","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"KQBoTbQpZ1J5ckL0UYvx","level":2,"time":"2022-04-28T07:16:49+00:00","remoteAddr":"93.152.140.4","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"a1YXT7Qqpz8gVeCe2t1j","level":2,"time":"2022-04-29T00:17:31+00:00","remoteAddr":"217.138.211.243","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"g2ZwpVdQzgocn2pwiRzm","level":2,"time":"2022-04-29T00:17:32+00:00","remoteAddr":"217.138.211.243","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"kZxUFBWiO0vXVS0bDwVq","level":2,"time":"2022-04-29T15:32:30+00:00","remoteAddr":"159.196.13.86","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/204","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"BWaS8koLALaK2YQKEHTS","level":2,"time":"2022-04-29T15:32:31+00:00","remoteAddr":"159.196.13.86","user":"--","app":"no app in context","method":"PROPFIND","url":"/nc/remote.php/dav/files/michaelnc//","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"29rCSSXRGoHNa63gbYsY","level":2,"time":"2022-04-29T15:47:32+00:00","remoteAddr":"159.196.13.86","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/204","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"oOsbNy7pwEQohm0u0Iha","level":2,"time":"2022-04-29T15:47:33+00:00","remoteAddr":"159.196.13.86","user":"michaelnc","app":"no app in context","method":"PROPFIND","url":"/nc/remote.php/dav/files/michaelnc//","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"xJg8AppNLK9uNuUTIS6b","level":2,"time":"2022-04-29T16:02:34+00:00","remoteAddr":"159.196.13.86","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/204","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"6k0XhBGQlDG7su2fw7ID","level":2,"time":"2022-04-29T16:02:34+00:00","remoteAddr":"159.196.13.86","user":"michaelnc","app":"no app in context","method":"PROPFIND","url":"/nc/remote.php/dav/files/michaelnc//","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"RYVmKqHqjxcCRf5EOebm","level":2,"time":"2022-04-29T16:17:35+00:00","remoteAddr":"159.196.13.86","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/204","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"n1eEJW2isOWJGp1x41s1","level":2,"time":"2022-04-29T16:17:35+00:00","remoteAddr":"159.196.13.86","user":"michaelnc","app":"no app in context","method":"PROPFIND","url":"/nc/remote.php/dav/files/michaelnc//","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.19.1","version":"20.0.0.9"}
{"reqId":"relJHjhFrnxeDg8JflhM","level":2,"time":"2022-05-01T15:13:22+00:00","remoteAddr":"2a02:598:bbbb:2::8049","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)","version":"20.0.0.9"}
{"reqId":"Gnxmtn3F04jBZNerHI6F","level":2,"time":"2022-05-03T00:17:53+00:00","remoteAddr":"173.231.60.197","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (compatible; Adsbot/3.1; +https://seostar.co/robot/)","version":"20.0.0.9"}
{"reqId":"r2C7b0kG2RsSYvZB1RCR","level":2,"time":"2022-05-03T00:38:23+00:00","remoteAddr":"173.231.60.197","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (compatible; Adsbot/3.1; +https://seostar.co/robot/)","version":"20.0.0.9"}
{"reqId":"bESi54MIn595mZcswXkc","level":2,"time":"2022-05-03T17:04:30+00:00","remoteAddr":"95.181.238.23","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"APIs-Google (+https://developers.google.com/webmasters/APIs-Google.html)","version":"20.0.0.9"}
{"reqId":"o7DlVhxK7PCOoWj2WgiV","level":2,"time":"2022-05-03T17:04:31+00:00","remoteAddr":"95.181.238.23","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"APIs-Google (+https://developers.google.com/webmasters/APIs-Google.html)","version":"20.0.0.9"}
{"reqId":"RU9JbJkvKIFnWlIFAzZW","level":2,"time":"2022-05-03T23:25:08+00:00","remoteAddr":"165.231.24.5","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"zfwvotyZN7EA1jXlj1vd","level":2,"time":"2022-05-03T23:25:10+00:00","remoteAddr":"165.231.24.5","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"EAkH5OvCTF17zp6I5QyO","level":2,"time":"2022-05-04T09:01:05+00:00","remoteAddr":"81.217.234.211","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"20.0.0.9"}
{"reqId":"boml28w2uahQuu0tJOYS","level":2,"time":"2022-05-04T09:01:06+00:00","remoteAddr":"81.217.234.211","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/js/core/merged-template-prepend.js?v=07731fbe-0","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"20.0.0.9"}
{"reqId":"IiKbUIfLaAfFZ4b4lBa0","level":2,"time":"2022-05-04T10:08:34+00:00","remoteAddr":"81.217.234.211","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"20.0.0.9"}
{"reqId":"7ELdYz2Z1n4bsfBMQkzF","level":2,"time":"2022-05-06T09:38:37+00:00","remoteAddr":"192.3.143.210","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"1FIIQK7FGBgylhF9xO2a","level":2,"time":"2022-05-06T09:38:38+00:00","remoteAddr":"192.3.143.210","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"Z6pHSI9luEGpNr7vVlWq","level":2,"time":"2022-05-08T16:12:15+00:00","remoteAddr":"142.44.138.126","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://www.komodia.com/newwiki/index.php/URL_server_crawler) KomodiaBot/1.0","version":"20.0.0.9"}
{"reqId":"jfwHvHS0SEta1IVom6YR","level":2,"time":"2022-05-08T16:12:16+00:00","remoteAddr":"142.44.138.126","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://www.komodia.com/newwiki/index.php/URL_server_crawler) KomodiaBot/1.0","version":"20.0.0.9"}
{"reqId":"dwVqcPzorewC67xLMpXY","level":2,"time":"2022-05-08T21:37:31+00:00","remoteAddr":"170.83.176.226","user":"--","app":"no app in context","method":"GET","url":"/nc/","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"vPT4iHhYLcqjFYzDwqdm","level":2,"time":"2022-05-08T21:37:32+00:00","remoteAddr":"170.83.176.226","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","version":"20.0.0.9"}
{"reqId":"vziN4ZY0myU0BZXYX6ki","level":2,"time":"2022-05-08T23:00:13+00:00","remoteAddr":"2a02:6b8:c0c:589e:0:492c:6ed9:0","user":"--","app":"no app in context","method":"GET","url":"/nc/index.php/login","message":"Temporary directory ~/public_html/tmp is not present or writable","userAgent":"Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)","version":"20.0.0.9"}

Hopefully that’s of some help?

glad to see previous advices helped you get to your system into working state.

Please don’t expect others to fix issues with your installation.

Installation warnings are common while your infrastructure is not configured in a right way presumably all of them have been discussed multiple times in this forum - please use search function, another good place to start is the official admin guide:

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/security_setup_warnings.html