Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Move a file from data to appdata

Featured Replies

Hi guys,

i've noticed that i have files accessed many times a day, located in my arrey.

I would like to move them to my cache nvme but some of them are inside a docker container data folder.

 

Example:

i would like to move this file

/mnt/disk1/nextcloud/nextcloud.log

from arrey to

/mnt/user/appdata/nextcloud/data/nextcloud.log

is it possible?

I tried setting up a path in my docker container with no luck

 

P.S. I need to move just 1 file, not the whole folder

 

Thanks

 

Edited by Armisael81

  • Author

ok, i switched to mnt/user for both, but i get this error

 

 

docker run
  -d
  --name='nextcloud'
  --net='bridge'
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Sacha-UnNAS"
  -e HOST_CONTAINERNAME="nextcloud"
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='https://[IP]:[PORT:443]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nextcloud-logo.png'
  -p '444:443/tcp'
  -v '/mnt/user/nextcloud/':'/data':'rw'
  -v '/mnt/user/appdata/nextcloud/nextcloud.log':'/data/nextcloud.log':'rw'
  -v '/mnt/user/appdata/nextcloud':'/config':'rw'
  --device='/dev/dri' 'lscr.io/linuxserver/nextcloud'

1b47bb2a567350d84417b0453f6b9dff4bf825f4cacfea0e6387eb1cfebbc674
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/mnt/user/appdata/nextcloud/nextcloud.log" to rootfs at "/data/nextcloud.log": mount /mnt/user/appdata/nextcloud/nextcloud.log:/data/nextcloud.log (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Comando Fallito.

  • Community Expert

I you trying to move a file or change a container path?

  • Author

Move the file and change the path

  • Community Expert

OK, sorry but can't help with the container error, you should be able to get help in the container support thread/discord:

 

docker support.JPG

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.