Replies: 2 comments
|
Railway is not a supported deployment method, you will need to figure out what differs between their setup and a default docker deployment. |
0 replies
|
This looks like a classic Railway-volume-permissions symptom rather than an InvenTree-specific bug. A few things worth checking:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am running InvenTree on Railway.app for my manufacturing business. The system has been working great for data entry, but I am completely blocked on label printing. Whenever I attempt to print a label or upload a new label template, I receive a 500 Internal Server Error.
What I have tried:
Debug Mode: I enabled "Debug Mode" in the PDF label printer plugin settings. The system still returns a 500 error instead of the raw HTML, which suggests the failure is occurring before the PDF generation stage.
Environment Variables: I attempted to manually define INVENTREE_MEDIA_ROOT and INVENTREE_MEDIA_URL in Railway to fix potential pathing issues, but this caused the deployment to fail during the build process.
Permission Suspicion: Based on the logs, it appears to be a media storage/volume permission issue where the application cannot write to the label folders.
Environment Details:
Host: Railway.app
Deployment Method: Docker
Database: PostgreSQL
Screenshots attached:
Request:
Does anyone have a working configuration for Railway volumes that handles the /media/ folder permissions correctly? I need to get this "idiot-proof" so one person can print with one click.
All reactions