Nextcloud 403 Forbidden - Truenas Scale

jdn

Cadet
Joined
Mar 26, 2022
Messages
1
I installed Nextcloud using the Applications section and put down the default config. Now I am getting the below error. I have put the files in one of the Samba share folders. Please help...
I am using below folders-
1648324673874.png


1648324639067.png


1648324695892.png
 

Attachments

  • 1648324555971.png
    1648324555971.png
    59.3 KB · Views: 229

shui136

Cadet
Joined
Jun 19, 2022
Messages
1
I used the default path instead but got the same result. Have you solved it yet?
 

copz1998

Dabbler
Joined
Sep 5, 2022
Messages
22
Good day,
I have the same issue. When I enable - Storage - Nextcloud Storage Data volume - /mnt/nas-name/nextcloud and select the same host path volume, I receive the 403 Forbidden error when trying to use the web portal for Nextcloud.

Any suggestions would be much appreciated!
 

[Str1n]

Cadet
Joined
Feb 3, 2023
Messages
2
I got it to work as follows (using TrueNAS-SCALE-22.12.0):

Base URL abbreviated as {BURL}

1) For the userName specified in NextCloud settings {BURL}/ui/apps, go to {BURL}/ui/credentials/users and add "www-data" group to that user's profile .

2) Then for the Host Path for NextCloud Data Volume specified in NextCloud settings {BURL}/ui/apps, add permissions for the "www-data" User group to that Dataset path.
 

[Str1n]

Cadet
Joined
Feb 3, 2023
Messages
2
CORRECTION to above - sorry :confused:
Just realised its setting operational permissions as User, not Group
----------------------------------------------------------------------------------------------------------------------

I got it to work as follows (using TrueNAS-SCALE-22.12.0):

Base URL abbreviated as {BURL}

==> For the Host Path for NextCloud Data Volume specified in NextCloud settings {BURL}/ui/apps, add permissions for the "www-data" User to that Dataset path.
 
Top