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

    Errors logs to identify issues

    EspoCRM
    3
    8
    268
    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.
    • vladimir.d
      vladimir.d last edited by vladimir.d

      Hi everyone,

      I've faced with an issue when I get EspoCRM app frozen but there is nothing in logs.
      I inspected:

      1. /app/data/data/logs/espo-2021-06-10.log

      2. Full App logs downloaded from the container logs console

      3. mysql logs in the mysql docker container on the cloudron host

      What did I miss? Are Apache Error logs directed to stdout and to Full App logs?

      nebulon 1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff @vladimir.d last edited by

        @vladimir-d have you tried to restart the app? Otherwise if the problem is still there without any clue in the logs, I guess we have to debug that on your Cloudron directly.

        1 Reply Last reply Reply Quote 0
        • vladimir.d
          vladimir.d last edited by

          Yes, we are restarting the app when it gets frozen, sometimes we restart it every 5 minutes, sometimes one in an hour, it depends on the user activity.

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @vladimir.d last edited by

            @vladimir-d what is the behavior when the app is frozen? Are requests erroring or are there any errors reported in the browser inspector tools?

            vladimir.d 1 Reply Last reply Reply Quote 0
            • vladimir.d
              vladimir.d @nebulon last edited by vladimir.d

              @nebulon said in Errors logs to identify issues:

              inspector tools?

              Nothing in logs but get JS error in the console

              Screenshot 2021-06-10 at 15.12.41.png

              Behavior is that when it gets frozen, the page refreshes fine but no data loaded, the Loading... message doesn't disappear.

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

                Just to give a small update. We have it pinned down to the apache process not serving any more requests. Not sure what the exact issue is, yet.

                1 Reply Last reply Reply Quote 2
                • vladimir.d
                  vladimir.d last edited by

                  Well, we figured out that there were not enough system resources so apache was dying unexpectedly. BTW, the Graphs tab did show nothing. We increased CPU app limits significantly up to 75% so we get much less freezes now.

                  Also we implemented a Node-Red workflow to monitor actual healthstatus of the application using EspoCRM API and submit notifications to a messenger app in case of failure.

                  All of that doesn't resolve the issue but allows us to keep the system running somehow by restating the app services manually.

                  marcusquinn 1 Reply Last reply Reply Quote 1
                  • marcusquinn
                    marcusquinn @vladimir.d last edited by

                    @vladimir-d Still need to see errors printing to logs when it does still occasionally happen. Let's keep this thread open for solving that.

                    We're not here for a long time - but we are here for a good time :)
                    Jersey/UK
                    Work & Ecommerce Advice: https://brandlight.org
                    Personal & Software Tips: https://marcusquinn.com

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