Web Dashboard with permissions

Hello,
I am new to TrueNAS Servers and I want to set up a NAS for me and my team.

I’ve managed to set up a Pool with a Dataset called “Luebu1” and inside this dataset u have another Dataset called “mtec”.

Now I want to have a private folder for every User and a shared folder for everyone (“mtec”)
The user folders were created as a home directory in the credentials manager.

I have managed to set up a SMB share without any trouble and I managed to set up the permissions correctly.

Now I want to make my NAS available over a Dashboard from outside my network.

How can I set this up and how can I use the permission that I’ve setup already?

PS: I don’t wanna use a vpn, because my colleges use many different devices over the day and it would be to difficult to set up a vpn on every device

Why? The dashboard is solely for administrative actions.

Do you mean you want your users to be able to access their files outside of your network?

PS: Welcome to the forums :blush:

Sorry for the misunderstanding.

I want to set up a kind of website with a login where my colleagues can access their files.
Like Google Drive or similar.

Ah ok that makes sense. If VPN is out of the question for whatever reason then I’d consider something like Nextcloud. This works very much like Google Drive or Dropbox if you like.

Do you have experience in setting up Nextcloud? I’ve heard many negative comments about it.

Would I’d be possible, to use my existing permission in Nextcloud, so I don’t have to set up everything twice?

I and my colleagues also wanna use SMB access because sometimes it’s easier to move files inside the explorer and would be faster when you are inside the network with your laptop.

Exactly this, really whether or not a VPN is in use. The TrueNAS web interface doesn’t let you manage your files in any event; if you want that capability, Nextcloud is the most robust way to go.

What negative comments? Really, Nextcloud or its cousin Owncloud are the only games in town for what you’re describing, but both are complex web applications. I have lots of experience setting up Nextcloud, but not under TrueNAS SCALE.

It should be; you’d use the External Storage app for that purpose IIRC.

1 Like

We run it in our Enterprise and it’s brilliant. CERN run it so if it’s good enough for them…

Thanks for your help as far.

Ive tried to install Nextcloud, but im running into a little problem.
My TrueNAS Server runs on the IP 192.168.178.250 and ive set the Nextcloud IP during the installation to 192.168.178.251 but im getting a timeout error.
I have tried adding the port, but i doesnt makes any difference

In order to be able to help you with an app issue we need to know which version of TrueNAS you have as well as exactly how you set Nextcloud up.

You mentioning assigning a different IP to Nextcloud makes me think you have an older version of SCALE or at the very least set Nextcloud up in a non-standard way.

I am running ElectricEel-24.10.1.

Here are some Screenshots of my Nextcloud installation.

I’ve set the Nextcloud IP to the same as my Truenas Server, but I am still getting the same error






I see a lot of ixVolumes there, those are not supposed to be used for anything but a test, as any data stored there is volatile at best.

Please read the documentation, especially the bit explaining storage volumes and associated datasets:

Also, when setting up host paths, make sure have the correct permissions set up, this might help explain how to do that:

Hey,
Thanks for your help!

Ive now managed to install Nextcloud successfully, but im having a little problem.
When i try to access the nextcloud dashboard i get this error:

Access via an untrusted domain

Please contact your administrator. If you are an administrator, edit the “trusted_domains” setting in config/config.php. See example in config/config.sample.php.

Further information on configuration can be found in the documentation.

I looked in the config.php, but i cant find the problem.

‘trusted_domains’ =>
array (
0 => ‘127.0.0.1’,
1 => ‘192.168.178.250.30027’,
2 => ‘localhost’,
3 => ‘nextcloud’,
),
);

EDIT: I think i found the error. I have put a . instead of a : during the installation.
I changed it, but now i get redirected to the TrueNAS Login page.

Yeah, the line starting with 1 there doesn’t look right.
Good that you spotted it yourself!

But now, I get redirected to the TrueNAS Login Page under 192.168.178.250 when I try to access Nextcloud over 192.168.178.250:30027

I am not sure how to solve that, but I did find this, perhaps it’s something you could try?

Mhhhhh. I am not really sure how to use this post in relation to my Problem. Do you know if there is an .htaccess in the nextcloud installation? Maybe something is wrong there, because i instantly get redirected to the Host IP. Other Apps work just fine.

Which link did you click?
htaccess is not mentioned in the topic I linked.

This is the thread I suggested you read, circled in red:

OMG Thanks!

This worked for me!
I was about to go nuts.

1 Like