Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Horilla - Open Source HR Software

Horilla - Open Source HR Software

Scheduled Pinned Locked Moved App Wishlist
27 Posts 9 Posters 2.7k Views 12 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie
    Partner
    wrote on last edited by BrutalBirdie
    #21

    For now I've identified the following folders as runtimeDirs meaning, they need read-write access. Explanation behind runtimeDirs 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 be read-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.

    Like my work? Consider donating a drink. Cheers!

    N 1 Reply Last reply
    2
    • BrutalBirdieB BrutalBirdie

      For now I've identified the following folders as runtimeDirs meaning, they need read-write access. Explanation behind runtimeDirs 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 be read-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.

      N Offline
      N Offline
      nikhilravi
      wrote on last edited by
      #22

      @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?

      1 Reply Last reply
      1
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #23

        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
        

        Like my work? Consider donating a drink. Cheers!

        N 1 Reply Last reply
        1
        • BrutalBirdieB BrutalBirdie

          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
          
          N Offline
          N Offline
          nikhilravi
          wrote on last edited by
          #24

          @BrutalBirdie Yes, it should🤔

          1 Reply Last reply
          1
          • jfrereJ jfrere

            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!

            https://github.com/horilla-opensource/horilla/

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by
            #25

            @jfrere https://forum.cloudron.io/topic/12472/please-use-this-template-to-make-an-app-wishlist-request

            1 Reply Last reply
            0
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote last edited by
              #26

              This is on version 1.3.1 now. Time to have another look @BrutalBirdie ? 🙂

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • BrutalBirdieB Offline
                BrutalBirdieB Offline
                BrutalBirdie
                Partner
                wrote last edited by
                #27

                If I find the time 😬

                Like my work? Consider donating a drink. Cheers!

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search