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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved When making customizations, error messages populate

    Dolibarr
    dolibarr error msg error message
    2
    9
    361
    Loading More Posts
    • 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.
    • P
      privsec last edited by

      Whenever I try to customize a module I get the following error

      Failed to open log file /app/data/dolibarr/dolibarr.log
      

      In addition, this occurs at the top of the browsers page

      Failed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.logFailed to open log file /app/data/dolibarr/dolibarr.log 
      
      1 Reply Last reply Reply Quote 0
      • P
        privsec last edited by

        To add to this issue, according to the site log whenever I try to make a change I get this error message

        Aug 13 03:29:38 [Fri Aug 13 09:29:38.199643 2021] [php7:warn] [pid 79] [client x.x.x.x:xxxx] PHP Warning: fopen(/app/data/dolibarr/dolibarr.log): failed to open stream: Permission denied in /app/code/htdocs/core/modules/syslog/mod_syslog_file.php on line 148, referer: https://sub.domain.com/admin/ihm.php
        
        nebulon 1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff @privsec last edited by

          @privsec that folder should be writeable by the application, however can you explain what you exactly do when you say "try to cusomize a module"? I am no expert in dolibarr but if I can reproduce this, I am sure we can sort this permission issue out.

          P 1 Reply Last reply Reply Quote 0
          • P
            privsec @nebulon last edited by

            @nebulon Absolutely! I will explain below. However, It also appears on the login screen as well.

            0d087f2d-835d-46de-9410-1d41f6ca0f62-image.png

            After logging in, I get

            afeaaaeb-99d6-48ca-819b-a60ca9f0f639-image.png

            I then click on Setup> Setup -> Modules/Applications

            I have the following enabled

            6c22bcfb-32ec-4980-ae9b-7093e28281bf-image.png
            db3268a1-caa1-4dd4-92f8-7fab8d0a0099-image.png
            38607a7d-fb27-4eab-9fb3-6d246bc97ae4-image.png 735b8082-0ff5-4ddf-afc6-0929e7a132b9-image.png d7328f21-cf1a-49c6-83a6-08cccc7057f1-image.png 7f5e8f95-c2e3-4f31-a790-dbad3f5fd310-image.png 024fcbb0-8740-4649-a0d5-f606ec579722-image.png
            c5fe75d5-08aa-478c-9075-fa296603a194-image.png
            8fc68b72-041b-41de-b888-c49c86def6d0-image.png 1b9d9aec-1640-4d2b-8322-1f8f1446b142-image.png

            1 Reply Last reply Reply Quote 0
            • P
              privsec last edited by

              I have confirmed that the file exists and it contains material.

              I currently am not live with Dolibarr but I just set it up and activated all of those modules, after activating them - that is when all of these error messages above started presenting.

              I believe it has to do with the enabled modules

              1 Reply Last reply Reply Quote 0
              • P
                privsec last edited by

                Not sure why this got marked as resolved, but it is still an issue

                nebulon 1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff @privsec last edited by

                  @privsec at least for me it is still marked as "unsolved", I haven't had time to follow your detailed instructions, but thanks for guiding me with screenshots.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    privsec @nebulon last edited by

                    @nebulon No problem. If you need more information, please let me know.

                    nebulon 1 Reply Last reply Reply Quote 0
                    • nebulon
                      nebulon Staff @privsec last edited by

                      @privsec I enabled all modules you were showing in the screenshots but I cannot reproduce the log file issue. Is there anything else you configured? Also can you check via the webterminal what the permissions of the log file in question are?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB