[GH-ISSUE #538] Something went wrong with the sftp of electerm-0.22.17 #305

Closed
opened 2026-02-26 23:59:07 +03:00 by kerem · 11 comments
Owner

Originally created by @linuxlionking on GitHub (Jun 29, 2018).
Original GitHub issue: https://github.com/electerm/electerm/issues/538

when I enter a directory with symbolic link in it, elec is down and show errors below:

Something went wrong.reload

this.state[e].filter is not a function
TypeError: this.state[e].filter is not a function at t.default.L.getFileList.e [as getFileList] (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:327121) at t.default.renderSection (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:333113) at p.default.get.c.default.createElement.e.map (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:334749) at Array.map () at t.default.renderSections (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:334733) at t.default.render (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:335345) at m (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:129:298) at beginWork (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:136:264) at e (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:168:321) at f (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:169:74)
No such file
Error: No such file
at t.once.e (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:296744)
at WebSocket.n (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:1:119059)

then even I connect the connection, the errors above show again.
my os is Ubuntu 18.04 LTS

Originally created by @linuxlionking on GitHub (Jun 29, 2018). Original GitHub issue: https://github.com/electerm/electerm/issues/538 when I enter a directory with symbolic link in it, elec is down and show errors below: Something went wrong.reload this.state[e].filter is not a function TypeError: this.state[e].filter is not a function at t.default.L.getFileList.e [as getFileList] (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:327121) at t.default.renderSection (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:333113) at p.default.get.c.default.createElement.e.map (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:334749) at Array.map (<anonymous>) at t.default.renderSections (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:334733) at t.default.render (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:335345) at m (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:129:298) at beginWork (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:136:264) at e (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:168:321) at f (http://localhost:3000/_bc/react-dom/umd/react-dom.production.min.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:169:74) No such file Error: No such file at t.once.e (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:6:296744) at WebSocket.n (http://localhost:3000/js/essh.bundle.js?0.22.17-6e34a38b25ad7c1a758650ff42639e0883c8d006:1:119059) then even I connect the connection, the errors above show again. my os is Ubuntu 18.04 LTS
kerem 2026-02-26 23:59:07 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (Jun 30, 2018):

can you provide more detail?I can not recreate the bug.remote or local folder? ll

<!-- gh-comment-id:401502542 --> @zxdong262 commented on GitHub (Jun 30, 2018): can you provide more detail?I can not recreate the bug.remote or local folder? `ll`
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

try to enter the remote folder which having a symbolic link to a folder.
now I can't connect connection because of the error
by the way, I login in the centos 7 via VPN
any logs which I can offer ?

<!-- gh-comment-id:401504629 --> @linuxlionking commented on GitHub (Jun 30, 2018): try to enter the remote folder which having a symbolic link to a folder. now I can't connect connection because of the error by the way, I login in the centos 7 via VPN any logs which I can offer ?
Author
Owner

@zxdong262 commented on GitHub (Jun 30, 2018):

what kind of symbolic link to a folder?I tried to repeat it in a 18.04 virtual machine, did not happen.

<!-- gh-comment-id:401515538 --> @zxdong262 commented on GitHub (Jun 30, 2018): what kind of `symbolic link to a folder`?I tried to repeat it in a 18.04 virtual machine, did not happen.
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

now I just even can't connect any connection
maybe it is the fault of my environment

<!-- gh-comment-id:401515909 --> @linuxlionking commented on GitHub (Jun 30, 2018): now I just even can't connect any connection maybe it is the fault of my environment
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

electerm.log
here is some log
I can open electerm-localstorage.json in shell ,why can't open ?

<!-- gh-comment-id:401517068 --> @linuxlionking commented on GitHub (Jun 30, 2018): [electerm.log](https://github.com/electerm/electerm/files/2151422/electerm.log) here is some log I can open electerm-localstorage.json in shell ,why can't open ?
Author
Owner

@zxdong262 commented on GitHub (Jun 30, 2018):

mine

zxd@ubuntu:~$ ll .config/
total 104
drwx------ 20 zxd zxd 4096 Jun 29 22:50 ./
drwxr-xr-x 23 zxd zxd 4096 Jun 29 22:50 ../
drwx------  2 zxd zxd 4096 Jun 29 22:55 dconf/
drwx------  4 zxd zxd 4096 Jun 29 21:03 electerm/
-rw-rw-r--  1 zxd zxd  479 Jun 29 22:55 electerm-localstorage.json
-rw-rw-r--  1 zxd zxd   20 Jun 29 21:03 electerm-user-config.json

install from npm or .deb?
run from cmd line or start panel?

<!-- gh-comment-id:401519787 --> @zxdong262 commented on GitHub (Jun 30, 2018): mine ``` zxd@ubuntu:~$ ll .config/ total 104 drwx------ 20 zxd zxd 4096 Jun 29 22:50 ./ drwxr-xr-x 23 zxd zxd 4096 Jun 29 22:50 ../ drwx------ 2 zxd zxd 4096 Jun 29 22:55 dconf/ drwx------ 4 zxd zxd 4096 Jun 29 21:03 electerm/ -rw-rw-r-- 1 zxd zxd 479 Jun 29 22:55 electerm-localstorage.json -rw-rw-r-- 1 zxd zxd 20 Jun 29 21:03 electerm-user-config.json ``` install from npm or .deb? run from cmd line or start panel?
Author
Owner

@zxdong262 commented on GitHub (Jun 30, 2018):

it crashed when run from cmd line

<!-- gh-comment-id:401520199 --> @zxdong262 commented on GitHub (Jun 30, 2018): it crashed when run from cmd line
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

from deb and panel. I will try to install it in another machine on Monday and check it

<!-- gh-comment-id:401520329 --> @linuxlionking commented on GitHub (Jun 30, 2018): from deb and panel. I will try to install it in another machine on Monday and check it
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

check like this . login in the remote server, cd /opt ,run ln -s /home/username test ,create a symbolic link. then try to viste /opt with sftp .
I chagne a machine which installed the Ubuntu 18.04 LTS , it is the same error

<!-- gh-comment-id:401528470 --> @linuxlionking commented on GitHub (Jun 30, 2018): check like this . login in the remote server, cd /opt ,run ln -s /home/username test ,create a symbolic link. then try to viste /opt with sftp . I chagne a machine which installed the Ubuntu 18.04 LTS , it is the same error
Author
Owner

@zxdong262 commented on GitHub (Jun 30, 2018):

@gaoyanglion thank you for your feedback and patience. a new release with bug fix on the way, will be released in half an hour.

<!-- gh-comment-id:401532883 --> @zxdong262 commented on GitHub (Jun 30, 2018): @gaoyanglion thank you for your feedback and patience. a new release with bug fix on the way, will be released in half an hour.
Author
Owner

@linuxlionking commented on GitHub (Jun 30, 2018):

@zxdong262 good job ! thank you very much ! the bug is fixed !

<!-- gh-comment-id:401534596 --> @linuxlionking commented on GitHub (Jun 30, 2018): @zxdong262 good job ! thank you very much ! the bug is fixed !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#305
No description provided.