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. Dolibarr
  3. Somes modules/plugins require an URL'ish/to edit the reverse proxy

Somes modules/plugins require an URL'ish/to edit the reverse proxy

Scheduled Pinned Locked Moved Dolibarr
16 Posts 3 Posters 2.9k Views 3 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    Is this about the generation of those additional public links, currently defaulting to localhost ? I don't really know dolibarr, but wouldn't that come from some config file?

    Do you have a link to the corresponding documentation on how to configure those URLs?

    JOduMonTJ 2 Replies Last reply
    0
    • nebulonN nebulon

      Is this about the generation of those additional public links, currently defaulting to localhost ? I don't really know dolibarr, but wouldn't that come from some config file?

      Do you have a link to the corresponding documentation on how to configure those URLs?

      JOduMonTJ Offline
      JOduMonTJ Offline
      JOduMonT
      wrote on last edited by
      #3

      @nebulon said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

      documentation on how to configure those URLs?

      Let's take one module at time 😉
      For example of the website module the instructions are here under Deploy | Publish your website (the last part)
      https://wiki.dolibarr.org/index.php/Module_Website

      1 Reply Last reply
      0
      • nebulonN nebulon

        Is this about the generation of those additional public links, currently defaulting to localhost ? I don't really know dolibarr, but wouldn't that come from some config file?

        Do you have a link to the corresponding documentation on how to configure those URLs?

        JOduMonTJ Offline
        JOduMonTJ Offline
        JOduMonT
        wrote on last edited by
        #4

        @nebulon said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

        localhost

        OK it might ne easier like you said, or at least for most of the modules I pointed out they seams to take their source from the config file

        inside /app/data/conf.php
        the first variable point to localhost which probably should be sub.domain.tld of the container.

        JOduMonTJ 2 Replies Last reply
        0
        • JOduMonTJ JOduMonT

          @nebulon said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

          localhost

          OK it might ne easier like you said, or at least for most of the modules I pointed out they seams to take their source from the config file

          inside /app/data/conf.php
          the first variable point to localhost which probably should be sub.domain.tld of the container.

          JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by
          #5

          @JOduMonT said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

          app/data/conf.php

          So I just replaced the first line from localhost to my sub.domain.tld then restart the app and that did the job for the modules membership, ticket and WebDAV

          But the module website still need something more

          1 Reply Last reply
          1
          • JOduMonTJ Offline
            JOduMonTJ Offline
            JOduMonT
            wrote on last edited by
            #6

            @nebulon
            the localhost issue is easy to fix

            but what about the rest?

            Do you think it is something fixable?
            How I could point multiple domain into one container such as
            dolibarr.domain.tld is the backend
            and www.domain.tld is the website generated by dolibarr through is module web

            nebulonN 1 Reply Last reply
            0
            • JOduMonTJ JOduMonT

              @nebulon
              the localhost issue is easy to fix

              but what about the rest?

              Do you think it is something fixable?
              How I could point multiple domain into one container such as
              dolibarr.domain.tld is the backend
              and www.domain.tld is the website generated by dolibarr through is module web

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #7

              @JOduMonT for multiple domains, we would need to enable multiDomain https://docs.cloudron.io/packaging/manifest/#multidomain for that app then. I think we were not aware of that requirement for Dolibarr. Alternately, depending on what is wanted, you can also setup redirect domains for the app to be reachable on other domains.

              JOduMonTJ 1 Reply Last reply
              1
              • nebulonN nebulon

                @JOduMonT for multiple domains, we would need to enable multiDomain https://docs.cloudron.io/packaging/manifest/#multidomain for that app then. I think we were not aware of that requirement for Dolibarr. Alternately, depending on what is wanted, you can also setup redirect domains for the app to be reachable on other domains.

                JOduMonTJ Offline
                JOduMonTJ Offline
                JOduMonT
                wrote on last edited by
                #8

                @nebulon said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                multiDomain https://docs.cloudron.io/packaging/manifest/#multidomain

                I saw Cloudron released a new version of Dolibarr 2 weeks ago but few issues, like this one still remain.

                It it something we could work on it ?
                this and the less important/urgent that one ?

                • https://forum.cloudron.io/topic/6507/dolibarr-is-unable-to-encrypt-the-database-password-as-recommended
                1 Reply Last reply
                0
                • JOduMonTJ JOduMonT

                  @nebulon said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                  localhost

                  OK it might ne easier like you said, or at least for most of the modules I pointed out they seams to take their source from the config file

                  inside /app/data/conf.php
                  the first variable point to localhost which probably should be sub.domain.tld of the container.

                  JOduMonTJ Offline
                  JOduMonTJ Offline
                  JOduMonT
                  wrote on last edited by JOduMonT
                  #9

                  @JOduMonT said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                  inside /app/data/conf.php

                  Still point to localhost which is not great because some modules relay on that information.

                  also that variable should point to https:// subdomain . domain . tld
                  instead of http:// subdomain . domain . tld

                  1 Reply Last reply
                  0
                  • JOduMonTJ Offline
                    JOduMonTJ Offline
                    JOduMonT
                    wrote on last edited by
                    #10
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • JOduMonTJ Offline
                      JOduMonTJ Offline
                      JOduMonT
                      wrote on last edited by
                      #11

                      at the end Dolibarr should be tag as unstable, or beta, since a lot of bugs remain.

                      girishG 1 Reply Last reply
                      0
                      • JOduMonTJ JOduMonT

                        at the end Dolibarr should be tag as unstable, or beta, since a lot of bugs remain.

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

                        @JOduMonT yes, I think it's great you are reporting the issues here. Dolibarr was initially contributed, so we didn't do as complete a vetting as we would like to. I will look into the issues.

                        JOduMonTJ 2 Replies Last reply
                        2
                        • girishG girish

                          @JOduMonT yes, I think it's great you are reporting the issues here. Dolibarr was initially contributed, so we didn't do as complete a vetting as we would like to. I will look into the issues.

                          JOduMonTJ Offline
                          JOduMonTJ Offline
                          JOduMonT
                          wrote on last edited by
                          #13

                          @girish said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                          I will look into the issues.

                          If you wonder why I show so much interest into Dolibarr; how my motivation; it's because, soon I'll move in France and Dolibarr is the only active open source project I found which respect the French law NF525 and others law related to business tax.

                          1 Reply Last reply
                          1
                          • JOduMonTJ Offline
                            JOduMonTJ Offline
                            JOduMonT
                            wrote on last edited by
                            #14

                            When I installed cryptpad, I saw it required 2 subdomains. That could be a easy way to resolve the issue with Dolibaar no ?

                            Screen Shot 2022-07-07 at 19.44.45.png

                            1 Reply Last reply
                            1
                            • girishG girish

                              @JOduMonT yes, I think it's great you are reporting the issues here. Dolibarr was initially contributed, so we didn't do as complete a vetting as we would like to. I will look into the issues.

                              JOduMonTJ Offline
                              JOduMonTJ Offline
                              JOduMonT
                              wrote on last edited by
                              #15

                              @girish said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                              @JOduMonT yes, I think it's great you are reporting the issues here. Dolibarr was initially contributed, so we didn't do as complete a vetting as we would like to. I will look into the issues.

                              @girish did you had any chance to look at it ?

                              nebulonN 1 Reply Last reply
                              0
                              • JOduMonTJ JOduMonT

                                @girish said in Somes modules/plugins require an URL'ish/to edit the reverse proxy:

                                @JOduMonT yes, I think it's great you are reporting the issues here. Dolibarr was initially contributed, so we didn't do as complete a vetting as we would like to. I will look into the issues.

                                @girish did you had any chance to look at it ?

                                nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #16

                                @JOduMonT thanks that you bring this up again. The multiDomain can easily be added, I am just wondering how I can test that it works. I don't have much clue about how to use dolibarr to be honest.

                                1 Reply Last reply
                                0
                                • jamesJ james marked this topic as a regular topic
                                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