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. Grocy - ERP Beyond your fridge

Grocy - ERP Beyond your fridge

Scheduled Pinned Locked Moved App Wishlist
32 Posts 18 Posters 5.0k Views 18 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.
  • R Offline
    R Offline
    RoboMod
    wrote on last edited by
    #13

    Here is some update: the mobile app now supports the newest Grocy server version. I tried to get it using the Cloudron Ldap. This doesn't work out of the box but there is a patch waiting to be merged. I applied and tweaked it and can authentication as Cloudron user now.

    (I'm thinking about packaging Grocy for Cloudron but might need some help on that πŸ˜… ...)

    girishG 1 Reply Last reply
    6
    • R RoboMod

      Here is some update: the mobile app now supports the newest Grocy server version. I tried to get it using the Cloudron Ldap. This doesn't work out of the box but there is a patch waiting to be merged. I applied and tweaked it and can authentication as Cloudron user now.

      (I'm thinking about packaging Grocy for Cloudron but might need some help on that πŸ˜… ...)

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #14

      @robomod Do you have a link to the PR?

      jdaviescoatesJ 1 Reply Last reply
      0
      • girishG girish

        @robomod Do you have a link to the PR?

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #15

        @girish I'd guess this is it:
        https://github.com/grocy/grocy/pull/1380

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • R Offline
          R Offline
          RoboMod
          wrote on last edited by
          #16

          @girish @jdaviescoates Yes, it is. But its still not fully compatible to Cloudron. I'll create a patch from my changes, soon.

          andreasduerenA 1 Reply Last reply
          2
          • S Offline
            S Offline
            subtlecourage
            wrote on last edited by
            #17

            What an awesome app!

            1 Reply Last reply
            0
            • bubonicfredB Offline
              bubonicfredB Offline
              bubonicfred
              wrote on last edited by
              #18

              I sorta skimmed past this before, but I think I have a usecase for this.

              1 Reply Last reply
              1
              • R RoboMod

                @girish @jdaviescoates Yes, it is. But its still not fully compatible to Cloudron. I'll create a patch from my changes, soon.

                andreasduerenA Offline
                andreasduerenA Offline
                andreasdueren
                wrote on last edited by
                #19

                @robomod I just tried installing it in a LAMP stack but can't get LDAP to work. Anyone here successful so far?

                R 1 Reply Last reply
                1
                • humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by humptydumpty
                  #20

                  How do you get this to work in a LAMP app? 😧

                  what I did was...

                  • extracted the zip file inside the public folder of a new LAMP app
                  • changed the permissions of everything to www-data (Cloudron)

                  I got a no permission to access this page (or something of that sort). Then, I..

                  • moved all content to the "home" directory of the LAMP app
                  • moved the contents of the "public" folder that was in the zip file to the "public" folder of the LAMP app.
                  Unable to run grocy: /vendor/autoload.php not found. Have you run Composer?
                  

                  P.S. I'm trying to use a subdomain (xx.mydomain.com) and not the root domain if that makes any difference.

                  R 1 Reply Last reply
                  0
                  • humptydumptyH humptydumpty

                    How do you get this to work in a LAMP app? 😧

                    what I did was...

                    • extracted the zip file inside the public folder of a new LAMP app
                    • changed the permissions of everything to www-data (Cloudron)

                    I got a no permission to access this page (or something of that sort). Then, I..

                    • moved all content to the "home" directory of the LAMP app
                    • moved the contents of the "public" folder that was in the zip file to the "public" folder of the LAMP app.
                    Unable to run grocy: /vendor/autoload.php not found. Have you run Composer?
                    

                    P.S. I'm trying to use a subdomain (xx.mydomain.com) and not the root domain if that makes any difference.

                    R Offline
                    R Offline
                    RoboMod
                    wrote on last edited by
                    #21

                    @humptydumpty Sound like a path issue. All the folders and files for Grocy are in the "home" folder of the LAMP app. Hence, the "vendor" folder is also in the "home" folder so that the "app.php" can successfully load the path "/vendor/autoload.php". Does that help?

                    humptydumptyH 1 Reply Last reply
                    1
                    • andreasduerenA andreasdueren

                      @robomod I just tried installing it in a LAMP stack but can't get LDAP to work. Anyone here successful so far?

                      R Offline
                      R Offline
                      RoboMod
                      wrote on last edited by
                      #22

                      @andreasdueren Did you fix that in the meantime? (Sorry for not reacting 😌 )

                      1 Reply Last reply
                      0
                      • R RoboMod

                        @humptydumpty Sound like a path issue. All the folders and files for Grocy are in the "home" folder of the LAMP app. Hence, the "vendor" folder is also in the "home" folder so that the "app.php" can successfully load the path "/vendor/autoload.php". Does that help?

                        humptydumptyH Offline
                        humptydumptyH Offline
                        humptydumpty
                        wrote on last edited by humptydumpty
                        #23

                        @RoboMod that half-fixed things.(100% fixed, see below for details)

                        What I did was move all folders/files to the home folder and moved the content of the "public" folder (the one that's in the Grocy zip) to the LAMP's public folder. I'm going to check the config.php in the /data folder for path issues. Did you disable (NGINX) url rewriting?

                        Edit: Actually, your solution @RoboMod fixed the issue. I forgot I had edited the config.php base url and once reverted back to its defaults. the login page loaded and it's all working as expected. Thank you!

                        // When running grocy in a subdirectory, this should be set to the relative path, otherwise empty
                        // It needs to be set to the part (of the URL) AFTER the document root,
                        // if URL rewriting is disabled, including index.php
                        // Example with URL Rewriting support:
                        //  Root URL = https://example.com/grocy
                        //  => BASE_PATH = /grocy
                        // Example without URL Rewriting support:
                        //  Root URL = https://example.com/grocy/public/index.php/
                        //  => BASE_PATH = /grocy/public/index.php
                        Setting('BASE_PATH', '');
                        
                        // The base URL of your installation,
                        // should be just "/" when running directly under the root of a (sub)domain
                        // or for example "https://example.com/grocy" when using a subdirectory
                        Setting('BASE_URL', '/');
                        

                        Things to note for future reference:

                        • all files/folders go into the LAMP's home directory.
                        • copy over and rename config-dist.php into /data/config.php and tweak the settings like "week starts on Monday" but no need to edit the base path/url if using the domain's root or a subdomain.
                        • disable phpmyadmin per the doc instructions here
                        1 Reply Last reply
                        1
                        • micmcM micmc

                          @yusf

                          @yusf said in Grocy - ERP Beyond your fridge:

                          I can see a benefit for using it in small-scale industrial kitchens or perhaps in community kitchens but other than that, Β―_(ツ)_/Β―

                          From the website:

                          Waste less!

                          Except time that isπŸ˜†

                          Mmm, as far as I can see Cloudron can absolutely address TWO clients categories, which are BUSINESSES and FAMILIES, think about it πŸ˜‰ so that app would just be fantastic to add for that utility, and that said even for business for lists of supply needs etc. ...
                          Andy

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

                          @micmc said in Grocy - ERP Beyond your fridge:

                          @yusf

                          @yusf said in Grocy - ERP Beyond your fridge:

                          I can see a benefit for using it in small-scale industrial kitchens or perhaps in community kitchens but other than that, Β―_(ツ)_/Β―

                          From the website:

                          Waste less!

                          Except time that isπŸ˜†

                          Mmm, as far as I can see Cloudron can absolutely address TWO clients categories, which are BUSINESSES and FAMILIES, think about it πŸ˜‰ so that app would just be fantastic to add for that utility, and that said even for business for lists of supply needs etc. ...
                          Andy

                          Yes, families! This is one of the main reasons I hope that Odoo might be supported on Cloudron: to help families co-ordinate.

                          I love that Grocy can suggest recipes according to one's inventory. Maybe it will prioritize according to use-by date.

                          1 Reply Last reply
                          2
                          • saikarthikS Offline
                            saikarthikS Offline
                            saikarthik
                            wrote on last edited by
                            #25

                            Whats the status on this app? Would like to install it on my Cloudron as well.

                            1 Reply Last reply
                            0
                            • humptydumptyH Offline
                              humptydumptyH Offline
                              humptydumpty
                              wrote on last edited by
                              #26

                              Install it in a lamp app. Steps are in post above.

                              1 Reply Last reply
                              0
                              • saikarthikS Offline
                                saikarthikS Offline
                                saikarthik
                                wrote on last edited by
                                #27

                                Any reason why an app was not made for it? Is it because of the missing LDAP connector?

                                humptydumptyH timconsidineT 2 Replies Last reply
                                0
                                • saikarthikS saikarthik

                                  Any reason why an app was not made for it? Is it because of the missing LDAP connector?

                                  humptydumptyH Offline
                                  humptydumptyH Offline
                                  humptydumpty
                                  wrote on last edited by
                                  #28

                                  @saikarthik not sure, that’s above my pay grade.

                                  1 Reply Last reply
                                  0
                                  • saikarthikS saikarthik

                                    Any reason why an app was not made for it? Is it because of the missing LDAP connector?

                                    timconsidineT Offline
                                    timconsidineT Offline
                                    timconsidine
                                    App Dev
                                    wrote on last edited by
                                    #29

                                    @saikarthik said in Grocy - ERP Beyond your fridge:

                                    Any reason why an app was not made for it?

                                    Limited interest ? although it does have 19 votes, I guess.
                                    More likely because it can be deployed through the available LAMP deployment.
                                    But it seems many have a reluctance or resistance or unfamiliarity with doing this.

                                    saikarthikS 1 Reply Last reply
                                    0
                                    • timconsidineT timconsidine

                                      @saikarthik said in Grocy - ERP Beyond your fridge:

                                      Any reason why an app was not made for it?

                                      Limited interest ? although it does have 19 votes, I guess.
                                      More likely because it can be deployed through the available LAMP deployment.
                                      But it seems many have a reluctance or resistance or unfamiliarity with doing this.

                                      saikarthikS Offline
                                      saikarthikS Offline
                                      saikarthik
                                      wrote on last edited by
                                      #30

                                      @timconsidine said in Grocy - ERP Beyond your fridge:

                                      More likely because it can be deployed through the available LAMP deployment.
                                      But it seems many have a reluctance or resistance or unfamiliarity with doing this.

                                      Deploying it is easy enough but that's more maintenance. Cloudron team is not maintaining it like other apps on the app store. Could break.

                                      timconsidineT 1 Reply Last reply
                                      0
                                      • saikarthikS saikarthik

                                        @timconsidine said in Grocy - ERP Beyond your fridge:

                                        More likely because it can be deployed through the available LAMP deployment.
                                        But it seems many have a reluctance or resistance or unfamiliarity with doing this.

                                        Deploying it is easy enough but that's more maintenance. Cloudron team is not maintaining it like other apps on the app store. Could break.

                                        timconsidineT Offline
                                        timconsidineT Offline
                                        timconsidine
                                        App Dev
                                        wrote on last edited by
                                        #31

                                        @saikarthik said in Grocy - ERP Beyond your fridge:

                                        Cloudron team is not maintaining it like other apps

                                        Really ? I don't get that impression about the LAMP app. I have several deployments.

                                        At the end of the day, @staff get to choose which apps they package, because yes, maintenance is important, and if Grocy is made into a packaged app, then that falls on them, with a finite resource. Seems like you want to shift the maintenance burden to them. Fair enough in some ways, but if they don't want to take it on, none of us have a right to moan about it, or be demanding.

                                        If the app is so useful to you, I recommend it deploying it in LAMP, or building your own package and maintaining it. With no criticism of Cloudron, you could be waiting months or years for it to be an official app.

                                        saikarthikS 1 Reply Last reply
                                        1
                                        • timconsidineT timconsidine

                                          @saikarthik said in Grocy - ERP Beyond your fridge:

                                          Cloudron team is not maintaining it like other apps

                                          Really ? I don't get that impression about the LAMP app. I have several deployments.

                                          At the end of the day, @staff get to choose which apps they package, because yes, maintenance is important, and if Grocy is made into a packaged app, then that falls on them, with a finite resource. Seems like you want to shift the maintenance burden to them. Fair enough in some ways, but if they don't want to take it on, none of us have a right to moan about it, or be demanding.

                                          If the app is so useful to you, I recommend it deploying it in LAMP, or building your own package and maintaining it. With no criticism of Cloudron, you could be waiting months or years for it to be an official app.

                                          saikarthikS Offline
                                          saikarthikS Offline
                                          saikarthik
                                          wrote on last edited by
                                          #32

                                          @timconsidine I think you misunderstood me a little. Anyway, I just wanted to know the reasons why it wasn't an app. Just good to know the issues that people faced deploying as a LAMP app and also how Cloudron team decides what app should be packaged. Chill Tim.

                                          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