# Nextcloud doesn't start after update

**URL:** <https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, apcu, nc26, php8\
**Created:** [February 17, 2025, 8:12am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669 "2025-02-17T08:12:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemo87](https://help.nextcloud.com/letter_avatar/nemo87/32/5_5575768a8748004e209b776fc1b2916d.png) [@nemo87](https://help.nextcloud.com/u/nemo87)\
**Post date:** [February 17, 2025, 8:12am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/1 "2025-02-17T08:12:42Z")

</div>

I upgraded the version from 25 to 26, first installed php 8, then downloaded the new version from here:

> **[Index of /server/releases](https://download.nextcloud.com/server/releases/)**

Following this guide, I proceeded to rename the old folder, move the new one and then copy the config folder to the new folder

> **[Upgrade manually — Nextcloud latest Administration Manual latest documentation](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html)**

when I try to access nextcloud from my browser I receive the following message:

## Error

- Can’t write into config directory!This can usually be fixed by giving the webserver write access to the config directory.

I tried to give read/write permissions but nothing, always the same message, could you tell me what I could do?

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [February 17, 2025, 10:26am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/2 "2025-02-17T10:26:55Z")

</div>

What system do you use? If you have debian/ubuntu, you could try:

`sudo -u www-data ls -lisa /path/to/nextcloud`

This should show you the permissions within the nextcloud folder, and it is executed by `www-data` (or use any other user that runs the php). If that shows an error, you can post the output without the sudo-part.

---

<div class="post-metadata">

**Author:** ![LukasB-IR](https://help.nextcloud.com/letter_avatar/lukasb-ir/32/5_5575768a8748004e209b776fc1b2916d.png) [@LukasB-IR](https://help.nextcloud.com/u/LukasB-IR)\
**Post date:** [February 17, 2025, 11:02am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/3 "2025-02-17T11:02:07Z")

</div>

My suggestion would also be to check file permissions. Maybe you forgot the recursive tag or set the permissions before later changes.

What could also end up in weird error messages is having multiple php versions in use. I had one instance where I needed to remove all non used versions even after setting the default used version manually.

Gerneally you could set the error level higher in the config and look into the nextcloud error log to maybe get more detailed information on what this could be.  
Alternatively, if it really has something to do with php, you could look at the error messages of your webserver.

---

<div class="post-metadata">

**Author:** ![nemo87](https://help.nextcloud.com/letter_avatar/nemo87/32/5_5575768a8748004e209b776fc1b2916d.png) [@nemo87](https://help.nextcloud.com/u/nemo87)\
**Post date:** [February 17, 2025, 11:41am UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/4 "2025-02-17T11:41:45Z")

</div>

I deleted the nextcloud folder, uninstalled php and reinstalled php8, I then continued by downloading version 26 of nextcloud again and placing it in /var/www/, nothing, I still get the same error as before

```auto
pi@raspberrypi:/var/www/nextcloud $ sudo -u www-data ls -lisa
total 1976
384769 4 drwxr-xr-x 13 root root 4096 Feb 17 12:13 .
129722 4 drwxr-xr-x 6 root root 4096 Feb 17 12:13 ..
515038 4 drwxr-xr-x 45 root root 4096 Feb 17 12:13 3rdparty
388497 4 drwxr-xr-x 50 root root 4096 Feb 17 12:13 apps
386766 20 -rw-r--r-- 1 root root 19327 Feb 17 12:13 AUTHORS
386764 4 -rw-r--r-- 1 root root 1283 Feb 17 12:13 composer.json
384773 4 -rw-r--r-- 1 root root 3140 Feb 17 12:13 composer.lock
525363 4 drwxr-xr-x 2 root root 4096 Feb 17 12:13 config
386770 4 -rw-r--r-- 1 root root 4095 Feb 17 12:13 console.php
428986 36 -rw-r--r-- 1 root root 34520 Feb 17 12:13 COPYING
386793 4 drwxr-xr-x 24 root root 4096 Feb 17 12:13 core
386769 8 -rw-r--r-- 1 root root 6317 Feb 17 12:13 cron.php
388330 12 drwxr-xr-x 2 root root 12288 Feb 17 12:13 dist
386767 8 -rw-r--r-- 1 root root 4122 Feb 17 12:13 .htaccess
384793 4 -rw-r--r-- 1 root root 156 Feb 17 12:13 index.html
384770 8 -rw-r--r-- 1 root root 4103 Feb 17 12:13 index.php
384795 4 drwxr-xr-x 6 root root 4096 Feb 17 12:13 lib
386763 4 -rw-r--r-- 1 root root 283 Feb 17 12:13 occ
384775 4 drwxr-xr-x 2 root root 4096 Feb 17 12:13 ocs
384771 4 drwxr-xr-x 2 root root 4096 Feb 17 12:13 ocs-provider
386765 8 -rw-r--r-- 1 root root 6005 Feb 17 12:13 package.json
384774 1780 -rw-r--r-- 1 root root 1819242 Feb 17 12:13 package-lock.json
428985 4 -rw-r--r-- 1 root root 3187 Feb 17 12:13 public.php
384792 8 -rw-r--r-- 1 root root 5597 Feb 17 12:13 remote.php
384779 4 drwxr-xr-x 4 root root 4096 Feb 17 12:13 resources
384794 4 -rw-r--r-- 1 root root 26 Feb 17 12:13 robots.txt
386771 4 -rw-r--r-- 1 root root 2452 Feb 17 12:13 status.php
386775 4 drwxr-xr-x 3 root root 4096 Feb 17 12:13 themes
386772 4 drwxr-xr-x 2 root root 4096 Feb 17 12:13 updater
428984 4 -rw-r--r-- 1 root root 101 Feb 17 12:13 .user.ini
386768 4 -rw-r--r-- 1 root root 385 Feb 17 12:13 version.php

```

---

<div class="post-metadata">

**Author:** ![LukasB-IR](https://help.nextcloud.com/letter_avatar/lukasb-ir/32/5_5575768a8748004e209b776fc1b2916d.png) [@LukasB-IR](https://help.nextcloud.com/u/LukasB-IR)\
**Post date:** [February 17, 2025, 12:07pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/5 "2025-02-17T12:07:16Z")

</div>

Okay,  
what I usually do it not setting permissions with chmod and the numbers but chown for the www-data user and group if you are using apache2.

This would need you to have to do this:

```bash
(sudo) chown -R www-data:www-data /var/www/nextcloud

```

Of cause assuming you have your nextcloud directory located there.

---

<div class="post-metadata">

**Author:** ![nemo87](https://help.nextcloud.com/letter_avatar/nemo87/32/5_5575768a8748004e209b776fc1b2916d.png) [@nemo87](https://help.nextcloud.com/u/nemo87)\
**Post date:** [February 17, 2025, 12:24pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/6 "2025-02-17T12:24:51Z")

</div>

ok, now when I reload the page it tells me that there are updates available:

> [@](#):
>
> ## Nextcloud will be updated to version 26.0.13
> 
> The following applications will be updated:
> 
> - Circles (circles)
> - Cloud Federation API (cloud\_federation\_api)
> - Contacts Interaction (contactsinteraction)
> - Dashboard (dashboard)
> - WebDAV (dav)
> - Federated file sharing (federatedfilesharing)
> - Files (files)
> - Right click (files\_rightclick)
> - Log Reader (logreader)
> - Lookup Server Connector (lookup\_server\_connector)
> - Nextcloud announcements (nextcloud\_announcements)
> - OAuth 2.0 (oauth2)
> - Password policy (password\_policy)
> - Photos (photos)
> - Privacy (privacy)
> - Provisioning API (provisioning\_api)
> - Recommendations (recommendations)
> - Related Resources (related\_resources)
> - Monitoring (serverinfo)
> - Nextcloud settings (settings)
> - Share by mail (sharebymail)
> - Support (support)
> - Usage survey (survey\_client)
> - Text (text)
> - Theming (theming)
> - Two factor backup codes (twofactor\_backupcodes)
> - User status (user\_status)
> - Viewer (viewer)
> - Weather status (weather\_status)
> - Nextcloud workflow engine (workflowengine)
> 
> Make sure you have created a backup copy of the database, config folder, and data folder before proceeding.

When I click on “start update” I get this error:  
Update to 26.0.13

An error occurred.  
Detailed logs  
An error occurred.  
if I try from terminal instead:

> [@](#):
>
> **pi@raspberrypi** : **/var/www/nextcloud $** sudo -u www-data php occ upgrade
> 
> An unhandled exception has been thrown:
> 
> OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

---

<div class="post-metadata">

**Author:** ![LukasB-IR](https://help.nextcloud.com/letter_avatar/lukasb-ir/32/5_5575768a8748004e209b776fc1b2916d.png) [@LukasB-IR](https://help.nextcloud.com/u/LukasB-IR)\
**Post date:** [February 17, 2025, 1:53pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/7 "2025-02-17T13:53:40Z")

</div>

I would hint at the php module, that has not been updatet or been installed for the current php version and checking that it is enabled:

> I used to upgrade using web UI, but it started timing out on me about 6 months ago, and I switched to using `updater.phar`. `updater.phar` never failed until today with this error. The fix was to follow the advises above:
> 
> - install `php-apcu` module
> - set `apc.enable_cli=1` in `/etc/php/7.x/mods-available/apcu.ini`
> - restart `php-fpm`
> - re-run `sudo -u www-data php updater/updater.phar` to finish the update to the latest version
> 
> Thank you so much [@MacLemon](https://github.com/MacLemon) [@Bruno666](https://github.com/Bruno666)!

This worked like a charm on Ubuntu server 20.04 running `php 7.4`. Thanks for posting!

I am referring this post from the nextcloud github

> <https://github.com/nextcloud/vm/issues/2039>
>
> \## Steps to reproduce
> 1. Open PuTTY and log in to Nextcloud
> 2. Update the VM w…ith the script: \`sudo bash /var/scripts/menu.sh\`
> 3. Attempt a minor release update
> 
> \## Expected behavior
> The update usually completes without any hiccups.
> 
> \## Actual behavior
> The script errors out with the following message:
> \`\`\`
> An unhandled exception has been thrown:
> OC\\HintException: \[0\]: Memcache \\OC\\Memcache\\APCu not available for local cache (Is the matching PHP module installed and enabled?)
> \`\`\`
> 
> \## Server configuration
> 
> \*\*Nextcloud server version:\*\* 21.0.2
> 
> \*\*Server OS\*\* 20.04.2 LTS
> 
> \*\*PHP Version\*\* 7.4
> 
> \*\*How did you install the VM?\*\* (Scripted install from master \*\*OR\*\* Released version)
> Purchased from TechAndMe.se
> 
> \## Network
> \*\*Do you use DHCP?\*\*
> No
> 
> \*\*Is port 80 and/or 443 open?\*\*
> Yes to both
> 
> \## Logs / Screenshots
> 
> 
> \#### Log file (/var/log/nextcloud/nextcloud.log)
> \`\`\`
> {"reqId":"HlrzHllugT6koEfqzcoJ","level":2,"time":"2021-06-23T18:55:02-05:00","remoteAddr":"","user":"--","app":"OC\\\\Log\\\\Rotate","method":"\>
> {"reqId":"wxFT1zguKoQ62axvDr3R","level":3,"time":"2021-06-23T19:02:40-05:00","remoteAddr":"213.70.130.70","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"WLafzNgke46jPytF22Zl","level":3,"time":"2021-06-29T14:11:28-05:00","remoteAddr":"213.70.126.219","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"muUEtUp6kTGOsc4fZQBk","level":2,"time":"2021-06-30T10:47:23-05:00","remoteAddr":"213.69.71.49","user":"0269457C-E7F6-432A-A0A5-18\>
> {"reqId":"E1pzMrN6IQocSuucHLEo","level":3,"time":"2021-06-30T12:24:46-05:00","remoteAddr":"162.41.74.90","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"FUU64O3lpfJ6QsJt3c0p","level":3,"time":"2021-06-30T12:28:44-05:00","remoteAddr":"162.41.74.210","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"yJ2GE2yyty89OcHT3IpN","level":3,"time":"2021-06-30T12:30:10-05:00","remoteAddr":"213.70.126.133","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"wPYWNP84goMQB4hZeefX","level":3,"time":"2021-06-30T12:32:11-05:00","remoteAddr":"162.41.75.13","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"zHtmkGciPWreMvzUEvBZ","level":3,"time":"2021-06-30T12:34:00-05:00","remoteAddr":"162.41.75.27","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"qQXOkOJ9NgE12hfIG7BW","level":3,"time":"2021-06-30T12:37:11-05:00","remoteAddr":"162.41.74.176","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"ejPCzT6FTe9FwdfgaINg","level":3,"time":"2021-06-30T12:42:54-05:00","remoteAddr":"162.41.75.21","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"BwApm6zeDhhlx3Cy1q4O","level":3,"time":"2021-06-30T12:44:11-05:00","remoteAddr":"162.41.74.134","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"BlQPqfAk1ZMqmLklzvNy","level":3,"time":"2021-06-30T12:48:38-05:00","remoteAddr":"108.162.216.229","user":"6DE4C6DA-602E-486D-8389\>
> {"reqId":"cv7IlHNjmeMN1qdNPIzj","level":3,"time":"2021-06-30T12:51:29-05:00","remoteAddr":"162.41.74.200","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"e5eRxC38LVGwT4TuoHGR","level":3,"time":"2021-06-30T12:53:42-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"6U0DM3UkUSKRVcqgWvEO","level":3,"time":"2021-06-30T12:55:35-05:00","remoteAddr":"162.41.74.240","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"7bbK1BAu3UnYZSqOStt9","level":3,"time":"2021-06-30T12:57:40-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"X42b6PBu3CwnTfX54oUy","level":3,"time":"2021-06-30T12:59:32-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"vpbggeo5EQuSQocnwgxL","level":3,"time":"2021-06-30T13:01:27-05:00","remoteAddr":"162.41.74.140","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"RZBHnDmSOdZykEVgWVQx","level":3,"time":"2021-06-30T13:03:27-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"4tfmHrwDpviuenXBdkTn","level":3,"time":"2021-06-30T13:05:25-05:00","remoteAddr":"162.41.75.35","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"aomEBlZS4tgkhuyvaZhQ","level":3,"time":"2021-06-30T13:07:16-05:00","remoteAddr":"162.41.75.29","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"sCNncJocMkla7r1Dxnkp","level":3,"time":"2021-06-30T13:09:31-05:00","remoteAddr":"108.162.216.241","user":"6DE4C6DA-602E-486D-8389\>
> {"reqId":"VsxdwRlCL5WNliuVkS1R","level":3,"time":"2021-06-30T13:11:31-05:00","remoteAddr":"162.41.74.130","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"OZxHnRKylZkl5jb1tebN","level":3,"time":"2021-06-30T13:13:44-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"pvvzmshhcHAOBNriZglv","level":3,"time":"2021-06-30T13:16:12-05:00","remoteAddr":"162.41.74.234","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"bPl3R1d6fUJl4m4VCPqc","level":3,"time":"2021-06-30T13:17:59-05:00","remoteAddr":"162.41.74.200","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"Nwa7rz0a4Nixp7tBb6aR","level":3,"time":"2021-06-30T13:20:14-05:00","remoteAddr":"162.41.74.206","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"bBFZdU5uKNqRXnJMFyQ1","level":3,"time":"2021-06-30T13:21:47-05:00","remoteAddr":"162.41.74.234","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"IRlX5vjZR9G75yshoduQ","level":3,"time":"2021-06-30T13:23:26-05:00","remoteAddr":"162.41.74.220","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"uAX3kI89UCw88HxJWHUI","level":3,"time":"2021-06-30T13:25:04-05:00","remoteAddr":"162.41.74.106","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"aLFO68s2KtHxzGxzPiD6","level":3,"time":"2021-06-30T13:31:36-05:00","remoteAddr":"162.41.75.29","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"p7RQU8qCFdhfk24TGfB6","level":3,"time":"2021-06-30T13:34:59-05:00","remoteAddr":"162.41.75.11","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"qmdQcWjNf3912GVNMjmn","level":3,"time":"2021-06-30T13:36:50-05:00","remoteAddr":"108.162.216.235","user":"6DE4C6DA-602E-486D-8389\>
> {"reqId":"l3YGmJRSIoAJxjg6xKHu","level":3,"time":"2021-06-30T13:38:23-05:00","remoteAddr":"162.41.74.216","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"ysrmIqNRmbouAPzuWQQA","level":3,"time":"2021-06-30T13:40:05-05:00","remoteAddr":"162.41.74.160","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"b6sxNXBg3bwfculFrzYj","level":3,"time":"2021-06-30T13:41:53-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"EHJhBN0Q52O3bb5qMe0y","level":3,"time":"2021-06-30T13:43:14-05:00","remoteAddr":"162.41.74.212","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"IG0owdOxUCYcpStDVsX0","level":3,"time":"2021-06-30T13:44:54-05:00","remoteAddr":"162.41.74.105","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"mMJg2u0RzpJsmJNO4Wbr","level":3,"time":"2021-06-30T14:06:04-05:00","remoteAddr":"162.41.74.170","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"YC8hFUL5vmLFOMAA8qOF","level":3,"time":"2021-06-30T14:19:17-05:00","remoteAddr":"213.70.127.14","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"D2WKTAIjpEYTHTs8j1fr","level":3,"time":"2021-06-30T14:23:33-05:00","remoteAddr":"213.70.126.63","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"2XNDfRVtKZMAL3upBz8n","level":3,"time":"2021-06-30T14:31:31-05:00","remoteAddr":"213.70.126.35","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"IN4J1U4FmuwI3kEexym8","level":3,"time":"2021-06-30T15:17:51-05:00","remoteAddr":"213.70.126.99","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"Zpx6iPvILQfPPXBUOX3K","level":3,"time":"2021-06-30T15:25:40-05:00","remoteAddr":"213.70.126.51","user":"6DE4C6DA-602E-486D-8389-A\>
> {"reqId":"Oz6ckYdKGtPpfVtvGFJO","level":3,"time":"2021-06-30T15:31:49-05:00","remoteAddr":"213.70.126.189","user":"6DE4C6DA-602E-486D-8389-\>
> {"reqId":"OxN6jeU6WHZc3KdGaNac","level":2,"time":"2021-07-01T09:52:05-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont\>
> {"reqId":"fSrQgt5LNamHkN9rGYSE","level":2,"time":"2021-07-01T09:52:13-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont\>
> {"reqId":"3DhBcyhtvnTNp5UglLBA","level":2,"time":"2021-07-01T09:52:37-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont\>
> \`\`\`
> 
> \#### Installation log (command output)
> \`\`\`
> All files are backed up.
> Maintenance mode enabled
> Removing old Nextcloud instance in 5 seconds...
> Extracting new package....
> Restoring config to Nextcloud...
> \[⣾⣽⣻⣾⣽⣻Setting secure permissions...
> Creating possible missing Directories
> chmod Files and Directories
> chown Directories
> ⣾⣽⣻⣾⣽⣻chmod/chown .htaccess
> \]
> An unhandled exception has been thrown:
> OC\\HintException: \[0\]: Memcache \\OC\\Memcache\\APCu not available for local cache (Is the matching PHP module installed and enabled?)
> Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
> sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off failed
> \`\`\`

You would need to use the current 8.x folder in your case.

---

<div class="post-metadata">

**Author:** ![nemo87](https://help.nextcloud.com/letter_avatar/nemo87/32/5_5575768a8748004e209b776fc1b2916d.png) [@nemo87](https://help.nextcloud.com/u/nemo87)\
**Post date:** [February 17, 2025, 2:39pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/8 "2025-02-17T14:39:43Z")

</div>

doing as you said:

> [@](#):
>
> **pi@raspberrypi** : **/var/www/nextcloud $** sudo -u www-data php updater/updater.phar
> 
> Nextcloud Updater - version: v26.0.6-13-gef27ae9 dirty
> 
> Current version is 26.0.13.
> 
> PHP Fatal error: Uncaught Error: Call to undefined function NC\Updater\curl\_init() in phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php:472
> 
> Stack trace:
> 
> #0 phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php(132): NC\Updater\Updater-\>getUpdateServerResponse()
> 
> #1 phar:///var/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(155): NC\Updater\Updater-\>checkForUpdate()
> 
> #2 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(255): NC\Updater\UpdateCommand-\>execute()
> 
> #3 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(1021): Symfony\Component\Console\Command\Command-\>run()
> 
> #4 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application-\>doRunCommand()
> 
> #5 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application-\>doRun()
> 
> #6 phar:///var/www/nextcloud/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application-\>run()
> 
> #7 /var/www/nextcloud/updater/updater.phar(14): require(‘…’)
> 
> #8 {main}
> 
> thrown in phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php on line 472

---

<div class="post-metadata">

**Author:** ![LukasB-IR](https://help.nextcloud.com/letter_avatar/lukasb-ir/32/5_5575768a8748004e209b776fc1b2916d.png) [@LukasB-IR](https://help.nextcloud.com/u/LukasB-IR)\
**Post date:** [February 17, 2025, 2:43pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/9 "2025-02-17T14:43:01Z")

</div>

Same errors with thenormal upgrade command?

```auto
sudo -u www-data php occ upgrade
```

---

<div class="post-metadata">

**Author:** ![nemo87](https://help.nextcloud.com/letter_avatar/nemo87/32/5_5575768a8748004e209b776fc1b2916d.png) [@nemo87](https://help.nextcloud.com/u/nemo87)\
**Post date:** [February 17, 2025, 2:51pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/10 "2025-02-17T14:51:27Z")

</div>

php was set to 8.4, I set it to 8.2 and…

> [@](#):
>
> sudo update-alternatives --config php  
> There are 3 choices for the alternative php (providing /usr/bin/php).
> 
> ## Selection Path Priority Status
> 
> 0 /usr/bin/php8.4 84 auto mode  
> 1 /usr/bin/php8.2 82 manual mode
> 
> - 2 /usr/bin/php8.3 83 manual mode  
> 3 /usr/bin/php8.4 84 manual mode
> 
> Press to keep the current choice[\*], or type selection number: 1  
> update-alternatives: using /usr/bin/php8.2 to provide /usr/bin/php (php) in manual mode  
> pi@raspberrypi:/var/www/nextcloud $ sudo -u www-data php occ upgrade  
> Nextcloud or one of the apps require upgrade - only a limited number of commands are available  
> You may use your browser or the occ upgrade command to do the upgrade  
> Setting log level to debug  
> Turned on maintenance mode  
> Updating database schema  
> Updated database  
> Updating \<lookup\_server\_connector\> …  
> Updated \<lookup\_server\_connector\> to 1.14.0  
> Updating …  
> Updated to 1.14.2  
> Updating \<password\_policy\> …  
> Updated \<password\_policy\> to 1.16.0  
> Updating …  
> Updated to 2.2.0  
> Updating …  
> Updated to 1.21.1  
> Updating …  
> Updated to 26.0.1  
> Updating \<cloud\_federation\_api\> …  
> Updated \<cloud\_federation\_api\> to 1.9.0  
> Updating …  
> Fix broken values of calendar objects
> 
> Done  
> 0/0 [-\>--------------------------] 0%  
> Clean up old calendar subscriptions from deleted users that were not cleaned-up  
> Done  
> 0/0 [-----\>----------------------] 0%  
> Updated to 1.25.0  
> Updating …  
> Updated to 1.16.0  
> Updating …  
> Updated to 2.8.0  
> Updating \<nextcloud\_announcements\> …  
> Updated \<nextcloud\_announcements\> to 1.15.0  
> Updating …  
> Migrate old user accessibility config  
> Done  
> 2/2 [============================] 100%  
> Updated to 2.1.1  
> Updating …  
> Updated to 1.7.0  
> Updating …  
> Updated to 7.6.0  
> Updating …  
> Updated to 1.16.0  
> Updating \<files\_rightclick\> …  
> Updated \<files\_rightclick\> to 1.5.0  
> Updating …  
> Updated to 2.11.0  
> Updating …  
> Updated to 1.10.0  
> Updating \<provisioning\_api\> …  
> Updated \<provisioning\_api\> to 1.16.0  
> Updating …  
> Updated to 1.5.0  
> Updating \<related\_resources\> …  
> Updated \<related\_resources\> to 1.1.0  
> Updating …  
> Updated to 1.16.0  
> Updating …  
> Updated to 1.8.0  
> Updating …  
> Updated to 1.9.1  
> Updating \<survey\_client\> …  
> Updated \<survey\_client\> to 1.14.0  
> Updating …  
> Updated to 3.7.2  
> Updating \<twofactor\_backupcodes\> …  
> Updated \<twofactor\_backupcodes\> to 1.15.0  
> Updating \<user\_status\> …  
> Updated \<user\_status\> to 1.6.0  
> Updating …  
> Updated to 1.10.0  
> Updating \<weather\_status\> …  
> Updated \<weather\_status\> to 1.6.0  
> Starting code integrity check…  
> Finished code integrity check  
> Update successful  
> Turned off maintenance mode  
> Resetting log level  
> pi@raspberrypi:/var/www/nextcloud $

Now, finally, I can log in to version 26, thanks

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [February 25, 2025, 2:52pm UTC](https://help.nextcloud.com/t/nextcloud-doesnt-start-after-update/217669/11 "2025-02-25T14:52:03Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
