Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working using volume with vieux/sshfs #20

Closed
mzramna opened this issue Sep 5, 2021 · 4 comments
Closed

not working using volume with vieux/sshfs #20

mzramna opened this issue Sep 5, 2021 · 4 comments

Comments

@mzramna
Copy link

mzramna commented Sep 5, 2021

linuxserver.io

i'm trying to unify all mine pi containers volumes data into one hdd os one of them,so i installed (compiling since it does not exists officialy to armhf or arm64) vieux/sshfs to sincronize all this data using sftp,i can read and write all the files trough docker exec inside homeassistant container,but the homeassistant cannot start and it also says :
Fatal Error: Specified configuration directory /config does not exist
btw,the volume is mounted into the /config location and i can access it there trough docker exec -it /bin/bash


Expected Behavior

start the homeassistant or recognize the /config folder

Current Behavior

the homeassistant application says that the /config folder does not exist,even it been accessible inside the container and i'm able to read and write any file in there

Steps to Reproduce

  1. compile vieux/sshfs as i describe in this issue
    2.use portainer to create the volume
    3.also use portainer to get current homeassistant container and change the /config from mount to volume
    4.start the container

Environment


      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian focal (21.08.1) armv7l
     ███████████████████████     Host: Xunlong Orange Pi PC Plus
   ▄▄██                   ██▄▄   Kernel: 5.10.43-sunxi
   ▄▄██    ███████████    ██▄▄   Uptime: 13 days, 1 hour, 2 mins
   ▄▄██   ██         ██   ██▄▄   Packages: 605 (dpkg)
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.0.17
   ▄▄██   ██         ██   ██▄▄   Terminal: /dev/pts/0
   ▄▄██   █████████████   ██▄▄   CPU: Allwinner sun8i Family (4) @ 1.296GHz
   ▄▄██   ██         ██   ██▄▄   Memory: 267MiB / 999MiB
   ▄▄██   ██         ██   ██▄▄
   ▄▄██   ██         ██   ██▄▄
   ▄▄██                   ██▄▄
     ███████████████████████
      █ █ █ █ █ █ █ █ █ █ █

How docker service was installed:
docker was installed using the official installation script to docker

docker -v
Docker version 20.10.8, build 3967b7d

image

Docker logs

_Homeassistant_logs.txt

@github-actions
Copy link

github-actions bot commented Sep 5, 2021

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@j0nnymoe
Copy link
Member

j0nnymoe commented Sep 5, 2021

This is going to be a permissions issue that sshfs is introducing. Testing via docker exec isn't a true test as that logs you into the container as root. You need to specify user abc.

@github-actions
Copy link

github-actions bot commented Oct 6, 2021

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.

@mzramna
Copy link
Author

mzramna commented Oct 18, 2021

i solved the problem,was not related to home assistant but to ssh user permission due to the related volume driver

@mzramna mzramna closed this as completed Oct 18, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants