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

🐛 [Resilio Sync] localdisks not yet usable #1475

Open
einheitsnamezahl123 opened this issue Jul 13, 2024 · 1 comment
Open

🐛 [Resilio Sync] localdisks not yet usable #1475

einheitsnamezahl123 opened this issue Jul 13, 2024 · 1 comment
Labels
bug Something isn't working prevent stale Prevents stale being applied

Comments

@einheitsnamezahl123
Copy link

Description

I am trying to use localdisks to use a connected drive for saving resilio folders to.

I first used localdisks=sda1 which successfully mounted the drive. But when trying to use /mnt/sda1, resilio refuses to do this "Your config file prevents you from accessing this directory." (Couldn't find the right file in the container to tweak)

That's why I also changed other paths in the config, which also seemed to work, but still didn't result in the files being saved to the right drive.


PGID: 0
PUID: 0
config_location: /config/addons_config/resiliosync
data_location: /mnt/sda1/data
downloads_location: /mnt/sda1/downloads
localdisks: sda1

Apologies, if I used it the wrong way and thanks for the great work!

Reproduction steps

Using localdisks as storage for resilio

Addon Logs

Starting...
/etc/cont-init.d/00-banner.sh: executing

-----------------------------------------------------------
 Add-on: ResilioSync
 Self-hosted file share and collaboration platform on the web
-----------------------------------------------------------
 Add-on version: 2.8.1.1390
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.4  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2024.6.3
 Home Assistant Supervisor: 2024.06.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons 
-----------------------------------------------------------
 Defining permissions for main user : 
User UID: 0
User GID : 0
-----------------------------------------------------------
/etc/cont-init.d/00-folders.sh: executing
[09:30:27] INFO: Setting config_location to /config/addons_config/resiliosync
Adapting files
Checking if folders exist
Setting ownership to 0:0
[09:30:29] INFO: Setting data_location to /mnt/sda1/data
Adapting files
Files were existing in /share/resiliosync, they will be moved to /mnt/sda1/data
Checking if folders exist
Creating /mnt/sda1/data
Creating /mnt/sda1/data/folders
Creating /mnt/sda1/data/mounted_folders
Creating /mnt/sda1/data/downloads
Setting ownership to 0:0
[09:30:30] INFO: Setting downloads_location to /mnt/sda1/downloads
Adapting files
Files were existing in /share/resiliosync_downloads, they will be moved to /mnt/sda1/downloads
Checking if folders exist
Creating /mnt/sda1/downloads
Creating /mnt/sda1/downloads/folders
Creating /mnt/sda1/downloads/mounted_folders
Creating /mnt/sda1/downloads/downloads
Setting ownership to 0:0
/etc/cont-init.d/00-global_var.sh: executing
PGID='0'
PUID='0'
config_location='/config/addons_config/resiliosync'
data_location='/mnt/sda1/data'
downloads_location='/mnt/sda1/downloads'
localdisks='sda1'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/00-local_mounts.sh: executing
---------------------------------------------------
[09:30:40] INFO: Available Disks for mounting :
NAME        LABEL           SIZE FSTYPE   RO
└─sda1      Volume          233G exfat     0
---------------------------------------------------
Supported fs :  ext3 ext2 ext4 squashfs vfat msdos f2fs fuseblk exfat
Inspired from : github.com/dianlight
---------------------------------------------------
Local Disks mounting...
... sda1 is a physical device
[09:30:42] INFO: Mounting sda1 of type exfat
[09:30:42] WARNING: exfat permissions and ACL don't works and this is an EXPERIMENTAL support
[09:30:44] INFO: Success! sda1 mounted to /mnt/sda1
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/addons_config/resiliosync/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/resiliosync/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables

... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /homeassistant/addons_config/resiliosync/resiliosync.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/90-ingress.sh: executing

Architecture

aarch64

OS

HAos

@einheitsnamezahl123 einheitsnamezahl123 added the bug Something isn't working label Jul 13, 2024
@github-actions github-actions bot added the stale Element will be closed automatically label Jul 18, 2024
Repository owner deleted a comment from github-actions bot Jul 18, 2024
@alexbelgium alexbelgium added prevent stale Prevents stale being applied and removed stale Element will be closed automatically labels Jul 18, 2024
@alexbelgium
Copy link
Owner

Hi, I'm not at my computer for the next 2 weeks but I wonder if in the config directory accessible from Filebrowser there is not a sync.conf file that allows to define whitelisted directories...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prevent stale Prevents stale being applied
Projects
None yet
Development

No branches or pull requests

2 participants