Announcement

Collapse
No announcement yet.

Has anyone seen something like this?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Has anyone seen something like this?

    I was getting bad server response after making changes all day with no problem. So, losing all, I restored from last nights back up and immediately got Bad Server Response every few seconds.

    Please see screen shot.

    Before I wiped out todays changes, the host reported this error they were seeing on their end
    • Looking at the logs for the Espo CRM, it looks like the site is failing to load a repository as shown in the error log (/home/aristonc/public_html/sdespo/data/logs/espo-2020-08-24.log):
    • 2020-08-24 21:29:55] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /home/aristonc/public_html/sdespo/application/Espo/ORM/EntityManager.php line 165 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /home/aristonc/public_html/sdespo/application/Espo/ORM/EntityManager.php:165)"} []
    I'm sorta at a loss now because I thought it was a browser/fingerprint issue but I have been using a different one and today I didn't do anything but restore a version that was just fine yesterday.

    So either the restore doesn't work or maybe my Softacuous Installer was incomplete?

    Worst timing as the client is of course now logging in to check out the changes

    Any thoughts? "No hope, reinstall from scratch is ok too...
    Attached Files

  • #2
    Host was able to restore from 5am however I started working a 8am :/
    Oh well work to do!

    Comment


    • #3
      any one getting this?
      • You may have been affected by an update to settings in embedded timelines. See https://twittercommunity.com/t/depre...ettings/102295.
      • a.twitter-timeline
        accessKey: ""
        accessKeyLabel: ""
        assignedSlot: null
        attributes: NamedNodeMap(4) [ class="twitter-timeline", href="https://twitter.com/EspoCRM", data-widget-id="563271765854806016", … ]
        baseURI: "https://s.espocrm.com/?version=5.9.3&css=https%3A%2F%2Fariston153.com%2F sdespo%2Fclient%2Fcss%2Fespo%2Fespo-vertical.css%3Fr%3D1598222125"
        charset: ""
        childElementCount: 0
        childNodes: NodeList [ #text ]
        children: HTMLCollection { length: 0 }
        classList: DOMTokenList [ "twitter-timeline" ]
        className: "twitter-timeline"
        clientHeight: 0
        clientLeft: 0
        clientTop: 0
        clientWidth: 0
        contentEditable: "inherit"
        contextMenu: null
        coords: ""
        dataset: DOMStringMap { widgetId → "563271765854806016", twitterExtractedI1598313678966359265 → "true" }
        dir: ""
        download: ""
        draggable: true
        firstChild: #text "Tweets by @EspoCRM"
        firstElementChild: null
        hash: ""
        hidden: false
        host: "twitter.com"
        hostname: "twitter.com"
        href: "https://twitter.com/EspoCRM"
        hreflang: ""
        id: ""
        innerHTML: "Tweets by @EspoCRM"
        innerText: "Tweets by @EspoCRM"
        isConnected: false
        isContentEditable: false
        lang: ""
        lastChild: #text "Tweets by @EspoCRM"
        lastElementChild: null
        localName: "a"
        name: ""
        namespaceURI: "http://www.w3.org/1999/xhtml"
        nextElementSibling: null
        nextSibling: null
        nodeName: "A"
        nodeType: 1
        nodeValue: null
        offsetHeight: 0
        offsetLeft: 0
        offsetParent: null
        offsetTop: 0
        offsetWidth: 0
        onabort: null
        onanimationcancel: null
        onanimationend: null
        onanimationiteration: null
        onanimationstart: null
        onauxclick: null
        onblur: null
        oncanplay: null
        oncanplaythrough: null
        onchange: null
        onclick: null
        onclose: null
        oncontextmenu: null
        oncopy: null
        oncuechange: null
        oncut: null
        ondblclick: null
        ondrag: null
        ondragend: null
        ondragenter: null
        ondragexit: null
        ondragleave: null
        ondragover: null
        ondragstart: null
        ondrop: null
        ondurationchange: null
        onemptied: null
        onended: null
        onerror: null
        onfocus: null
        onformdata: null
        onfullscreenchange: null
        onfullscreenerror: null
        ongotpointercapture: null
        oninput: null
        oninvalid: null
        onkeydown: null
        onkeypress: null
        onkeyup: null
        onload: null
        onloadeddata: null
        onloadedmetadata: null
        onloadend: null
        onloadstart: null
        onlostpointercapture: null
        onmousedown: null
        onmouseenter: null
        onmouseleave: null
        onmousemove: null
        onmouseout: null
        onmouseover: null
        onmouseup: null
        onmozfullscreenchange: null
        onmozfullscreenerror: null
        onpaste: null
        onpause: null
        onplay: null
        onplaying: null
        onpointercancel: null
        onpointerdown: null
        onpointerenter: null
        onpointerleave: null
        onpointermove: null
        onpointerout: null
        onpointerover: null
        onpointerup: null
        onprogress: null
        onratechange: null
        onreset: null
        onresize: null
        onscroll: null
        onseeked: null
        onseeking: null
        onselect: null
        onselectstart: null
        onshow: null
        onstalled: null
        onsubmit: null
        onsuspend: null
        ontimeupdate: null
        ontoggle: null
        ontransitioncancel: null
        ontransitionend: null
        ontransitionrun: null
        ontransitionstart: null
        onvolumechange: null
        onwaiting: null
        onwebkitanimationend: null
        onwebkitanimationiteration: null
        onwebkitanimationstart: null
        onwebkittransitionend: null
        onwheel: null
        origin: "https://twitter.com"
        outerHTML: "<a class="twitter-timeline" href="https://twitter.com/EspoCRM" data-widget-id="563271765854806016" data-twitter-extracted-i1598313678966359265="true">Tweets by @EspoCRM</a>"
        ownerDocument: HTMLDocument https://s.espocrm.com/?version=5.9.3...ston153.com%2F sdespo%2Fclient%2Fcss%2Fespo%2Fespo-vertical.css%3Fr%3D1598222125
        parentElement: null
        parentNode: null
        part: DOMTokenList []
        password: ""
        pathname: "/EspoCRM"
        ping: ""
        port: ""
        prefix: null
        previousElementSibling: null
        previousSibling: null
        protocol: "https:"
        referrerPolicy: ""
        rel: ""
        relList: DOMTokenList []
        rev: ""
        scrollHeight: 0
        scrollLeft: 0
        scrollLeftMax: 0
        scrollTop: 0
        scrollTopMax: 0
        scrollWidth: 0
        search: ""
        shadowRoot: null
        shape: ""
        slot: ""
        spellcheck: false
        style: CSS2Properties(0)
        tabIndex: 0
        tagName: "A"
        target: ""
        text: "Tweets by @EspoCRM"
        textContent: "Tweets by @EspoCRM"
        title: ""
        type: ""
        username: ""
        <prototype>: HTMLAnchorElementPrototype
        charset:
        constructor: function ()
        coords:
        download:
        hash:
        host:
        hostname:
        href:
        hreflang:
        name:
        origin:
        password:
        pathname:
        ping:
        port:
        protocol:
        referrerPolicy:
        rel:
        relList:
        rev:
        search:
        shape:
        target:
        text:
        toString: function toString()
        type:
        username:
        <get charset()>: function charset()
        <set charset()>: function charset()
        <get coords()>: function coords()
        <set coords()>: function coords()
        <get download()>: function download()
        <set download()>: function download()
        <get hash()>: function hash()
        <set hash()>: function hash()
        <get host()>: function host()
        <set host()>: function host()
        <get hostname()>: function hostname()
        <set hostname()>: function hostname()
        <get href()>: function href()
        <set href()>: function href()
        <get hreflang()>: function hreflang()
        <set hreflang()>: function hreflang()
        <get name()>: function name()
        <set name()>: function name()
        <get origin()>: function origin()
        <get password()>: function password()
        <set password()>: function password()
        <get pathname()>: function pathname()
        <set pathname()>: function pathname()
        <get ping()>: function ping()
        <set ping()>: function ping()
        <get port()>: function port()
        <set port()>: function port()
        <get protocol()>: function protocol()
        <set protocol()>: function protocol()
        <get referrerPolicy()>: function referrerPolicy()
        <set referrerPolicy()>: function referrerPolicy()
        <get rel()>: function rel()
        <set rel()>: function rel()
        <get relList()>: function relList()
        <set relList()>: function relList()
        <get rev()>: function rev()
        <set rev()>: function rev()
        <get search()>: function search()
        <set search()>: function search()
        <get shape()>: function shape()
        <set shape()>: function shape()
        <get target()>: function target()
        <set target()>: function target()
        <get text()>: function text()
        <set text()>: function text()
        <get type()>: function type()
        <set type()>: function type()
        <get username()>: function username()
        <set username()>: function username()
        <prototype>: HTMLElementPrototype

      Comment


      • #4
        Hello,
        Just a guess. If you customized the /client directory, you can do:
        1. Make a backup of the current /client dir;
        2. download the same EspoCRM version and replace your current /client directory with the new one from the downloaded package.
        3. Clear cache.

        It might help. But note, that if in the /EntityDefs of /ClientDefs files there are some links to your custom view from the /client directory it might cause other errors.

        Error in the log says that there is no Portal entity. So it would be very helpful if you shed the light on what you changed in the system before the system failed.Hello,
        Just a guess. If you customize the /client directory, you can do:
        1. Make a backup of the current /client dir;
        2. download the same EspoCRM version and replace your current /client with the new one.
        3. Clear cache.

        It might help. But note, that if in the EntityDefs of ClientDefs files where some link to your custom view it might cause other errors.

        Error in the log says that there is no Portal entity. So it would be very helpful if you shed the light on what you changed in the system before fail.

        Comment


        • #5
          Thanks Maximus! - I really think it has something to do with the install. I don't any file customization (as in open a file and edit) except for the theme. Everything else I used Admin/Entity panel to make a change.

          Odd thing after I posted above and restored from a prior version, I got the bad server response again only flooded more so that I couldn't login - which didn't make sense because that copy had no issues at all

          Contacted the host again who saw this in the logs:
          • 2020-08-24 22:45:00] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "System user is not found" at /home/aristonc/public_html/sdespo/application/Espo/Core/Utils/Auth.php line 143 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): System user is not found at /home/aristonc/public_html/sdespo/application/Espo/Core/Utils/Auth.php:143)"} []
          This time it's "Core/Utils", does it seem to be losing it's place or where to find files? I am doing a portal setup for the client but don't knwo if any Admin actions touch Core Utils.

          The host restored from their nightly and now all is well again. The customer is actively in this instance but I will move them to the production version I am working on hopefully by next week.

          Separately, I am also doing a trial with the EspoCRM.com hosting company and have absolutely no issues or weird displays etc. It's very fast and no errors when clearing cache or rebuilding

          So I am thinking it may be the Softacuous files, something is incomplete, corrupted. I was excited to maybe use my host to partner with as the go-to for CRM clients using Espo but I think after this project I will need to try it with a d/l of EspoCRM from espocrm site and see if it is more stable than the Hostek-Softacuous script. My host eliminated automatic backups and staging ability anyway so silver lining to get on github and learn something new

          EspoCRM.com is nice but there is no changing the app apart from the Admin panel/Entity formula, and my clients dont always have the minimum $540/year. Fortunately one does so I can experience Espo in it's intended (albeit no dev) pristine condition!

          Comment

          Working...
          X