# No access to the web gui since last update to NextCloudPi v. 1.24.3

**URL:** <https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** ncp\
**Created:** [April 19, 2020, 1:48pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440 "2020-04-19T13:48:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrillo](https://help.nextcloud.com/letter_avatar/vrillo/32/5_5575768a8748004e209b776fc1b2916d.png) [@vrillo](https://help.nextcloud.com/u/vrillo)\
**Post date:** [April 19, 2020, 1:48pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/1 "2020-04-19T13:48:35Z")

</div>

I had this problem so many times before. Now there was a break for more or less 6 month. But today it happened again: After an update to NextCloudPi v. 1.24.3 I can login via terminal. But I can’t load the page anymore. “Connection refused”

 ![nextcloudpi_broken](https://help.nextcloud.com/uploads/default/original/3X/4/0/40bab916cca3781d02b645088449190da329b165.png)

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [April 19, 2020, 2:49pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/2 "2020-04-19T14:49:51Z")

</div>

Likely it has nothing to do with update  
check if your certificate is still valid with

> sudo certbot certificates

if still valid (only recently auto-renewed), try

> sudo systemctl reload apache2.service

---

<div class="post-metadata">

**Author:** ![vrillo](https://help.nextcloud.com/letter_avatar/vrillo/32/5_5575768a8748004e209b776fc1b2916d.png) [@vrillo](https://help.nextcloud.com/u/vrillo)\
**Post date:** [April 19, 2020, 3:20pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/3 "2020-04-19T15:20:44Z")

</div>

“apache2.service is not active, cannot reload.”

* * *

Look:  
NextCloudPi v1.24.3 is up to date  
Last login: Sun Apr 19 09:11:21 2020 from 192.168.178.21  
pi@nextcloudpi:~ $ sudo certbot certificates  
Traceback (most recent call last):  
File “/usr/bin/certbot”, line 11, in   
load\_entry\_point(‘certbot==0.31.0’, ‘console\_scripts’, ‘certbot’)()  
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1333, in main  
log.pre\_arg\_parse\_setup()  
File “/usr/lib/python3/dist-packages/certbot/log.py”, line 55, in pre\_arg\_parse\_setup  
temp\_handler = TempHandler()  
File “/usr/lib/python3/dist-packages/certbot/log.py”, line 243, in **init**  
stream = tempfile.NamedTemporaryFile(‘w’, delete=False)  
File “/usr/lib/python3.7/tempfile.py”, line 677, in NamedTemporaryFile  
prefix, suffix, dir, output\_type = \_sanitize\_params(prefix, suffix, dir)  
File “/usr/lib/python3.7/tempfile.py”, line 265, in \_sanitize\_params  
dir = gettempdir()  
File “/usr/lib/python3.7/tempfile.py”, line 433, in gettempdir  
tempdir = \_get\_default\_tempdir()  
File “/usr/lib/python3.7/tempfile.py”, line 368, in \_get\_default\_tempdir  
dirlist)  
FileNotFoundError: [Errno 2] No usable temporary directory found in [’/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/pi’]  
pi@nextcloudpi:~ $ sudo systemctl reload apache2.service  
apache2.service is not active, cannot reload.  
pi@nextcloudpi:~ $

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [April 19, 2020, 4:25pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/4 "2020-04-19T16:25:42Z")

</div>

Looks like something wrong with letsencrypt  
You can try

> sudo systemctl start apache2.service

followed by

> sudo systemctl status apache2.service

and try to run letsencrypt

> sudo ncp-config\>\>NETWORKING

If still not working then run

> sudo ncp-report

look for errors in there or post link to output in pastebin or similar

Can also have look at letsencrypt’s log with

> sudo cat /var/log/letsencrypt/letsencrypt.log

---

<div class="post-metadata">

**Author:** ![vrillo](https://help.nextcloud.com/letter_avatar/vrillo/32/5_5575768a8748004e209b776fc1b2916d.png) [@vrillo](https://help.nextcloud.com/u/vrillo)\
**Post date:** [April 19, 2020, 4:40pm UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/5 "2020-04-19T16:40:52Z")

</div>

pi@nextcloudpi:~ $ sudo systemctl start apache2.service  
Job for apache2.service failed because of unavailable resources or another system error.  
See “systemctl status apache2.service” and “journalctl -xe” for details.  
pi@nextcloudpi:~ $ sudo systemctl status apache2.service  
● apache2.service - The Apache HTTP Server  
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:  
Active: failed (Result: resources)  
Docs: [https://httpd.apache.org/docs/2.4/](https://httpd.apache.org/docs/2.4/)

Apr 19 09:13:33 nextcloudpi systemd[1]: apache2.service: Failed to run ‘start’ t  
Apr 19 09:13:33 nextcloudpi systemd[1]: apache2.service: Failed with result 'res  
Apr 19 09:13:33 nextcloudpi systemd[1]: Failed to start The Apache HTTP Server.  
Apr 19 09:30:20 nextcloudpi systemd[1]: apache2.service: Failed to run ‘start’ t  
Apr 19 09:30:20 nextcloudpi systemd[1]: apache2.service: Failed with result 'res  
Apr 19 09:30:20 nextcloudpi systemd[1]: Failed to start The Apache HTTP Server.  
Apr 19 09:37:45 nextcloudpi systemd[1]: apache2.service: Failed to run ‘start’ t  
Apr 19 09:37:45 nextcloudpi systemd[1]: apache2.service: Failed with result 'res  
Apr 19 09:37:45 nextcloudpi systemd[1]: Failed to start The Apache HTTP Server.  
lines 1-14/14 (END)

pi@nextcloudpi:~ $ sudo ncp-config\>\>NETWORKING  
-bash: NETWORKING: Das Dateisystem ist nur lesbar  
pi@nextcloudpi:~ $

pi@nextcloudpi:~ $ sudo ncp-report  
\<–! Paste this in GitHub report --\>

> **NextCloudPi diagnostics**
>
> ```auto
> 
> Sun Apr 19 09:41:10 2020 (10340): Fatal Error Unable to create lock file: Bad file descriptor (9)
> NextCloudPi version v1.24.3
> NextCloudPi image NextCloudPi_07-04-19
> distribution Raspbian GNU/Linux 10 \n \l
> automount yes
> USB devices sda
> datadir /var/www/nextcloud/data
> data in SD yes
> data filesystem ext2/ext3
> data disk usage 3,0G/15G
> rootfs usage 3,0G/15G
> swapfile none
> dbdir /var/lib/mysql
> Nextcloud check error
> HTTPD service down
> PHP service down
> MariaDB service down
> Redis service down
> Postfix service down
> internet check ok
> port check 80 closed
> port check 443 closed
> IP ***REMOVED SENSITIVE VALUE***
> gateway ***REMOVED SENSITIVE VALUE***
> interface eth0
> certificates ***REMOVED SENSITIVE VALUE***
> NAT loopback no
> uptime 28min
> 
> ```

> **Nextcloud configuration**
>
> ```auto
> 
> Sun Apr 19 09:41:14 2020 (10398): Fatal Error Unable to create lock file: Bad file descriptor (9)
> 
> ```

> **HTTPd logs**
>
> ```auto
> 
> [Sun Apr 19 00:00:07.759525 2020] [ssl:warn] [pid 788:tid 3070128656] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
> [Sun Apr 19 00:00:07.760756 2020] [mpm_event:notice] [pid 788:tid 3070128656] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
> [Sun Apr 19 00:00:07.760777 2020] [core:notice] [pid 788:tid 3070128656] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Apr 19 09:12:37.522695 2020] [mpm_event:notice] [pid 788:tid 3070128656] AH00491: caught SIGTERM, shutting down
> 
> ```

> **Database logs**
>
> ```auto
> 
> 2020-04-19 9:12:37 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
> 2020-04-19 9:12:37 0 [Note] Event Scheduler: Purging the queue. 0 events
> 2020-04-19 9:12:37 0 [Note] InnoDB: FTS optimize thread exiting.
> 2020-04-19 9:12:37 0 [Note] InnoDB: Starting shutdown...
> 2020-04-19 9:12:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
> 2020-04-19 9:12:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 200419 9:12:37
> 2020-04-19 9:12:38 0 [Note] InnoDB: Shutdown completed; log sequence number 2041584920; transaction id 5907945
> 2020-04-19 9:12:38 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
> 2020-04-19 9:12:38 0 [Note] /usr/sbin/mysqld: Shutdown complete
> 
> ```

> **Nextcloud logs**
>
> ```auto
> 
> {"reqId":"1iIdlaSzjuBBYwMOwbKe","level":2,"time":"2020-03-28T13:15:20+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2351104 out of 4582186 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"qOfZ9iJiViI8Vdisw8yx","level":2,"time":"2020-03-30T13:45:13+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 999435 out of 4589047 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"9MT4EZaHrvBXbrahBci7","level":2,"time":"2020-03-31T14:00:28+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 3538944 out of 4591347 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"xMfN714D4hZNkdawNIXR","level":2,"time":"2020-04-02T14:30:11+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2154688 out of 4607363 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"WltiCxvp8bYxGKVqUs5i","level":2,"time":"2020-04-03T14:30:19+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2854674 out of 4616188 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"ZrFfJjLdZbuQiUNsViu2","level":2,"time":"2020-04-04T14:45:14+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2375680 out of 4617584 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"fMthooEoPzayD4DPJIga","level":2,"time":"2020-04-05T15:00:23+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1295435 out of 4618912 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"IfAqixps8AwRf5hCiKie","level":2,"time":"2020-04-06T15:15:20+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2958674 out of 4626195 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"Xowk8M@Pz7lw2SfWImcK5wAABAs","level":3,"time":"2020-04-07T07:00:00+00:00","remoteAddr":"92.77.81.134","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"RedisException: Redis server went away at /var/www/nextcloud/lib/private/Memcache/Redis.php#54","userAgent":"Mozilla/5.0 (Linux) mirall/2.5.1git (Nextcloud)","version":"18.0.3.0"}
> {"reqId":"36TF0RpM2hNfK7SXdwJj","level":2,"time":"2020-04-07T15:15:13+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2482176 out of 4633224 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"PqnaEx4TxUyTTVPw4lEq","level":2,"time":"2020-04-08T15:30:17+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2080768 out of 4637195 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"jWx9T5gqQ9h6C5b0B4ZT","level":2,"time":"2020-04-09T15:45:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 2351435 out of 4650272 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"tkW6SXhqAvvZgZdzH4TQ","level":2,"time":"2020-04-10T16:00:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Connection timed out after 10000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"bC0hweHuBOudYuZhg7v7","level":2,"time":"2020-04-11T16:15:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1826869 out of 4664898 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"5X39hJSTE1Jnc8WmBtPn","level":2,"time":"2020-04-13T16:30:13+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1495434 out of 4672820 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"R8qanTneGU6dFxjoA5vc","level":2,"time":"2020-04-14T16:45:14+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1376256 out of 4675221 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"axKGZG9kqEjDvTGdFC8I","level":2,"time":"2020-04-15T17:00:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Connection timed out after 10001 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"Ojf0X0gSXv1W9KGBweTn","level":2,"time":"2020-04-16T17:00:17+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Connection timed out after 10001 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"FEdU8oYmRfgsflFENuH9","level":2,"time":"2020-04-17T17:15:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 3143434 out of 4696074 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> {"reqId":"OM002mDNGvDsythPBfkh","level":2,"time":"2020-04-18T17:30:12+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1551434 out of 4699753 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.3.0"}
> 
> ```

pi@nextcloudpi:~ $

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 6:29am UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/6 "2024-12-12T06:29:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 6:29am UTC](https://help.nextcloud.com/t/no-access-to-the-web-gui-since-last-update-to-nextcloudpi-v-1-24-3/78440/7 "2024-12-12T06:29:40Z")

</div>


