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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

When making customizations, error messages populate

Scheduled Pinned Locked Moved Unsolved Dolibarr
dolibarrerror msgerrormessage
9 Posts 2 Posters 411 Views
    • 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 Offline
    P Offline
    privsec
    wrote on last edited by
    #1

    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
    0
  • P Offline
    P Offline
    privsec
    wrote on last edited by
    #2

    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
    
    nebulonN 1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to privsec on last edited by
    #3

    @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
    0
  • P Offline
    P Offline
    privsec
    replied to nebulon on last edited by
    #4

    @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
    0
  • P Offline
    P Offline
    privsec
    wrote on last edited by
    #5

    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
    0
  • P Offline
    P Offline
    privsec
    wrote on last edited by
    #6

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

    nebulonN 1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to privsec on last edited by
    #7

    @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
    0
  • P Offline
    P Offline
    privsec
    replied to nebulon on last edited by
    #8

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

    nebulonN 1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to privsec on last edited by
    #9

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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.