Can't delete JS script on self-hosted version

Hi, I found this old topic about someone not being able to delete a JS script file on Self-Hosted version. The problem had visibly been corrected, but I encounter it in v.4.3 Enterprise. It’s actually not the same error, even if it’s the same problem : nothing happens when I click the delete button of the Delete script popup, and here is the console log :

Uncaught (in promise) ReferenceError: React is not defined
    getErrorMsg https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    handleError https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    onDeleteScript https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    promise callback*99719/w/this.onDeleteScript https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    onClick https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Qe https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    We https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    _r https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    _r https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Or https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Mr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Le https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Mr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Mr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    qt https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    zt https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    unstable_runWithPriority https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ko https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ie https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vt https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ir https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Nr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    ss https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    kl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ol https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    _l https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    yl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    unstable_runWithPriority https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ko https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Wo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ie https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vt https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ir https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Nr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    ss https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    kl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ol https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    _l https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    yl https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    unstable_runWithPriority https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ko https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Wo https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ie https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Vt https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Ir https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Nr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    Dr https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    rc https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    _reactRootContainer https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    ic https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    render https://myseatableserver.example/media/assets/frontend/static/js/commons.49af0f22.js:2
    41721 https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    r https://myseatableserver.example/media/assets/frontend/static/js/runtime.fb8f7af5.js:1
    <anonymous> https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    O https://myseatableserver.example/media/assets/frontend/static/js/runtime.fb8f7af5.js:1
    <anonymous> https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
    t https://myseatableserver.example/media/assets/frontend/static/js/runtime.fb8f7af5.js:1
    <anonymous> https://myseatableserver.example/media/assets/frontend/static/js/viewDataGrid.3c87b001.js:2
viewDataGrid.3c87b001.js:2:2234815

Bests,
Benjamin

We cannot reproduce the issue. Can you reproduce the issue in cloud.seatable.io ?

We see the same problem! Latest Enterprise, self-hosted.

Hi @daniel.pan, no, as said in my first message (sorry, I just realized it’s not written in the text whereas I was sure it was), this problem occurs only on self-hosted version.
Bests,
Benjamin

The cloud version and self-hosted version use the same docker image.

Since we cannot reproduce the issue easily, I suggest you to upgrade to version 4.4 when it is ready and check if the problem still there.

@bennhatton @pueblo do you still have the problem of undeletable scripts?

It seems to work now on my end :+1:
Thanks for the fix!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.