添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
mais çà ne fait rien , et je ne comprend pas vraiment ce qui se passe. Avez vous une idée? Mon objectif est de travailler sur mes fichier de mon serveur web distant avec le meme confort que s'ils étaient sur mon disque dur. Actuellement , je ne peux pas ouvrir de dossier disant avec vscode, seulement des fichiers, ce qui nuit aux assistant du logiciel. merci bin non justement pour l'instant je ne suis toujours pas arrivé à l'installer. C'est particulièrement frustrant, puisque a priori synology à tous les prérequis ,  sauf que la commande "ldd --version" ne fonctionne pas, ce qui empêche l'installeur du serveur d'assurer que j'ai bien ldd (c'est le cas). L'interet, c'est d'editer directement les fichiers depuis le serveur web , et donc de voir en temps réel les effets de mon php. Actuellement , je peux le faire avec ssh sur mon vscode local, mais du coup le logiciel ne vois que les fichiers que j'ai ouvert. En utilisant directement le serveur distant, vscode fonctionne "normalement", c'est à dire qu'il prend en compte tout le dossier (par exemple pour des remplacer), et peut faire fonctionner git en version graphique.
[13:22:56.561] Log Level: 2
[13:22:56.563] [email protected]
[13:22:56.563] linux x64
[13:22:56.567] SSH Resolver called for "ssh-remote+truc.fr", attempt 1
[13:22:56.567] "remote.SSH.useLocalServer": true
[13:22:56.567] "remote.SSH.path": undefined
[13:22:56.567] "remote.SSH.configFile": undefined
[13:22:56.567] "remote.SSH.useFlock": true
[13:22:56.567] "remote.SSH.lockfilesInTmp": false
[13:22:56.568] "remote.SSH.localServerDownload": auto
[13:22:56.568] "remote.SSH.remoteServerListenOnSocket": false
[13:22:56.568] "remote.SSH.showLoginTerminal": false
[13:22:56.568] "remote.SSH.defaultExtensions": []
[13:22:56.568] "remote.SSH.loglevel": 2
[13:22:56.568] "remote.SSH.enableDynamicForwarding": true
[13:22:56.568] "remote.SSH.enableRemoteCommand": false
[13:22:56.568] "remote.SSH.serverPickPortsFromRange": {}
[13:22:56.568] "remote.SSH.serverInstallPath": {}
[13:22:56.570] SSH Resolver called for host: truc.fr
[13:22:56.570] Setting up SSH remote "truc.fr"
[13:22:56.572] Acquiring local install lock: /tmp/vscode-remote-ssh-4a67b884-install.lock
[13:22:56.573] Looking for existing server data file at /home/vaneck/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4a67b884-e8a3071ea4344d9d48ef8a4df2c097372b0c5161-0.94.0/data.json
[13:22:56.574] Using commit id "e8a3071ea4344d9d48ef8a4df2c097372b0c5161" and quality "stable" for server
[13:22:56.576] Install and start server if needed
[13:22:56.580] PATH: /home/vaneck/.local/bin:/home/vaneck/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
[13:22:56.580] Checking ssh with "ssh -V"
[13:22:56.586] > OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022
[13:22:56.588] askpass server listening on /run/user/1000/vscode-ssh-askpass-1506f46f674e5bf6bc8ceb9bdb661139a62e1284.sock
[13:22:56.589] Spawning local server with {"serverId":1,"ipcHandlePath":"/run/user/1000/vscode-ssh-askpass-24470a11adc6546995e3c04c9402abb27410f5c7.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","38399","-o","ConnectTimeout=15","truc.fr"],"serverDataFolderName":".vscode-server","dataFilePath":"/home/vaneck/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4a67b884-e8a3071ea4344d9d48ef8a4df2c097372b0c5161-0.94.0/data.json"}
[13:22:56.589] Local server env: {"SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","SHELL":"/bin/bash","DISPLAY":":0","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/usr/share/code/code","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/run/user/1000/vscode-ssh-askpass-1506f46f674e5bf6bc8ceb9bdb661139a62e1284.sock"}
[13:22:56.593] Spawned 7729
[13:22:56.674] > local-server-1> Running ssh connection command: "-v -T -D 38399 -o ConnectTimeout=15 truc.fr"
[13:22:56.676] > local-server-1> Spawned ssh, pid=7739
[13:22:56.679] stderr> OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022
[13:22:57.037] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:FbDhjZcgQQGwmF6n2wIa1pwzZvh5o1/HUHvnGaNe3iU
[13:22:57.251] Got askpass request: {"request":"[email protected]'s password:"}
[13:22:57.253] Showing password prompt
[13:22:57.254] Listening for interwindow password on /run/user/1000/vscode-ssh-askpass-cfc898972349153ed1489f90413d725379581c7a.sock
[13:22:57.254] Writing password prompt to globalState
[13:23:16.423] Got password response
[13:23:16.424] Interactor gave response: ********************
[13:23:16.424] Cleaning up other-window auth server
[13:23:16.888] stderr> Authenticated to truc.fr ([82.66.***.***]:22) using "password".
[13:23:17.064] > ready: 43ff8342ca19
[13:23:17.107] > Linux 3.2.101 #42962 SMP Tue Oct 18 15:01:32 CST 2022
[13:23:17.107] Platform: linux
[13:23:17.135] > /bin/sh
[13:23:17.135] Shell: sh
[13:23:17.135] Creating bash subshell inside "sh"
[13:23:17.182] > bash version:  4.4.23(1)-release
[13:23:17.280] > 43ff8342ca19: running
[13:23:17.415] > Warning: Can't find libstdc++.so or ldconfig, can't verify libstdc++ version
[13:23:17.421] stderr> main: line 182: /bin/ldd: Permission denied
[13:23:17.427] > Missing GLIBC >= 2.17!
> Found version 
> 43ff8342ca19$$1$$
[13:23:17.467] > Acquiring lock on /var/services/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/vscode-remote-lock.bidule.e8a3071ea4344d9d48ef8a4df2c097372b0c5161
[13:23:17.511] > Found existing installation at /var/services/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161...
[13:23:17.512] > Checking /var/services/homes/bidule/.vscode-server/.e8a3071ea4344d9d48ef8a4df2c097372b0c5161.log and /var/services/homes/bidule/.vscode-server/.e8a3071ea4344d9d48ef8a4df2c097372b0c5161.pid for a running server
[13:23:17.527] > Looking for server with pid: 11053
[13:23:17.684] > Running ssh connection command... /var/services/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/code-server --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-level all   &> "/var/services/homes/bidule/.vscode-server/.e8a3071ea4344d9d48ef8a4df2c097372b0c5161.log" < /dev/null
> printenv:
[13:23:17.701] >     LC_ALL=en_US.UTF-8
>     SSH_CONNECTION=176.137.120.250 49214 192.168.1.125 22
>     LANG=en_US.UTF-8
>     USER=bidule
>     PAGER=more
>     PWD=/volume1/homes/bidule
>     HOME=/var/services/homes/bidule
>     TMP=/opt/tmp
>     SSH_CLIENT=176.137.120.250 49214 22
>     PGDATA=/var/services/pgsql
>     SHELL=/bin/sh
>     TERM=xterm
>     SHLVL=2
>     TEMP=/opt/tmp
>     VSCODE_AGENT_FOLDER=/var/services/homes/bidule/.vscode-server
>     TERMINFO=/opt/share/terminfo
>     LOGNAME=bidule
>     PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
>     _=/bin/printenv
[13:23:17.767] > Removing old logfile at /var/services/homes/bidule/.vscode-server/.e8a3071ea4344d9d48ef8a4df2c097372b0c5161.log
[13:23:17.838] > Spawned remote server: 29368
[13:23:17.892] > Waiting for server log...
[13:23:17.977] > Waiting for server log...
[13:23:18.061] > Waiting for server log...
[13:23:18.145] > Waiting for server log...
[13:23:18.222] > Waiting for server log...
[13:23:18.307] > Waiting for server log...
[13:23:18.387] > Waiting for server log...
[13:23:18.462] > Waiting for server log...
[13:23:18.556] > Waiting for server log...
[13:23:18.637] > Waiting for server log...
[13:23:18.719] > Waiting for server log...
[13:23:18.804] > Waiting for server log...
[13:23:18.884] > Waiting for server log...
[13:23:18.965] > Waiting for server log...
[13:23:19.047] > Waiting for server log...
[13:23:19.140] > Waiting for server log...
[13:23:19.224] > Waiting for server log...
[13:23:19.308] > Waiting for server log...
[13:23:19.387] > Waiting for server log...
[13:23:19.463] > Waiting for server log...
[13:23:19.545] > Waiting for server log...
[13:23:19.625] > Waiting for server log...
[13:23:19.706] > Waiting for server log...
[13:23:19.794] > Waiting for server log...
[13:23:19.875] > Waiting for server log...
[13:23:19.957] > Waiting for server log...
[13:23:20.047] > Waiting for server log...
[13:23:20.127] > Waiting for server log...
[13:23:20.201] > Waiting for server log...
[13:23:20.275] > Waiting for server log...
[13:23:20.356] > Waiting for server log...
[13:23:20.437] > Waiting for server log...
[13:23:20.516] > Waiting for server log...
[13:23:20.594] > Waiting for server log...
[13:23:20.678] > Waiting for server log...
[13:23:20.753] > Waiting for server log...
[13:23:20.838] > Waiting for server log...
[13:23:20.914] > Waiting for server log...
[13:23:20.996] > Waiting for server log...
[13:23:21.076] > Waiting for server log...
[13:23:21.156] > Waiting for server log...
[13:23:21.244] > Waiting for server log...
[13:23:21.323] > Waiting for server log...
[13:23:21.407] > Waiting for server log...
[13:23:21.485] > Waiting for server log...
[13:23:21.569] > Waiting for server log...
[13:23:21.645] > Waiting for server log...
[13:23:21.725] > Waiting for server log...
[13:23:21.807] > Waiting for server log...
[13:23:21.882] > Waiting for server log...
[13:23:21.956] > Waiting for server log...
[13:23:22.037] > Waiting for server log...
[13:23:22.113] > Waiting for server log...
[13:23:22.202] > Waiting for server log...
[13:23:22.281] > Waiting for server log...
[13:23:22.356] > Waiting for server log...
[13:23:22.434] > Waiting for server log...
[13:23:22.514] > Waiting for server log...
[13:23:22.598] > Waiting for server log...
[13:23:22.676] > Waiting for server log...
[13:23:22.758] > Waiting for server log...
[13:23:22.840] > Waiting for server log...
[13:23:22.913] > Waiting for server log...
[13:23:23.005] > Waiting for server log...
[13:23:23.084] > Waiting for server log...
[13:23:23.165] > Waiting for server log...
[13:23:23.245] > Waiting for server log...
[13:23:23.326] > Waiting for server log...
[13:23:23.401] > Waiting for server log...
[13:23:23.476] > Waiting for server log...
[13:23:23.572] > Waiting for server log...
[13:23:23.654] > Waiting for server log...
[13:23:23.737] > Waiting for server log...
[13:23:23.816] > Waiting for server log...
[13:23:23.896] > Waiting for server log...
[13:23:23.971] > Waiting for server log...
[13:23:24.046] > Waiting for server log...
[13:23:24.121] > Waiting for server log...
[13:23:24.197] > Waiting for server log...
[13:23:24.274] > Waiting for server log...
[13:23:24.356] > Waiting for server log...
[13:23:24.431] > Waiting for server log...
[13:23:24.507] > Waiting for server log...
[13:23:24.587] > Waiting for server log...
[13:23:24.666] > Waiting for server log...
[13:23:24.746] > Waiting for server log...
[13:23:24.825] > Waiting for server log...
[13:23:24.902] > Waiting for server log...
[13:23:24.983] > Waiting for server log...
[13:23:25.063] > Waiting for server log...
[13:23:25.147] > Waiting for server log...
[13:23:25.229] > Waiting for server log...
[13:23:25.304] > Waiting for server log...
[13:23:25.385] > Waiting for server log...
[13:23:25.467] > Waiting for server log...
[13:23:25.545] > Waiting for server log...
[13:23:25.633] > Waiting for server log...
[13:23:25.726] > Waiting for server log...
[13:23:25.815] > Waiting for server log...
[13:23:25.905] > Waiting for server log...
[13:23:25.995] > Waiting for server log...
[13:23:26.087] > Waiting for server log...
[13:23:26.176] > Waiting for server log...
[13:23:26.266] > Waiting for server log...
[13:23:26.353] > Waiting for server log...
[13:23:26.443] > Waiting for server log...
[13:23:26.533] > Waiting for server log...
[13:23:26.621] > Waiting for server log...
[13:23:26.701] > Waiting for server log...
[13:23:26.785] > Waiting for server log...
[13:23:26.879] > Waiting for server log...
[13:23:26.965] > Waiting for server log...
[13:23:27.055] > Waiting for server log...
[13:23:27.140] > Waiting for server log...
[13:23:27.222] > Waiting for server log...
[13:23:27.312] > Waiting for server log...
[13:23:27.404] > Waiting for server log...
[13:23:27.491] > Waiting for server log...
[13:23:27.574] > Waiting for server log...
[13:23:27.666] > Waiting for server log...
[13:23:27.756] > Waiting for server log...
[13:23:27.842] > Waiting for server log...
[13:23:27.934] > Waiting for server log...
[13:23:28.021] > Waiting for server log...
[13:23:28.105] > Waiting for server log...
[13:23:28.192] > Waiting for server log...
[13:23:28.273] > Waiting for server log...
[13:23:28.365] > Waiting for server log...
[13:23:28.451] > Waiting for server log...
[13:23:28.544] > Waiting for server log...
[13:23:28.635] > Waiting for server log...
[13:23:28.720] > Waiting for server log...
[13:23:28.803] > Waiting for server log...
[13:23:28.892] > Waiting for server log...
[13:23:28.974] > Waiting for server log...
[13:23:29.064] > Waiting for server log...
[13:23:29.175] > Waiting for server log...
[13:23:29.272] > Waiting for server log...
[13:23:29.379] > Waiting for server log...
[13:23:29.463] > Waiting for server log...
[13:23:29.553] > Waiting for server log...
[13:23:29.645] > Waiting for server log...
[13:23:29.730] > Waiting for server log...
[13:23:29.811] > Waiting for server log...
[13:23:29.897] > Waiting for server log...
[13:23:29.984] > Waiting for server log...
[13:23:30.072] > Waiting for server log...
[13:23:30.155] > Waiting for server log...
[13:23:30.241] > Waiting for server log...
[13:23:30.322] > Waiting for server log...
[13:23:30.399] > Waiting for server log...
[13:23:30.485] > Waiting for server log...
[13:23:30.575] > Waiting for server log...
[13:23:30.665] > Waiting for server log...
[13:23:30.753] > Waiting for server log...
[13:23:30.846] > Waiting for server log...
[13:23:30.929] > Waiting for server log...
[13:23:31.014] > Waiting for server log...
[13:23:31.099] > Waiting for server log...
[13:23:31.182] > Waiting for server log...
[13:23:31.271] > Waiting for server log...
[13:23:31.353] > Waiting for server log...
[13:23:31.444] > Waiting for server log...
[13:23:31.535] > Waiting for server log...
[13:23:31.621] > Waiting for server log...
[13:23:31.704] > Waiting for server log...
[13:23:31.795] > Waiting for server log...
[13:23:31.884] > Waiting for server log...
[13:23:31.976] > Waiting for server log...
[13:23:32.064] > Waiting for server log...
[13:23:32.130] >  
> * Visual Studio Code Server
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
> * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
[13:23:32.211] > Server did not start successfully. Full server log at /var/services/homes/bidule/.vscode-server/.e8a3071ea4344d9d48ef8a4df2c097372b0c5161.log >>>
[13:23:32.214] > /volume1/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
[13:23:32.217] > <<< End of server log
> 43ff8342ca19: start
> exitCode==32==
> listeningOn====
> osReleaseId==Linux==
> arch==armv7l==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime==14414==
> 43ff8342ca19: end
[13:23:32.217] Received install output: 
exitCode==32==
listeningOn====
osReleaseId==Linux==
arch==armv7l==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==14414==
[13:23:32.218] Terminating local server
[13:23:32.219] Resolver error: Error: Échec du démarrage du serveur VS Code
	at g.ServerInstallError (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:583860)
	at f (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:578070)
	at t.handleInstallOutput (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:581095)
	at Object.e [as tryInstallWithLocalServer] (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:623191)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:642446
	at async t.withShowDetailsEvent (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:646166)
	at async /home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:621663
	at async T (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:618169)
	at async t.resolveWithLocalServer (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:621278)
	at async t.resolve (/home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:643774)
	at async /home/vaneck/.vscode/extensions/ms-vscode-remote.remote-ssh-0.94.0/out/extension.js:1:723024
[13:23:32.223] ------
[13:23:17.415] > Warning: Can't find libstdc++.so or ldconfig, can't verify libstdc++ version
[13:23:17.421] stderr> main: line 182: /bin/ldd: Permission denied
[13:23:17.427] > Missing GLIBC >= 2.17!
> Found version 
> 43ff8342ca19$$1$$
[13:23:32.214] > /volume1/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
donc soit c'est libstd /ldconfig qui manque, soit c'est libatomic, mais je comprend pas grand chose je ne l'ai pas précisé , mais c'est déjà fait. Par contre j'ai 5 fois "AllowTcpForwarding" dans le script. J'ai tout mis en yes. @oracle7 je n'ai pas docker , le ds215j n'es pas assez puissant. Mais normalement, le plugin remote -ssh  de mon vscode se charge d'installer automatiquement vscode serveur sur ma machine distant, pourvu que je lui donne l'accees par ssh. C'est d'ailleur ce qu'on peut voir qu'il essaie de faire dans le retour ci dessus. bon alors , j'avance , si je comprend bien , libatomic sert a faire le lien entre les fonction integré au noyau, et le programme. "libstdc++.so or ldconfig" seraient des fonction integré au noyau, d'ou l'appel à libatomic. Du coup , le probleme c'est bien l'absence de "libstdc++.so or ldconfig", j'ai bon? en fait je vois un gros defaut , ca ne fonctionne pas avec github. En effet avec le sftp de vscode, je peux synchroniser uniquement les editeurs ouvert sur l'espace de travail, hors le dossier .git est à l'exterieur de cet espace de travail. Du coup si je me connecte sur un autre poste , ca me cree un gros bordel avec plein de branche inutile...
 /volume1/homes/bidule/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
Je pense que le neud du probleme est de faire fonctionner ce libstdc++