Jump to content

Recommended Posts

Posted (edited)

Hello. I am a new user of the armbian. I installed nextcloud from armbian-config. Need docker to have access to the file system. I want to place the nextcloud files in the home directory, which is mounted on another partition. I don't understand how to give docker access to my file system.  I didn't find the necessary setting in armbian-config. I'm stuck on initial setup

Edited by konsD
Posted
21 hours ago, konsD said:

I want to place the nextcloud files in the home directory, which is mounted on another partition

 

By default we mount all containers (data and config) folders under /armbian which has rights of 1st normal user of the OS - most expected use case scenario. If you want more complex deployment, you need to create your own Docker run / compose and mount containers folder elsewhere or try to bind mount what you need - on the OS level. Armbian-config is designed for inexperienced Linux users that would likely use default setup scenario. We purpusefully don't allow too many config options which would be confusing or / and would require additional learning in the process of installation.

 

If you want to do it more on your own, please check this article https://docs.linuxserver.io/images/docker-nextcloud/ This is the fundation behind armbian-config way.

Posted

It may be possible to change the mount parameters of an already installed docker container. Is it possible to add mount options?

Posted

Not via armbian-config. This is just a very simply way to do an initial setup. Here is the code that basically happens behind the scenes:

https://github.com/armbian/configng/blob/main/tools/modules/software/module_nextcloud.sh

So nothing fancy. just a docker run command.

 

I personally prefer using docker-compose.yml instead of endless docker commands. Stuff is well-arranged and after adjusting like mounts down, up and ready to go.

As mentioned above for customized installation please refer to the origin of the nextcloud container linuxserver.io. I am pretty sure they have examples for docker compose as well.

Posted
3 часа назад, Werner сказал:

Not via armbian-config

I understand that. It can probably be done with /lib/systemd/system/docker.service?

I used to install the nextcloud manually, but it was very tedious.

I don't know docker at all, so I have difficulties with it

Where can I see the error logs?

 

Снимок экрана_20250312_223844.png

Снимок экрана_20250312_224458.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines