Nextcloud on Dietpi v6.34.3 Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
cktechie
Posts: 37
Joined: Tue Jan 05, 2021 1:34 am

Re: Nextcloud on Dietpi v6.34.3

Post by cktechie »

backed-up only the Files (entire dietpi_userdata - this showed the database files as well) as well as the regular dietpi_backup folder is available

Should I backup the database as well?
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud on Dietpi v6.34.3

Post by Joulinar »

usually it should be enough. Not sure if possible but it might be good to test solution working :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cktechie
Posts: 37
Joined: Tue Jan 05, 2021 1:34 am

Re: Nextcloud on Dietpi v6.34.3

Post by cktechie »

I am doing a fresh backup of everything (will take a while) and will give it a go.. and post results here :)

Need to be ready with a working solution before June 1st (hint... Google Photos deadline ;) )
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud on Dietpi v6.34.3

Post by Joulinar »

still enough time to get t working :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cktechie
Posts: 37
Joined: Tue Jan 05, 2021 1:34 am

Re: Nextcloud on Dietpi v6.34.3

Post by cktechie »

I tried, and it failed.

1. Should I first install NextCloud on the Fresh Dietpi Install and then Restore
OR
2. Simply restore the backup on Fresh Dietpi install.

Both cases failed. When I go to the Web URL link for NextCloud, I get the error

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Looks like the mariadb.service is failing.

- Error log:
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.

Tried re-install of mariaDB, but just does not work.

Any help?
Last edited by cktechie on Wed Jan 20, 2021 5:59 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud on Dietpi v6.34.3

Post by Joulinar »

Usually first install NC and restore backup afterwards. Can you check if database server is up?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cktechie
Posts: 37
Joined: Tue Jan 05, 2021 1:34 am

Re: Nextcloud on Dietpi v6.34.3

Post by cktechie »

Looks like the mariadb.service is failing.

- Error log:
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.

Tried re-install of mariaDB, but just does not work. Should I post the error logs?
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud on Dietpi v6.34.3

Post by Joulinar »

Yes there is an error log on /var/log/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cktechie
Posts: 37
Joined: Tue Jan 05, 2021 1:34 am

Re: Nextcloud on Dietpi v6.34.3

Post by cktechie »

Which one is the exact log file I need to look for?

:/var/log$ ls -l
total 28
-rw-r--r-- 1 root root 0 Jan 11 14:27 Xorg.0.log
-rw-r--r-- 1 root root 0 Jan 11 14:17 Xorg.0.log.old
-rw-r--r-- 1 root root 420 Jan 20 08:38 alternatives.log
drwxr-xr-x 2 root root 100 Jan 20 08:39 apt
-rw-rw---- 1 root utmp 0 Jan 20 08:13 btmp
-rw-r--r-- 1 root root 0 Jan 20 08:11 dietpi-backup.log
-rw-r--r-- 1 root root 0 Dec 29 14:10 dietpi-move_userdata.log
-rw-r--r-- 1 root root 5113 Jan 20 08:39 dpkg.log
-rw-r--r-- 1 root root 0 Jan 5 10:34 fontconfig.log
-rw-rw-r-- 1 root utmp 292292 Jan 20 08:37 lastlog
drwxr-x--- 2 www-data www-data 60 Dec 29 13:28 lighttpd
drwxr-s--- 2 mysql adm 60 Dec 29 13:31 mysql
-rw------- 1 root root 564 Jan 20 08:57 php7.3-fpm.log
drwx------ 2 root root 40 Sep 10 05:33 private
drwxr-s--- 2 redis adm 60 Dec 29 13:32 redis
-rw-rw-r-- 1 root utmp 1152 Jan 20 08:37 wtmp
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud on Dietpi v6.34.3

Post by Joulinar »

Inside mysql there should be an error.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply