CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

Syncthing issue, problem syncing from PC to hard drive connected to PI

Open clothlust opened this issue 3 years ago • 2 comments

Describe the bug Unable to sync folder from PC to a Casa (installed on a PI). Error on syncthing: Failed to create folder root directory mkdir /mnt/homenas: permission denied, folder path is missing.

Its an external drive connected to the PI & jellyfin/navidrome works well; detecting the external drive & its content

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

error

Desktop (please complete the following information):

  • OS: windows 11
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

clothlust avatar Feb 09 '22 11:02 clothlust

To add more information, it appears the /DATA/ folder and /mnt/ folders aren't mounted as volumes in the inbuilt syncthings container meaning the only place we can sync files from is the config folder somewhere in AppData. When you look at the app store version the /DATA/ folder is mounted as a volume by default. But not the inbuilt version. This doesn't seem intentional.

HafdisE avatar Jun 19 '22 16:06 HafdisE

+1 as I'm also experiencing this issue. The in-built syncthings does not have access to /root/DATA/mydrive so it can never sync to an external drive.

A similar issue to OP happens when I try to install syncthings from the store. With the store installation you can access the container variables and add your own volume but Syncthings still has no write permissions to the mounted drive.

image

altShiftDev avatar Jun 24 '22 00:06 altShiftDev

Converting this to discussion due to that Syncthing is no longer part of CasaOS feature set, due to its complexity to integrate. This issue should be considered as a question toward a CasaOS app, like many other CasaOS app questions.

tigerinus avatar Oct 21 '22 20:10 tigerinus