Database
i read a lot, that gives problems with update 14.0.1
I get the same picture like here Nextcloud suddenly stops working
I tray the solution like there.
Can somebody check my “ncp-report” please ? It looks like NCP don`t find the database
NextCloudPi diagnostics
grep: /etc/mysql/mariadb.conf.d/90-ncp.cnf: No such file or directory
NextCloudPi version v0.62.6
NextCloudPi image untagged
distribution Raspbian GNU/Linux 9 \n \l
automount yes
USB devices sda
datadir /media/USBdrive/ncdata
data in SD no
data filesystem ext2/ext3
data disk usage 44G/917G
rootfs usage 2.9G/15G
swapfile /media/USBdrive/swapfile
dbdir (doesn't exist)
Nextcloud check ok
Nextcloud version 13.0.6.1
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 eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 2days
thanks nachoparker for response. Only for secure
I follow these steps to backup and don`t change the path from the original config.
nc-backup
nc-export-ncp
I have all my data on HDD (USBdrive). Can i now take out the SD Card, put the newest NCP image on it and put i t back again ?
I`m not 100% shure, how i handle that, that my data stays on external HDD.
Its everything ok when after fresh installation i put back the backups (tut from site before)
“Restoring a backup including your data” ?
Excuse but for me its not so clear what i need to do for the newest and clearest install.
One thing you can do if you only care about data is to replace the SDcard and then modify /var/www/nextcloud/config/config.php to point to the hard drive location, then you can run nc-scan and you should be good.
But if you do it this way you will lose your Nextcloud accounts, calendars and so on, you will have to do that again.
thanks again. Maybe i wrote not clearly. Thats the point i don`t want to do.
I also want let the accounts, calendars etc.
I already start with new SD Card but don´t have change it yet.
I have think to put the new one and start to write back “nc-export-ncp” and everything is like before.
Now i know why i scare to do something new with my NCP. I moment the most thing work like before but i also know, thats not my solution and i know the next problems will come again with my old installation.
If you don’t want to lose your calendars and stuff, then just replace the SD card, and restore a backup. You should have the backups in your hard drive /media/USBDrive/ncp-backups or similar
Ok. I am back. I made like @nachoparker told me. Everything is like before. 1 thing don’t work like in the tutorial - the WebGui. But this i will ask in a new post.
Here a new nc-report
NextCloudPi diagnostics
NextCloudPi version v0.62.6
NextCloudPi image NextCloudPi_10-05-18
distribution Raspbian GNU/Linux 9 \n \l
automount yes
USB devices sda
datadir /media/USBdrive/ncdata
data in SD no
data filesystem ext2/ext3
data disk usage 44G/917G
rootfs usage 2.2G/15G
swapfile /media/4cbb233e-2788-47bc-8b73-3ba5f271bfae/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 14.0.1.1
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 eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 2days
[Thu Oct 11 06:25:02.727878 2018] [ssl:warn] [pid 926:tid 1996394880] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 11 06:25:03.000568 2018] [mpm_event:notice] [pid 926:tid 1996394880] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Thu Oct 11 06:25:03.000633 2018] [core:notice] [pid 926:tid 1996394880] AH00094: Command line: '/usr/sbin/apache2'
Database logs
@nachoparker: is now everythink like it must be ? I mean up to date etc. that i don’t have any problems in the future ?