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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. GLPI - Asset and IT Management Software

GLPI - Asset and IT Management Software

Scheduled Pinned Locked Moved App Wishlist
17 Posts 7 Posters 3.6k Views 7 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.
  • jimcavoliJ jimcavoli

    Just pushed updates to https://git.cloudron.io/jimcavoli/glpi-app that include a fix in the manifest as well as the version to the newly released GLPI 9.5.3

    M Offline
    M Offline
    msbt
    App Dev
    wrote on last edited by msbt
    #8

    @jimcavoli nice, thanks, gonna check it out soon! I've tried Snipe-IT, but the lack of putting documents/snippets anywhere made it unusable for me. Still using an ancient version of iTop I've packaged at some point for my inventory and docs, but this seems to be a decent replacement.

    Happy Hosting & Web Development

    jimcavoliJ 1 Reply Last reply
    1
    • M msbt

      @jimcavoli nice, thanks, gonna check it out soon! I've tried Snipe-IT, but the lack of putting documents/snippets anywhere made it unusable for me. Still using an ancient version of iTop I've packaged at some point for my inventory and docs, but this seems to be a decent replacement.

      jimcavoliJ Offline
      jimcavoliJ Offline
      jimcavoli
      App Dev
      wrote on last edited by
      #9

      @msbt Good stuff! Let us know what you think as well. There's a lot of caveats presently, as described above, when it comes to plugins, but the core feature set is pretty good already on its own, so if it's useful enough as an alternative to other systems without extension, perhaps it's worth pressing on.

      M 1 Reply Last reply
      1
      • jimcavoliJ jimcavoli

        @msbt Good stuff! Let us know what you think as well. There's a lot of caveats presently, as described above, when it comes to plugins, but the core feature set is pretty good already on its own, so if it's useful enough as an alternative to other systems without extension, perhaps it's worth pressing on.

        M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #10

        @jimcavoli I've installed that thing the other day and boy, this is a monster compared to my current ITIL solution. Not quite happy with some of the userflow (took me a while to figure out how to make my cloudron user an admin), but I'll play around with it some more.

        Happy Hosting & Web Development

        1 Reply Last reply
        2
        • V Offline
          V Offline
          vitetj
          wrote last edited by james
          #11

          Hi everyone đź‘‹

          I’d like to share a first functional draft of GLPI 11 packaged for Cloudron.
          It’s not a finished or “official” package yet, but the foundation is already solid and clean, and follows Cloudron best practices.

          👉 Git repository:
          https://github.com/vitetj/Cloudron-GLPI

          Current state

          GLPI 11.x

          MySQL via Cloudron addon

          Persistent data stored in /app/data

          Intentional manual installation via CLI script (for safety and clarity)

          Cloudron post-install message (red warning box) to guide admins

          Idempotent initialization script (init-glpi.sh)

          Clean start.sh with no hidden automation

          The goal was to build something that is:

          admin-friendly

          maintainable

          Cloudron-native

          explicit rather than “magic”

          What’s coming next

          I plan to continue improving the package with:

          GLPI cron tasks (via Cloudron Cron)

          Cloudron SMTP integration

          LDAP / SSO

          additional hardening and cleanup

          better admin documentation

          This is very much a work in progress, but I wanted to share early to get feedback from the Cloudron community, especially on:

          the installation flow

          the manual post-install approach

          the overall package architecture

          Any feedback is welcome 👍

          1 Reply Last reply
          5
          • C Offline
            C Offline
            charlesnw
            wrote last edited by
            #12

            Awesome! Would love to help with SSO. Any pointers where to start for hacking on that?

            1 Reply Last reply
            1
            • V Offline
              V Offline
              vitetj
              wrote last edited by
              #13

              thank you — in GLPI you can fully configure authentication directly via the CLI, since all auth settings are stored in the database.

              The idea is simply to inject the configuration at install time, during the app initialization phase, instead of doing anything in the GUI.

              In a Cloudron context, that means:
              • Enable the ldap addon in CloudronManifest.json
              • Let Cloudron inject the LDAP environment variables
              • Use the GLPI CLI (bin/console) to create and enable the LDAP directory
              • Do all of this inside the init script, once the database is ready

              Example of what I’m planning to wire into init-glpi.sh:

              php bin/console glpi:ldap:create
              --default
              --active
              --name="Cloudron LDAP"
              --host="${CLOUDRON_LDAP_URL#ldap://}"
              --port=389
              --basedn="ou=users,${CLOUDRON_LDAP_BASE_DN}"
              --rootdn="${CLOUDRON_LDAP_BIND_DN}"
              --rootdn-pass="${CLOUDRON_LDAP_BIND_PASSWORD}"
              --login-field="username"
              --email-field="mail"
              --firstname-field="givenName"
              --realname-field="sn"
              --use-tls=0

              This config is written directly to the GLPI database, so no UI interaction is required.

              I haven’t tested this end-to-end yet — I’m a bit short on time this week — but from GLPI’s CLI and schema, this should be the correct approach. I’ll validate and clean it up when I have more bandwidth.

              V 1 Reply Last reply
              2
              • V vitetj

                thank you — in GLPI you can fully configure authentication directly via the CLI, since all auth settings are stored in the database.

                The idea is simply to inject the configuration at install time, during the app initialization phase, instead of doing anything in the GUI.

                In a Cloudron context, that means:
                • Enable the ldap addon in CloudronManifest.json
                • Let Cloudron inject the LDAP environment variables
                • Use the GLPI CLI (bin/console) to create and enable the LDAP directory
                • Do all of this inside the init script, once the database is ready

                Example of what I’m planning to wire into init-glpi.sh:

                php bin/console glpi:ldap:create
                --default
                --active
                --name="Cloudron LDAP"
                --host="${CLOUDRON_LDAP_URL#ldap://}"
                --port=389
                --basedn="ou=users,${CLOUDRON_LDAP_BASE_DN}"
                --rootdn="${CLOUDRON_LDAP_BIND_DN}"
                --rootdn-pass="${CLOUDRON_LDAP_BIND_PASSWORD}"
                --login-field="username"
                --email-field="mail"
                --firstname-field="givenName"
                --realname-field="sn"
                --use-tls=0

                This config is written directly to the GLPI database, so no UI interaction is required.

                I haven’t tested this end-to-end yet — I’m a bit short on time this week — but from GLPI’s CLI and schema, this should be the correct approach. I’ll validate and clean it up when I have more bandwidth.

                V Offline
                V Offline
                vitetj
                wrote last edited by vitetj
                #14

                Technical update: LDAP authentication is now working.

                The fix was to move the whole LDAP setup into start.sh and make it fully deterministic:
                • wait for the MySQL service to be reachable
                • inject the LDAP configuration directly into glpi_authldaps using Cloudron-provided env vars
                • clear GLPI cache
                • run an explicit ldap:sync

                This avoids init-time race conditions and inconsistent behavior observed with glpi:ldap:create alone.
                Current repo reflects the working implementation.

                edit : My bad i just fix the marketplace directory permissions with symlink to persistent storage
                Should be ok now 🙂

                1 Reply Last reply
                5
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote last edited by
                  #15

                  @vitetj great stuff! I have asked @vladimir.d to look into this so we can get it published. Was there a reason to use LDAP and not OIDC ? https://help.glpi-project.org/doc-plugins/oauthsso ? Also, if we may reuse your work, can you please put in a LICENSE file at https://github.com/vitetj/Cloudron-GLPI ? Any opensource license (MIT, GPL etc) will work.

                  V 1 Reply Last reply
                  1
                  • girishG girish

                    @vitetj great stuff! I have asked @vladimir.d to look into this so we can get it published. Was there a reason to use LDAP and not OIDC ? https://help.glpi-project.org/doc-plugins/oauthsso ? Also, if we may reuse your work, can you please put in a LICENSE file at https://github.com/vitetj/Cloudron-GLPI ? Any opensource license (MIT, GPL etc) will work.

                    V Offline
                    V Offline
                    vitetj
                    wrote last edited by
                    #16

                    @girish said in GLPI - Asset and IT Management Software:

                    @vitetj great stuff! I have asked @vladimir.d to look into this so we can get it published. Was there a reason to use LDAP and not OIDC ? https://help.glpi-project.org/doc-plugins/oauthsso ? Also, if we may reuse your work, can you please put in a LICENSE file at https://github.com/vitetj/Cloudron-GLPI ? Any opensource license (MIT, GPL etc) will work.

                    Hey — thanks! 🙂

                    On OIDC: the plugin you linked (oauthsso) is not free (it’s available through a GLPI subscription / GLPI Network), which is why I went with LDAP for a default setup.

                    That said, OIDC is definitely on my todo list. There are community/free options we can build on for OIDC SSO, for example:
                    https://github.com/edgardmessias/glpi-singlesignon

                    And yes — happy to help with reuse: I’ll add a LICENSE file to https://github.com/vitetj/Cloudron-GLPI so it can be published/used properly.

                    1 Reply Last reply
                    2
                    • nebulonN Away
                      nebulonN Away
                      nebulon
                      Staff
                      wrote last edited by
                      #17

                      To update here and avoid duplication of work, @vladimir.d got pretty much over the finish line for an initial package release, I think just some more tests need fixing. The repo is at https://git.cloudron.io/packages/glpi-app and it is using the here suggested glpi-singlesignon plugin. Seems to work well in my tests.

                      1 Reply Last reply
                      3
                      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