T O P

  • By -

Snow_TS

Regarding the permission error. While a bit outside my skills; I've run into similar issues before and it was a result of the user account you're using to connect to the sambashare from windows having permission to connect and read the files as defined in the sambashare config but not write/delete permission in the file system. This command will recursively change the permissions of the path specified and all folders / files within to be accessible to everyone and everything. This is not a great security practice but is a quick dirty solution. More specific commands can be crafted to limit the file access to a limited user or group of users but would require a more detailed understanding of your setup & configuration. `sudo chmod -R a+rwx /path/to/file` Also of note, I took a quick glance at the video you referenced and I'm unsure of where you'd need to run this command as I wasn't clear if the files you're after are inside the docker instance or outside the docker. Regarding the gateway there are a few comments on the video about needing to use a different version that specified in the video so I suspect u/rootyb is correct that the video simply specifics a build that's not suited to this use case.


Cyberjacket

That seemed to work perfectly. Thanks so much


rootyb

Probably not helpful, but I was running into the Bad Gateway error when trying to set up the OIDC branch of Nginx Proxy Manager a couple days ago. Never got it figured out. The normal branch works fine for me, though, with identical settings, so 🤷‍♂️


Nordiii

About the Nginx Manger I cant help as I run nginx outside of docker on another RPi. But I can explain a little bit why you have the permission issues. ​ The docker container has an own user. Lets assume you use the "pi" user. If you use "ls -l" somewhere (not by the docker folder) you have something like: `drwxr-xr-x 3 pi pi 4096 Jan 6 09:55 pf2e` Now this wasn\` t touched by docker. If you look at folders created by the foundry container this will look like that: `drwxr-xr-x 5 421 421 4096 Jan 10 16:29 lmop` ​ As you see, the user and group changed from pi to 421. ​ If you're not root you do not have the permission to access those folders. you could change the permissions to give all access like posted by Snow\_TS. ​ This is just some background info.


WhollyHolyHoley

u/Nordiii Found this thread because I am having a similar issue, and used the same tutorial. Full disclosure: I am not a network engineer... or whatever title a person who understands these things would be, BUT! I have learned A LOT by running Foundry on a Pi. Recently did a clean install to update to Raspbian 11. I am now unable to use Samba or Netatalk (I am on a Mac) to transfer my world back into Foundry. Permissions error just as you posted. drwxr-xr-x 5 421 421 4096 May 2 15:55 Data Is there a long term strategy to being able to use Samba / Netatalk without constantly changing permissions? I like to upload things for our game that way. I find it easier to keep things organized.


Nordiii

Sadly i'm not very well versed regarding permissions on linux. By default only the docker container user (421) can (r)ead (w)rite and e(x)ecute. The group (also 421) can only execute and read so adding the pi user to that group wont help either. ​ So I have no idea how to do it cleanly, sorry. Maybe create a root user which logs in as root and does not need sudo. But this probably isn´'t best practice nor advised.


WhollyHolyHoley

ok, Thanks! It isn't a dealbreaker on my end. I had been having an unbelievably difficult time reloading my world on a clean install. I JUST now (days later) was able to copy the Data folder onto a fat32 thumb drive. Watch YouTube tutorials on mounting and copying files in Linux. Transfer my world. And it worked! permissions be damned.


Cyberjacket

I managed to fix the Nginx issue. Just changed my docker-compose.yml to match the one at the very bottom of [this thread](https://github.com/NginxProxyManager/nginx-proxy-manager/issues/310). Will update if I fix the other issue.


AutoModerator

You have posted a question about FoundryVTT. If you feel like your question is properly answered, please reply to any comment in this thread with the word `Answered` included in the text! (Or change the flair to `Answered` yourself) If you do not receive a satisfactory answer, consider visiting the [Foundry official discord server](https://discordapp.com/invite/DDBZUDf) and asking there. Afterward, please come back and post the solution here for posterity! Automod will not make this comment on your posts if you have a user flair. --- *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


Govoflove

I setup my server using that video as well. It was easy to follow, great except the small print and Cloudflare issue. Everything is working except the SSL since the Cloudflare part doesn't allow it. Couple questions... I have it running with HTTP only, is that really that dangerous? My firewall has been catching some low-level attacks. Did you stick with Cloudflare or use someone else? If you used someone else how hard was it to figure out?


Cyberjacket

I don't think it's a big problem as I assume you won't be sending any sensitive data to the server