Nextcloudpi connection problems, port 80 blocked, using DNS validation

My isp blocks port 80, so I had to use DNS validation. I ran the command:

certbot -d (my subdomain.domain.tld) --manual --preferred-challenges dns certonly

Files would sync for about a day, then I’d start getting connection errors. Restarting the raspberry pi would usually temporarily fix the issue.

Last night I changed the LAN address of my router so I wouldn’t get conflicts with accessing 192.168.1.1 through my router’s vpn on another network.

Here’s the output of sudo ncp-report:

NextCloudPi diagnostics

sudo: unable to resolve host nextcloudpi
NextCloudPi version  v1.12.7
NextCloudPi image    NextCloudPi_03-09-19
distribution         Raspbian GNU/Linux 9 \n \l
automount            yes
USB devices          sda
datadir              /media/USBdrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      433G/1.9T
rootfs usage         2.0G/15G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    15.0.6.1
HTTPD service        down
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
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               7:34

Nextcloud configuration

sudo: unable to resolve host nextcloudpi
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "2600:8805:1400:264:63ff:7994:40be:42e1",
            "1": "192.168.131.43",
            "20": "***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "15.0.6.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "jpeg_quality": "60",
        "maintenance": false,
        "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file"
    }
}

HTTPd logs

[Tue May 28 06:25:02.865799 2019] [ssl:error] [pid 940:tid 1996370160] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue May 28 06:18:35.011094 2019] [ssl:warn] [pid 585:tid 1995583728] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 28 06:18:35.020292 2019] [ssl:error] [pid 585:tid 1995583728] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: FBCE4F86FB5AAA58 / notbefore: Mar  9 16:17:33 2019 GMT / notafter: Mar  6 16:17:33 2029 GMT]
[Tue May 28 06:18:35.020366 2019] [ssl:error] [pid 585:tid 1995583728] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue May 28 06:18:35.023478 2019] [unique_id:alert] [pid 585:tid 1995583728] (EAI 3)Temporary failure in name resolution: AH01564: unable to find IPv4 address of "nextcloudpi"
AH00016: Configuration Failed
[Tue May 28 01:40:46.480070 2019] [ssl:warn] [pid 810:tid 1996402928] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 28 01:40:46.484511 2019] [ssl:error] [pid 810:tid 1996402928] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: FBCE4F86FB5AAA58 / notbefore: Mar  9 16:17:33 2019 GMT / notafter: Mar  6 16:17:33 2029 GMT]
[Tue May 28 01:40:46.484621 2019] [ssl:error] [pid 810:tid 1996402928] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue May 28 01:40:47.053905 2019] [ssl:warn] [pid 1111:tid 1996402928] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 28 01:40:47.054222 2019] [ssl:error] [pid 1111:tid 1996402928] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: FBCE4F86FB5AAA58 / notbefore: Mar  9 16:17:33 2019 GMT / notafter: Mar  6 16:17:33 2029 GMT]
[Tue May 28 01:40:47.054248 2019] [ssl:error] [pid 1111:tid 1996402928] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue May 28 01:40:48.004291 2019] [mpm_event:notice] [pid 1111:tid 1996402928] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Tue May 28 01:40:48.004500 2019] [core:notice] [pid 1111:tid 1996402928] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 28 06:25:02.593973 2019] [mpm_event:notice] [pid 1111:tid 1996402928] AH00493: SIGUSR1 received.  Doing graceful restart
[Tue May 28 06:25:02.647234 2019] [ssl:warn] [pid 1111:tid 1996402928] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 28 06:25:02.647521 2019] [ssl:error] [pid 1111:tid 1996402928] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: FBCE4F86FB5AAA58 / notbefore: Mar  9 16:17:33 2019 GMT / notafter: Mar  6 16:17:33 2029 GMT]
[Tue May 28 06:25:02.647545 2019] [ssl:error] [pid 1111:tid 1996402928] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue May 28 06:25:02.674114 2019] [unique_id:alert] [pid 1111:tid 1996402928] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "nextcloudpi"
[Tue May 28 06:25:02.696022 2019] [:emerg] [pid 1111:tid 1996402928] AH00020: Configuration Failed, exiting

Database logs

2019-05-28  6:39:27 1970463552 [Note] /usr/sbin/mysqld: Shutdown complete

2019-05-28  1:50:07 1995902768 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-05-28  1:50:07 1995902768 [Note] InnoDB: The InnoDB memory heap is disabled
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-05-28  1:50:07 1995902768 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Using Linux native AIO
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Using generic crc32 instructions
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Initializing buffer pool, size = 370.0M
2019-05-28  1:50:07 1995902768 [Note] InnoDB: Completed initialization of buffer pool
2019-05-28  1:50:08 1995902768 [Note] InnoDB: Highest supported file format is Barracuda.
2019-05-28  1:50:08 1995902768 [Note] InnoDB: 128 rollback segment(s) are active.
2019-05-28  1:50:08 1995902768 [Note] InnoDB: Waiting for purge to start
2019-05-28  1:50:09 1995902768 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1529677900
2019-05-28  1:50:09 1111487296 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-05-28  1:50:09 1995902768 [Note] Plugin 'FEEDBACK' is disabled.
2019-05-28  1:50:09 1995902768 [Note] Server socket created on IP: '127.0.0.1'.
2019-05-28  1:50:09 1995902768 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.38-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

Nextcloud logs

{"reqId":"XODEMH8AAQEAACnLewkAAAcE","level":3,"time":"2019-05-19T02:49:20+00:00","remoteAddr":"193.37.252.86","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"OC\\HintException","Message":"Memcache \\OC\\Memcache\\Redis not available for local cache","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":511,"function":"__construct","class":"OC\\Memcache\\Factory","type":"->","args":["d1eae68ab8b7780ebe41b00c2672b21d",{"__class__":"OC\\Log"},"\\OC\\Memcache\\Redis","\\OC\\Memcache\\Redis","\\OC\\Memcache\\Redis"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1533,"function":"query","class":"OC\\ServerContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":697,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1723,"function":"query","class":"OC\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":342,"function":"getAppManager","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":113,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":654,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/status.php","line":36,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php","Line":99,"Hint":"Is the matching PHP module installed and enabled?","CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.2git (Nextcloud)","version":"15.0.6.1"}
{"reqId":"XORsSX8AAQEAADwj3AoAABER","level":3,"time":"2019-05-21T21:23:21+00:00","remoteAddr":"192.168.1.186","user":"ncp","app":"PHP","method":"GET","url":"\/index.php\/settings\/admin\/activity","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/core\/f09c-be2e-jquery-ui-fixes.css.gzip): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.6.1"}
{"reqId":"XObX6H8AAQEAAAQL-8YAAAAA","level":3,"time":"2019-05-23T17:27:05+00:00","remoteAddr":"192.168.1.186","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["d1eae68ab8b7780ebe41b00c2672b21d\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1554378164"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1554378164"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":65,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":654,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/status.php","line":36,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"15.0.6.1"}
{"reqId":"XObX6H8AAQEAAAQL-8cAABIB","level":3,"time":"2019-05-23T17:27:05+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/dav\/files\/ncp\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.2git (Nextcloud)","version":"15.0.6.1"}
{"reqId":"XOdbpX8AAQEAAAQLCcoAAAAO","level":3,"time":"2019-05-24T02:49:12+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/.well-known\/security.txt","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/core\/f09c-ec50-css-variables.css): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOdbo38AAQEAAAQLCcgAAAAW","level":3,"time":"2019-05-24T02:49:13+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/sitemap.xml","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/notifications\/70e2-ec50-styles.css.deps): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOdbpX8AAQEAAAQLCcoAAAAO","level":3,"time":"2019-05-24T02:49:13+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/.well-known\/security.txt","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/notifications\/70e2-ec50-styles.css.gzip): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOdbpX8AAQEAAAQLCcoAAAAO","level":3,"time":"2019-05-24T02:49:13+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/.well-known\/security.txt","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/settings\/f09c-ec50-settings.css): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOdbpX8AAQEAAAQLCcoAAAAO","level":3,"time":"2019-05-24T02:49:13+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/.well-known\/security.txt","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/settings\/f09c-ec50-settings.css.deps): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOdbo38AAQEAAAQLCcgAAAAW","level":3,"time":"2019-05-24T02:49:13+00:00","remoteAddr":"80.82.77.139","user":"--","app":"PHP","method":"GET","url":"\/sitemap.xml","message":"unlink(\/media\/USBdrive\/ncdata\/appdata_ocmkxn4qrngc\/css\/settings\/f09c-ec50-settings.css.gzip): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#227","userAgent":"--","version":"15.0.6.1"}
{"reqId":"XOfIRn8AAQEAAEij@coAAEYG","level":3,"time":"2019-05-24T10:35:58+00:00","remoteAddr":"174.226.3.246","user":"ncp","app":"PHP","method":"GET","url":"\/remote.php\/webdav\/Gaming%20PC\/Work\/Florida%20Trip\/American%20Airlines%20(AA)%20%23676%20%e2%9c%88%2021-May-2019%20%e2%9c%88%20KCLT%20-%20KORF%20%e2%9c%88%20FlightAware.pdf","message":"DateTime::__construct(): Failed to parse time string ("6ec98b0886bc82b3fc4d07346d7c95ea") at position 0 ("): Unexpected character at \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php#133","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.23.5","version":"15.0.6.1"}
{"reqId":"XOfIRn8AAQEAAEij@csAAEYH","level":3,"time":"2019-05-24T10:35:58+00:00","remoteAddr":"174.226.3.246","user":"ncp","app":"PHP","method":"GET","url":"\/remote.php\/webdav\/Gaming%20PC\/Work\/Florida%20Trip\/American%20Airlines%20(AA)%20%23772%20%e2%9c%88%2021-May-2019%20%e2%9c%88%20KJAX%20-%20KCLT%20%e2%9c%88%20FlightAware.pdf","message":"DateTime::__construct(): Failed to parse time string ("013b9e0e4a68092691edba569db8c06f") at position 0 ("): Unexpected character at \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php#133","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.23.5","version":"15.0.6.1"}
{"reqId":"XOfhnX8AAQEAAEiis3EAABMB","level":3,"time":"2019-05-24T12:20:53+00:00","remoteAddr":"174.226.17.92","user":"ncp","app":"PHP","method":"GET","url":"\/remote.php\/webdav\/Gaming%20PC\/Work\/Florida%20Trip\/American%20Airlines%20(AA)%20%23772%20%e2%9c%88%2021-May-2019%20%e2%9c%88%20KJAX%20-%20KCLT%20%e2%9c%88%20FlightAware.pdf","message":"DateTime::__construct(): Failed to parse time string ("013b9e0e4a68092691edba569db8c06f") at position 0 ("): Unexpected character at \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php#133","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.23.5","version":"15.0.6.1"}
{"reqId":"XOfiDH8AAQEAAAQ@XUcAAAkA","level":3,"time":"2019-05-24T12:22:38+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/dav\/files\/ncp\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.2git (Nextcloud)","version":"15.0.6.1"}
{"reqId":"XOsKFsCoAYgAAAQRHgoAAEwA","level":2,"time":"2019-05-26T21:50:14+00:00","remoteAddr":"96.241.203.206","user":"--","app":"core","method":"POST","url":"\/index.php\/login?redirect_url=\/index.php\/login\/flow\/grant%3FclientIdentifier%3D%26stateToken%3DN3owLhGCNSYw0q4hkFpqLTkGkkodVTMfjwuL14E55t8qRqohifsUZW25aAZpdS1A","message":"Login failed: 'ncp' (Remote IP: '96.241.203.206')","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.23.6","version":"15.0.6.1"}
{"reqId":"XOsKhMCoAYgAAAQRHhcAAFIA","level":2,"time":"2019-05-26T21:52:05+00:00","remoteAddr":"96.241.203.206","user":"--","app":"core","method":"POST","url":"\/index.php\/login?redirect_url=\/index.php\/login\/flow\/grant%3FclientIdentifier%3D%26stateToken%3DN3owLhGCNSYw0q4hkFpqLTkGkkodVTMfjwuL14E55t8qRqohifsUZW25aAZpdS1A&user=ncp","message":"Login failed: 'ncp' (Remote IP: '96.241.203.206')","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.23.6","version":"15.0.6.1"}
{"reqId":"XOsLucCoAYgAAAQRHkgAAABD","level":3,"time":"2019-05-26T21:57:29+00:00","remoteAddr":"96.241.203.206","user":"ncp","app":"no app in context","method":"PUT","url":"\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","message":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files\/0764f6b0f32c751eb3ee47b00cc09ba7\" is locked, existing lock on file: 2 shared locks","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Common.php","line":778,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files\/0764f6b0f32c751eb3ee47b00cc09ba7",2]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":615,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files\/Enpass\/vault.enpassdbsync",2,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/View.php","line":1965,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files\/Enpass\/vault.enpassdbsync",2,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Node.php","line":361,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["\/Enpass\/vault.enpassdbsync",2]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":241,"function":"changeLock","class":"OCA\\DAV\\Connector\\Sabre\\Node","type":"->","args":[2]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1130,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":513,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Lock\/MemcacheLockingProvider.php","Line":129,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0","version":"15.0.6.1"}
{"reqId":"XOsLucCoAYgAAAQRHkUAAABA","level":3,"time":"2019-05-26T21:59:16+00:00","remoteAddr":"96.241.203.206","user":"ncp","app":"no app in context","method":"PUT","url":"\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","message":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files\/0764f6b0f32c751eb3ee47b00cc09ba7\" is locked, existing lock on file: 2 shared locks","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Common.php","line":778,"function":"changeLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files\/0764f6b0f32c751eb3ee47b00cc09ba7",2]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":615,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files\/Enpass\/vault.enpassdbsync",2,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/View.php","line":1965,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files\/Enpass\/vault.enpassdbsync",2,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Node.php","line":361,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["\/Enpass\/vault.enpassdbsync",2]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":241,"function":"changeLock","class":"OCA\\DAV\\Connector\\Sabre\\Node","type":"->","args":[2]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1130,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":513,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/***MANUALLY REMOVED SUBDOMAIN.DOMAIN.TLD***\/remote.php\/webdav\/Enpass\/vault.enpassdbsync","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Lock\/MemcacheLockingProvider.php","Line":129,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0","version":"15.0.6.1"}

I would say switch to another ISP … but this may be not possible.

hope this may help:

1 Like

I think I fixed it. I ran:
sudo certbot delete
and deleted the certificate that initially had been created with letsencrypt but wasn’t working properly because of the blocked port 80. I then reran the above command for dns validation. It’s been running for over a day now with no problems.