Downgraded to 2.5 -> won't start



  • I rebuild my docker image with 2.5. It starts fine locally, but when I upload it to AWS the Studio only shows the spinning wheel:

    0_1569687465290_upload-b04c31a4-4118-4bd7-a82d-909a5f0d144f

    The instance seems fine in the logs:
    0_1569687490710_upload-89c1c047-86fc-4cce-9583-e9498174ba2e

    0_1569687510488_upload-4ad9dc7c-5cdd-4bf2-a5bb-8035e4d36d7b

    What kind of error can make Studio stuck and just showing the animated wheel?



  • Switched back to 2.6 again and it works.
    I've had 2.5 running before on the exact same Fargate setup.

    Any ideas on what could have happened?
    Are there more logs to look into?



  • Please try to clear browser cache or start in anonymous window.
    There was a bug in 2.5.0 causing browsers to use some cached scripts.
    So when you downgraded to 2.5.0 it likely wants to use some scripts from 2.6.0 and this has a collision.
    You would likely see this in the browser console.



  • Didn't work.
    I even tried to switch from Chrome to Safari (cleared cache in Safari as well)

    Anything more to try?



  • Paste the content of the browser console. There is likely an error or something.
    Check also the network calls, maybe something gets stuck on the server-side.



  • Or if the server is public, I would check myself...



  • No, it's not a public server. Here is what I get in the console log while Studio is busy spinning the wheel.

    client.js?e33dc3808fd7cf980ebb:1 TypeError: Cannot read property 'push' of undefined
        at Object.<anonymous> (studio-extensions.client.js:9414)
        at __webpack_require__ (studio-extensions.client.js:9320)
        at studio-extensions.client.js:9384
        at Object.1579 (studio-extensions.client.js:9387)
        at i (client.js?e33dc3808fd7cf980ebb:1)
        at client.js?e33dc3808fd7cf980ebb:72
    i.oe @ client.js?e33dc3808fd7cf980ebb:1
    Promise.catch (async)
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:72
    n._execute @ client.js?e33dc3808fd7cf980ebb:6
    D._resolveFromExecutor @ client.js?e33dc3808fd7cf980ebb:6
    D @ client.js?e33dc3808fd7cf980ebb:6
    t.default @ client.js?e33dc3808fd7cf980ebb:72
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    w @ client.js?e33dc3808fd7cf980ebb:32
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    e.<computed> @ client.js?e33dc3808fd7cf980ebb:32
    o @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:6
    t @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    i @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    i @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:1
    studio-extensions.client.js:9414 Uncaught (in promise) TypeError: Cannot read property 'push' of undefined
        at Object.<anonymous> (studio-extensions.client.js:9414)
        at __webpack_require__ (studio-extensions.client.js:9320)
        at studio-extensions.client.js:9384
        at Object.1579 (studio-extensions.client.js:9387)
        at i (client.js?e33dc3808fd7cf980ebb:1)
        at client.js?e33dc3808fd7cf980ebb:72
    (anonymous) @ studio-extensions.client.js:9414
    __webpack_require__ @ studio-extensions.client.js:9320
    (anonymous) @ studio-extensions.client.js:9384
    1579 @ studio-extensions.client.js:9387
    i @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:72
    Promise.catch (async)
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:72
    n._execute @ client.js?e33dc3808fd7cf980ebb:6
    D._resolveFromExecutor @ client.js?e33dc3808fd7cf980ebb:6
    D @ client.js?e33dc3808fd7cf980ebb:6
    t.default @ client.js?e33dc3808fd7cf980ebb:72
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    w @ client.js?e33dc3808fd7cf980ebb:32
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    e.<computed> @ client.js?e33dc3808fd7cf980ebb:32
    o @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:6
    t @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:6
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    i @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:32
    i @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:1
    (anonymous) @ client.js?e33dc3808fd7cf980ebb:1
    DevTools failed to parse SourceMap: http://localhost:5489/studio/assets/Component.js.map
    


  • Could you share slice of code that is around that error? I would get it myself based on the line number but this script is created dynamically based on the used extensions. Typically you can click on the error in the F12 console and it should navigate you to the code.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.