$datadir
is set inside dietpi scripts and can't be simply used. You would need to replace it with the correct path or do your own scripting to have it defined.Nextcloud on Dietpi v6.34.3 Topic is solved
Re: Nextcloud on Dietpi v6.34.3
just to avoid misunderstanding,
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Nextcloud on Dietpi v6.34.3
sure, acknowledged!
Will keep the updates posted... will be doing this tonight, slowly one thing at a time
Just want to make sure that If i go with NC, and if the setup crashes, I can re-build it back to where it was, and appreciate all the support and help I have received!!
Will keep the updates posted... will be doing this tonight, slowly one thing at a time

Just want to make sure that If i go with NC, and if the setup crashes, I can re-build it back to where it was, and appreciate all the support and help I have received!!
Re: Nextcloud on Dietpi v6.34.3
If you're storing only files/pictures on Nextcloud, most important is to keep/backup files on the disk. The rest, like database and users can be build manually. As you have seen, we could gain access to database as well we created a new admin user. And in theory you could scan ol files on file system level to get them visible on Nextcloud.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Nextcloud on Dietpi v6.34.3
@Joulinar Is there any option, where I can simply scan a folder of all the images and import (link) within the NextCloud, without the need to import the Database?
If you're storing only files/pictures on Nextcloud, most important is to keep/backup files on the disk.
Re: Nextcloud on Dietpi v6.34.3
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Nextcloud on Dietpi v6.34.3
I did run it, but did not scan the images, is it meant to scan all the images?
Re: Nextcloud on Dietpi v6.34.3
files are scanned for user existing in NextCloud only.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Nextcloud on Dietpi v6.34.3
Good and bad news... I was able to successfully backup & restore the NC on Dietpi..
After restore, I am able to login, and seeing preview of some photos, but unable to open. Gives an error.
I did run the ncc files:scan --all however access to files is not happening.
Any file permission issue?
After restore, I am able to login, and seeing preview of some photos, but unable to open. Gives an error.
I did run the ncc files:scan --all however access to files is not happening.
Any file permission issue?
Re: Nextcloud on Dietpi v6.34.3
did you ensure data path to the documents is correct? and what are permissions on your pictures?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Nextcloud on Dietpi v6.34.3
Found one other thread to fix permission on nextcloud data
running this and rebooting the Dietpi RPi
Code: Select all
sudo chown -R www-data:www-data /mnt/dietpi_userdata/nextcloud_data