Closed ug30242 closed 1 year ago
Hi, have you created manually the folder, for example with my filebrowser addon?
Hi!
Sure. I've tried it with the created file directory, and I've tried it without it, but the result is the same. FYI, I'm not using HAOS, I'm using HA Supervised in Docker on Raspberry Pi 4. I understand that if you proceed to the default directory (/shared/nextcloud) during HA backup, the files stored in Nextcloud are also backed up, taking up a lot of space. Can I change the file storage space of the Next Cloud to an external hard drive?
Hi sure, for example @bobloadmire does it too. You just mount the drive through the addon options, and see in the logs where it is mounted (/mnt/xxx) then reference this folder as data folder.
Before that, you need to create the folder and chown it to the same puid/guid you are using, normally 1000:1000
Thanks for your help. But now I want to change directions and use the smb folder as the data folder. In the addon setting, I entered networkdisks in the form of //ipaddress/share, but the same error appears when I try to specify it as a data folder. Can't smb be used as a data folder?
Looking at the logs it says "Nextcloud is not installed - only a limited number of commands are available "Come out. What should I do?
thie is the log.
`cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/00-local_mounts.sh Local Disks mounting... lsblk: /dev/disk/by-label//home/smb/nextcloud: not a block device cont-init: info: /etc/cont-init.d/00-local_mounts.sh exited 32 cont-init: info: running /etc/cont-init.d/00-smb_mounts.sh Mounting smb share(s)... Using PUID 1000 and PGID 1000 [01:00:22] INFO: ... //192.168.0.74/Nextcloud successfully mounted to /mnt/Nextcloud with options ,vers=1.0,uid=1000,gid=1000,iocharset=utf8 cont-init: info: /etc/cont-init.d/00-smb_mounts.sh exited 0 cont-init: info: running /etc/cont-init.d/01-custom_script.sh [01:00:22] INFO: Execute /config/addons_autoscripts/nextcloud-ocr.sh if existing [01:00:22] INFO: ... no script found cont-init: info: /etc/cont-init.d/01-custom_script.sh exited 0 cont-init: info: running /etc/cont-init.d/01-folders.sh Setting user to 1000:1000 Updating permissions... ... Config directory : /data ... Data directory detected : /share/nextcloud Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config:system" namespace.
cont-init: info: /etc/cont-init.d/01-folders.sh exited 1 cont-init: info: running /etc/cont-init.d/02-init_steps.sh Cleaning files Setting logs `
Data directory detected : /share/nextcloud
you're setting data directory to the wrong location. Reinstall nextcloud and specify /mnt/nextcloud at the setup GUI. the YAML config doesn't really work for data location, you have to do it at setup, make sure the network share is mounted before setup.
Thanks, indeed. And make sure that you refer all smb infos in the addon options first to make sure that the data directory will well be available when you install nextcloud
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which addon?