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

TrueNas Install - Cannot figure this out - Keep getting 'You don't have permissions to access this.' #3153

Open
samyun76 opened this issue Apr 24, 2024 · 2 comments

Comments

@samyun76
Copy link

samyun76 commented Apr 24, 2024

Description
Install on VM of Truenas scale. Have installed several times, followed several tutorials. This will not install correctly. I keep getting 'You don't have permissions to access this' when logging in and trying to access the share folder that I assigned at installation.

Expected behaviour
Be able to control files int the share.

What is happening instead?
Have no access to write, read, or edit. Get a 403 Error at the bottom of the window.

Additional context

How to reproduce?
Any install of this on my machine results in this error.

Files

@samyun76 samyun76 changed the title Cannot figure this out - 'You don't have permissions to access this.' TrueNas Install - Cannot figure this out - Keep getting 'You don't have permissions to access this.' Apr 24, 2024
@mooglestiltzkin
Copy link

mooglestiltzkin commented Apr 28, 2024

Description Install on VM of Truenas scale. Have installed several times, followed several tutorials. This will not install correctly. I keep getting 'You don't have permissions to access this' when logging in and trying to access the share folder that I assigned at installation.

Expected behaviour Be able to control files int the share.

What is happening instead? Have no access to write, read, or edit. Get a 403 Error at the bottom of the window.

Additional context

How to reproduce? Any install of this on my machine results in this error.

Files

dont use vm.

use jailmaker for truenas if you want to setup docker containers.

https://www.youtube.com/watch?v=S0nTRvAHAP8

https://www.truenas.com/docs/scale/scaletutorials/apps/sandboxes/

https://github.com/Jip-Hop/jailmaker

during the setup process for the jail docker config, you need to specify in the config the bind mounts for your datasets located on the datasets outside the jailmaker dataset.

then in docker compose the pathing you use, is the bind location you had set for jailmaker.

example

in jailmaker u have

	--bind='/mnt/tank/docker/:/mnt/docker'
	--bind='/mnt/tank/docker/compose/:/mnt/compose'
	--bind-ro='/mnt/tank2/media:/mnt/media'
	--bind-ro='/mnt/tank2/media2:/mnt/media2'

then in compose for filebrowser you add e.g.

    volumes:
      - /mnt/media:/srv/Storage:ro
      - /mnt//mnt/media2:/srv/media2:ro
      - /mnt/docker/data/filebrowser/config/settings.json:/config/settings.json
      - /mnt/docker/data/filebrowser/config/database.db:/database.db

jailmaker don't mess with the acls. just follow the guide to setup then don't touch.
https://www.truenas.com/docs/scale/scaletutorials/apps/sandboxes/

for the datasets outside your jailmaker dataset, make sure their acls are correct if you are getting permission issues.

@mooglestiltzkin
Copy link

there is also an ongoing healthy bug not yet fixed
#3139

waiting for them to fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants