Closed Charles-IV closed 5 years ago
See the wiki documentation to see how to restore the password. If still in doubt, please use the forums, this is only for bug tracking.
Thanks
Apologies if i forgot to mention it in the first post, but i have reset the password several times through the NextCloudPi interface, and the issue persists. I did ask on the forums, and they said this was a bug with the curl installer. Unfortunately I need to use my raspberry pi for several other things, and setting it up again with a nextcloudpi image would be unfeasible.
Assuming that this is caused by the database bug that was already fixed I would recommend you to just try again over a clean Debian instance.
We know for a fact that current version works.
thanks, I will try on a vm or spare sd card and let you know.
EDIT: I have been told this is a duplicate of #755 however it looks different to me. Please close it if it, but either way you have an extra set of logs now. EDIT: This does not seem to be a duplicate, as that issue but the fix unfortunately hasn't solved this one.
I recently installed nextcloud with the nextcloudpi curl installer. It was a bit of a bumpy ride, but after installing all of the missing php modules, the web interface seems all well and good.
However, when I try to log in to the default ncp account, it tells me I have the wrong password. Before trying, I had changed the password in the ncp interface, and discarded the original random one ncp generated for me. I’ve tried resetting the password through the NCP web interface, ncp-config and sudo -u www-data php occ user:resetpassword ncp, and still none of these worked. I then updates to nextcloud 15 and ran nc-init, with still no avail.
I also created a new user with the occ command, and couldn’t log in as this user either. I have attempted to log in through a browser and client application on my computer and phone.
I have also checked that the system time on my Pi is correct through date, as I saw this mentioned online. Any ideas? Thanks
System information
NextCloudPi diagnostics
``` NextCloudPi version v0.67.11 distribution Raspbian GNU/Linux 9 \n \l automount yes USB devices sda datadir /var/www/nextcloud/data data in SD yes data filesystem ext2/ext3 data disk usage 8.7G/13G rootfs usage 8.7G/13G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 15.0.0.10 HTTPD service up PHP service up MariaDB service up Redis service up Postfix service up internet check ok port check 80 open port check 443 open IP ***REMOVED SENSITIVE VALUE*** gateway ***REMOVED SENSITIVE VALUE*** interface wlan0 certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no uptime 8:16 ```Nextcloud configuration
``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "1": "192.168.1.99", "5": "nextcloudpi.local", "7": "nextcloudpi", "8": "nextcloudpi.lan", "9": "ncp.charles-iv.uk" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "15.0.0.10", "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": "\/var\/www\/nextcloud\/data\/tmp", "mail_smtpmode": "sendmail", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https" } } ```HTTPd logs
``` [Fri Jan 04 17:41:35.573282 2019] [:error] [pid 6088] [client 162.158.142.96:9066] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:41:35.573612 2019] [:error] [pid 6088] [client 162.158.142.96:9066] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:44:30.620157 2019] [:error] [pid 4871] [client 162.158.155.76:54342] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:44:30.620427 2019] [:error] [pid 4871] [client 162.158.155.76:54342] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:49:14.399842 2019] [:error] [pid 4861] [client 172.69.226.133:61942] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:49:14.400097 2019] [:error] [pid 4861] [client 172.69.226.133:61942] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:51:29.725599 2019] [mpm_prefork:notice] [pid 4857] AH00169: caught SIGTERM, shutting down [Fri Jan 04 17:51:30.009922 2019] [ssl:warn] [pid 6361] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 04 17:51:31.125863 2019] [ssl:warn] [pid 6362] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 04 17:51:31.127006 2019] [http2:warn] [pid 6362] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/intl.so' - /usr/lib/php/20151012/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: Module 'apc' already loaded in Unknown on line 0 [Fri Jan 04 17:51:32.040494 2019] [mpm_prefork:notice] [pid 6362] AH00163: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2q configured -- resuming normal operations [Fri Jan 04 17:51:32.040733 2019] [core:notice] [pid 6362] AH00094: Command line: '/usr/sbin/apache2' [Fri Jan 04 17:52:15.782824 2019] [:error] [pid 6372] [client 162.158.114.42:54360] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 17:52:15.783083 2019] [:error] [pid 6372] [client 162.158.114.42:54360] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 18:08:14.814796 2019] [:error] [pid 6381] [client 162.158.59.6:33500] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 18:08:14.815078 2019] [:error] [pid 6381] [client 162.158.59.6:33500] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 18:15:40.631603 2019] [:error] [pid 6386] [client 162.158.142.96:31002] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/LineageOTA/index.php on line 25 [Fri Jan 04 18:15:40.631878 2019] [:error] [pid 6386] [client 162.158.142.96:31002] PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/LineageOTA/index.php on line 25 ```Database logs
``` 2019-01-04 9:28:30 1996115984 [Note] InnoDB: Highest supported file format is Barracuda. 2019-01-04 9:28:30 1996115984 [Note] InnoDB: The log sequence number 163560046 in ibdata file do not match the log sequence number 170300265 in the ib_logfiles! 2019-01-04 9:28:30 1996115984 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer... 2019-01-04 9:28:31 1996115984 [Note] InnoDB: 128 rollback segment(s) are active. 2019-01-04 9:28:31 1996115984 [Note] InnoDB: Waiting for purge to start 2019-01-04 9:28:31 1996115984 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 170300265 2019-01-04 9:28:32 1379922736 [Note] InnoDB: Dumping buffer pool(s) not yet started 2019-01-04 9:28:32 1996115984 [Note] Plugin 'FEEDBACK' is disabled. 2019-01-04 9:28:32 1996115984 [Note] Recovering after a crash using tc.log 2019-01-04 9:28:32 1996115984 [Note] Starting crash recovery... 2019-01-04 9:28:32 1996115984 [Note] Crash recovery finished. 2019-01-04 9:28:32 1996115984 [Note] Server socket created on IP: '127.0.0.1'. 2019-01-04 9:28:32 1996115984 [ERROR] mysqld: Table './mysql/user' is marked as crashed and should be repaired 2019-01-04 9:28:32 1996115984 [Warning] Checking table: './mysql/user' 2019-01-04 9:28:32 1996115984 [ERROR] mysql.user: 1 client is using or hasn't closed the table properly 2019-01-04 9:28:32 1996115984 [ERROR] mysqld: Table './mysql/db' is marked as crashed and should be repaired 2019-01-04 9:28:32 1996115984 [Warning] Checking table: './mysql/db' 2019-01-04 9:28:32 1996115984 [ERROR] mysql.db: 1 client is using or hasn't closed the table properly 2019-01-04 9:28:32 1996115984 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.1.35-MariaDB-1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Raspbian testing-staging ```Nextcloud logs
``` {"reqId":"XC@GeH8AAQEAAAew5gYAAAAN","level":3,"time":"2019-01-04T16:14:48+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login?user=ncp","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gp38AAQEAAANT@dAAAAAH","level":3,"time":"2019-01-04T16:15:37+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login?user=ncp","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAANT@dUAAAAH","level":3,"time":"2019-01-04T16:15:38+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/theming\/styles?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAAerlEgAAAAM","level":3,"time":"2019-01-04T16:15:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/theming\/js\/theming?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAANJLqgAAAAF","level":3,"time":"2019-01-04T16:15:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/theming\/image\/logo?v=0&useSvg=1","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAAexEIAAAAAO","level":3,"time":"2019-01-04T16:15:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/theming\/image\/logo?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAAM-RF4AAAAD","level":3,"time":"2019-01-04T16:15:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/accessibility\/js\/accessibility?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gqn8AAQEAAANT@dcAAAAH","level":3,"time":"2019-01-04T16:15:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/theming\/image\/background?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gtn8AAQEAAAew5ggAAAAN","level":2,"time":"2019-01-04T16:15:52+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"POST","url":"\/index.php\/login?user=ncp","message":"Login failed: 'ncp' (Remote IP: '127.0.0.1')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gtn8AAQEAAAew5ggAAAAN","level":3,"time":"2019-01-04T16:15:52+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"POST","url":"\/index.php\/login?user=ncp","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@GuX8AAQEAAAew5gkAAAAN","level":3,"time":"2019-01-04T16:15:53+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login?user=ncp","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"15.0.0.10"} {"reqId":"XC@Gwn8AAQEAAAM2ioAAAAAC","level":3,"time":"2019-01-04T16:16:02+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login\/flow","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gw38AAQEAAAMwtPoAAAAA","level":3,"time":"2019-01-04T16:16:03+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=7d5229ff","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gw38AAQEAAAM2ioQAAAAC","level":3,"time":"2019-01-04T16:16:03+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/js\/core\/merged-template-prepend.js?v=7d5229ff-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gw38AAQEAABLWXeUAAAAE","level":3,"time":"2019-01-04T16:16:03+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/js\/core\/merged-share-backend.js?v=7d5229ff-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gw38AAQEAAAerlE4AAAAM","level":3,"time":"2019-01-04T16:16:04+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/apps\/accessibility\/js\/accessibility?v=0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gyn8AAQEAAAM-RF8AAAAD","level":3,"time":"2019-01-04T16:16:10+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login\/flow\/grant?clientIdentifier=&stateToken=OkPhiFf0ReoEZpNZzPWSmY94Iee1SSpgDBd6ySdwAYg0i03Cho02vpQcctJkazya","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gyn8AAQEAAAM-RGAAAAAD","level":3,"time":"2019-01-04T16:16:10+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/login?redirect_url=\/index.php\/login\/flow\/grant%3FclientIdentifier%3D%26stateToken%3DOkPhiFf0ReoEZpNZzPWSmY94Iee1SSpgDBd6ySdwAYg0i03Cho02vpQcctJkazya","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gyn8AAQEAAAM-RGEAAAAD","level":3,"time":"2019-01-04T16:16:10+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=7d5229ff","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} {"reqId":"XC@Gyn8AAQEAAAew5gsAAAAN","level":3,"time":"2019-01-04T16:16:11+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"\/index.php\/js\/core\/merged-login.js?v=7d5229ff-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.1git (Nextcloud)","version":"15.0.0.10"} ```