-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[BUG]: Unable to create folder in docker container #3319
Comments
BTW, if you just want to have a docker image for arm, you don't need to change the dockerfile, the current one (in the past, at least) builds on arm with no changes. You can even build directly from the git link without downloading anything. |
I assume you referencing the ghcr image. I just rented a plain hetzner arm64/v8:
|
Sorry, there aren't any other logs than what I have provided. Sadly it form did force me to put in a link.
|
No as I said, you just need to build the image on your machine. The python:3.10 image is a multiplatform one with support for linux/arm64/v8. You do not need to modify the dockerfile in any way to get an arm64/v8 build. Alternatively, modmail could supply a multiplatform image with arm support so this whole song and dance doesn't have to be done. |
The project's Dockerfile has been updated to fix the issue. |
Bot Version
v4.1.0
How are you hosting Modmail?
Other
Error Logs
https://www.toptal.com/developers/hastebin
Screenshots
PermissionError: [Errno 13] Permission denied: '/modmailbot/temp' Traceback (most recent call last): File "/modmailbot/bot.py", line 57, in <module> os.mkdir(temp_dir) PermissionError: [Errno 13] Permission denied: '/modmailbot/temp'
Additional Information
With v4.1.0 somehow my docker container has issues letting the Python script creating the temp folder within the modmailbot folder. I did modify the Python image to reflect my OS. And solved the issue with:
The text was updated successfully, but these errors were encountered: