Horilla - Open Source HR Software
-
For now I've identified the following folders as
runtimeDirs
meaning, they needread-write
access. Explanation behindruntimeDirs
in the context of Cloudron => https://docs.cloudron.io/packaging/manifest/#runtimedirs
Many are the case because__pycache__
is being written into them and also from migrations:"runtimeDirs": [ "/app/code/horilla_documents", "/app/code/payroll", "/app/code/.venv/", "/app/code/facedetection", "/app/code/geofencing", "/app/code/helpdesk", "/app/code/pms", "/app/code/recruitment", "/app/code/accessibility", "/app/code/asset", "/app/code/horilla_api", "/app/code/offboarding", "/app/code/horilla_audit", "/app/code/horilla_crumbs", "/app/code/horilla_automations", "/app/code/horilla_backup", "/app/code/horilla", "/app/code/attendance", "/app/code/onboarding", "/app/code/horilla_views", "/app/code/biometric", "/app/code/employee", "/app/code/leave", "/app/code/base", "/app/code/notifications", "/app/code/project" ]
This is "meh".
The core application should beread-only
, I remember I tried to do:uv run manage.py makemigrations uv run manage.py migrate uv run manage.py compilemessages
inside the Dockerfile to have all that as
read-only
but then there were still errors
Will have to look into that again. -
For now I've identified the following folders as
runtimeDirs
meaning, they needread-write
access. Explanation behindruntimeDirs
in the context of Cloudron => https://docs.cloudron.io/packaging/manifest/#runtimedirs
Many are the case because__pycache__
is being written into them and also from migrations:"runtimeDirs": [ "/app/code/horilla_documents", "/app/code/payroll", "/app/code/.venv/", "/app/code/facedetection", "/app/code/geofencing", "/app/code/helpdesk", "/app/code/pms", "/app/code/recruitment", "/app/code/accessibility", "/app/code/asset", "/app/code/horilla_api", "/app/code/offboarding", "/app/code/horilla_audit", "/app/code/horilla_crumbs", "/app/code/horilla_automations", "/app/code/horilla_backup", "/app/code/horilla", "/app/code/attendance", "/app/code/onboarding", "/app/code/horilla_views", "/app/code/biometric", "/app/code/employee", "/app/code/leave", "/app/code/base", "/app/code/notifications", "/app/code/project" ]
This is "meh".
The core application should beread-only
, I remember I tried to do:uv run manage.py makemigrations uv run manage.py migrate uv run manage.py compilemessages
inside the Dockerfile to have all that as
read-only
but then there were still errors
Will have to look into that again.@BrutalBirdie The problem is likely due to the media folder being owned by root, while the application server (typically running as a non-root user inside Cloudron) doesn't have read access.
Can you confirm whether the Cloudron running user has the access for the same? -
Agree it should not be run as root. but if everything runs as root, should work, right?
ps uax USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2696 1408 pts/0 Ss+ 07:32 0:00 sleep infinit root 105 1.0 0.0 0 0 ? Z 07:37 0:51 [python3] <de root 270 10.4 0.0 0 0 ? Z 07:45 7:26 [python3] <de root 1101 0.0 0.0 5144 3968 pts/2 Ss+ 07:58 0:00 /bin/bash root 1736 0.0 0.0 4588 3840 pts/1 Ss 08:25 0:00 /bin/bash root 1748 0.0 0.0 4324 3328 pts/1 S+ 08:25 0:00 /bin/bash ./s root 1797 0.0 0.1 63092 15104 pts/1 Sl+ 08:26 0:00 uv run manage root 1800 0.7 2.9 1165820 234612 pts/1 Sl+ 08:26 0:13 /app/code/.ve root 1811 13.6 3.4 1911068 272500 pts/1 Sl+ 08:26 4:00 /app/code/.ve root 1918 0.0 0.0 5016 4096 pts/3 Ss+ 08:27 0:00 /bin/bash root 2108 2.5 0.0 5016 3968 pts/4 Ss 08:56 0:00 /bin/bash root 2120 0.0 0.0 8332 3968 pts/4 R+ 08:56 0:00 ps uax
-
Agree it should not be run as root. but if everything runs as root, should work, right?
ps uax USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2696 1408 pts/0 Ss+ 07:32 0:00 sleep infinit root 105 1.0 0.0 0 0 ? Z 07:37 0:51 [python3] <de root 270 10.4 0.0 0 0 ? Z 07:45 7:26 [python3] <de root 1101 0.0 0.0 5144 3968 pts/2 Ss+ 07:58 0:00 /bin/bash root 1736 0.0 0.0 4588 3840 pts/1 Ss 08:25 0:00 /bin/bash root 1748 0.0 0.0 4324 3328 pts/1 S+ 08:25 0:00 /bin/bash ./s root 1797 0.0 0.1 63092 15104 pts/1 Sl+ 08:26 0:00 uv run manage root 1800 0.7 2.9 1165820 234612 pts/1 Sl+ 08:26 0:13 /app/code/.ve root 1811 13.6 3.4 1911068 272500 pts/1 Sl+ 08:26 4:00 /app/code/.ve root 1918 0.0 0.0 5016 4096 pts/3 Ss+ 08:27 0:00 /bin/bash root 2108 2.5 0.0 5016 3968 pts/4 Ss 08:56 0:00 /bin/bash root 2120 0.0 0.0 8332 3968 pts/4 R+ 08:56 0:00 ps uax
@BrutalBirdie Yes, it should
-
Hi guys, do you think this could be added to Cloudron app store? For an HR manager, this tool would be very helpful. Thank you.
Horilla HRMS offers all the features you would expect from your favorite Open Source HR Software and much more. It's free & open-source!