Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chilcano/35e8970323908a22293b6f7ca2a3b829 to your computer and use it in GitHub Desktop.
Save chilcano/35e8970323908a22293b6f7ca2a3b829 to your computer and use it in GitHub Desktop.
Code-Server 3.5.0 on Raspberry Pi (raspbian-buster) LOGS
$ . code_server_install_rpi.sh -v=3.5.0
##########################################################
# Installing Code-Server on Raspberry Pi #
##########################################################
>> Adding APT NodeJS repo.
## Installing the NodeSource Node.js 14.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Ign:4 https://apt.fury.io/caddy InRelease
Ign:5 https://apt.fury.io/caddy Release
Ign:6 https://apt.fury.io/caddy Packages
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Get:6 https://apt.fury.io/caddy Packages
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Fetched 2,158 B in 3s (791 B/s)
Reading package lists... Done
## Confirming "buster" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/buster/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 14.x repo...
+ echo 'deb https://deb.nodesource.com/node_14.x buster main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Ign:4 https://apt.fury.io/caddy InRelease
Ign:5 https://apt.fury.io/caddy Release
Ign:6 https://apt.fury.io/caddy Packages
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Get:6 https://apt.fury.io/caddy Packages
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Ign:7 https://apt.fury.io/caddy Translation-en_GB
Ign:8 https://apt.fury.io/caddy Translation-en
Fetched 2,158 B in 3s (774 B/s)
Reading package lists... Done
## Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
>> Installing requisites.
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
libsecret-1-dev is already the newest version (0.18.7-1).
libx11-dev is already the newest version (2:1.6.7-1).
libxkbfile-dev is already the newest version (1:1.0.9-2).
pkg-config is already the newest version (0.29-6).
0 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
>> Requsites such as libs were installed.
>> Installing NodeJS and NPM.
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (14.11.0-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
>> NodeJS v14.11.0 and NPM 6.14.8 installed.
>> Installing Code-Server.
/usr/bin/code-server -> /usr/lib/node_modules/code-server/out/node/entry.js
> [email protected] postinstall /usr/lib/node_modules/code-server
> ./postinstall.sh
yarn install v1.22.5
info No lockfile found.
[1/4] Resolving packages...
warning @types/[email protected]: This is a stub types definition for applicationinsights (https://github.com/Microsoft/ApplicationInsights-node.js). applicationinsights provides its own type definitions, so you don't need @types/applicationinsights installed!
warning @types/[email protected]: This is a stub types definition. chokidar provides its own type definitions, so you do not need this installed.
warning @types/[email protected]: This is a stub types definition. keytar provides its own type definitions, so you do not need this installed.
warning asar > mksnapshot > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning asar > mksnapshot > request > [email protected]: this library is no longer supported
warning cson-parser > [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning gulp > glob-watcher > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gulp > glob-watcher > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning gulp > gulp-cli > matchdep > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning gulp > gulp-cli > matchdep > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning gulp-azure-storage > azure-storage > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning gulp-cssnano > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning gulp-cssnano > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning gulp-cssnano > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning gulp-remote-retry-src > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning jsdom-no-contextify > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning mocha > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning mocha > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning mocha > [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning mocha > [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning mocha > jade > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning [email protected]: The package has been renamed to `open`
warning sinon > [email protected]: This package has been deprecated in favour of @sinonjs/samsam
warning sinon > [email protected]: This package is unmaintained. Use @sinonjs/formatio instead
warning sinon > formatio > [email protected]: This package has been deprecated in favour of @sinonjs/samsam
warning webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @coder/[email protected]" has unmet peer dependency "@google-cloud/logging@^4.5.2".
warning " > [email protected]" has incorrect peer dependency "typescript@^3.0.0".
[4/4] Building fresh packages...
Done in 483.44s.
yarn install v1.22.5
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node ./postinstall
[##] 2/2Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/AUTHORS.md
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/CODE_OF_CONDUCT.md
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/CopyrightNotice.txt
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/LICENSE.txt
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/README.md
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/ThirdPartyNoticeText.txt
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/bin
Removed /usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/loc
removed '/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsc.js'
removed '/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsserverlibrary.d.ts'
removed '/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsserverlibrary.js'
removed '/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/lib/typescriptServices.d.ts'
removed '/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/typescript/lib/typescriptServices.js'
Done in 8.36s.
npm WARN @coder/[email protected] requires a peer of @google-cloud/logging@^4.5.2 but none is installed. You must install peer dependencies yourself.
+ [email protected]
added 61 packages from 47 contributors in 516.669s
>> Code-Server installed.
>> Code-Server post-installing.
> [email protected] postinstall /usr/lib/node_modules/@google-cloud/logging/node_modules/protobufjs
> node scripts/postinstall
+ @google-cloud/[email protected]
added 157 packages from 118 contributors in 27.004s
/usr/bin/pbjs -> /usr/lib/node_modules/protobufjs/bin/pbjs
/usr/bin/pbts -> /usr/lib/node_modules/protobufjs/bin/pbts
> [email protected] postinstall /usr/lib/node_modules/protobufjs
> node scripts/postinstall
+ [email protected]
added 14 packages from 46 contributors in 4.298s
>> Post-installation completed.
>> Creating '/usr/lib/systemd/user/code-server.service'.
>> code-server.service created.
>> Starting '/usr/lib/systemd/user/code-server.service'.
Created symlink /home/pi/.config/systemd/user/default.target.wants/code-server.service → /usr/lib/systemd/user/code-server.service.
>> code-server.service enabled and started.
>> Waiting code-server starts.
>> Installing 'mkcert' (https://github.com/FiloSottile/mkcert) .
>> The mkcert-v1.4.1-linux-arm file exists. Nothing to download.
>> Generating TLS certs with 'mkcert' for 'Code-Server'.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnss3-tools is already the newest version (2:3.42.1-1+deb10u3).
0 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
Using the local CA at "/home/pi/.local/share/mkcert" ✨
The local CA is already installed in the system trust store! 👍
The local CA is already installed in Java's trust store! 👍
>> The Cert and Key pem files don't exist. Generating Cert and Key pem files.
Using the local CA at "/home/pi/.local/share/mkcert" ✨
Created a new certificate valid for the following names 📜
- "localhost"
- "127.0.0.1"
- "::1"
- "vscs.rpi"
- "192.168.1.55"
The certificate is at "./localhost+4.pem" and the key at "./localhost+4-key.pem" ✅
>> Tweaking '~/.config/code-server/config.yaml' to enable TLS.
>> Trust on the Root CA crt generated by 'mkcert'.
>> You have to install it in your browser as trusted CA and add 'vscs.rpi 192.168.1.55' in you '/etc/hosts' file.
>> You can found the Root CA here: ~/.local/share/mkcert/rootCA.pem
>> Installing Extension: Shan.code-settings-sync.
[2020-09-16T14:07:25.001Z] info Using config file ~/.config/code-server/config.yaml
Installing extensions...
Installing extension 'shan.code-settings-sync' v3.4.3...
Extension 'shan.code-settings-sync' v3.4.3 was successfully installed.
Get a trusted Gist ID to restore extensions and configurations through Settings-Sync extension:
Gist URL: https://gist.github.com/chilcano/b5f88127bd2d89289dc2cd36032ce856
Gist ID: b5f88127bd2d89289dc2cd36032ce856
>> Restarting Code-Server to apply changes.
>> Code-Server was installed successfully.
$ tail -fn 500 ~/.local/share/code-server/logs/20200917T081208/remoteagent.log
[2020-09-17 08:12:09.850] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:09.853] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:09.858] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:09.858] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:09.860] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:09.861] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:10.001] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/home/pi/.local/share/code-server/User/snippets'
[2020-09-17 08:12:10.001] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/home/pi/.local/share/code-server/User/snippets'
[2020-09-17 08:12:10.064] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:10.097] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:10.115] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:10.138] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:10.271] [remoteagent] [trace] [File Watcher (node.js)] >> normalized [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:10.441] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:10.442] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:10.443] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:10.445] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:10.446] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:10.447] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:10.565] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:10.571] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:10.575] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:10.709] [remoteagent] [trace] [File Watcher (chokidar)] Start watching with chockidar: /home/pi/gitrepos/how-tos, excludes: **/.git/objects/**,**/.git/subtree-cache/**,**/.hg/store/**,**/node_modules/*/**,**/*.asar, usePolling: false
[2020-09-17 08:12:10.747] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:10.862] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:10.920] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:11.527] [remoteagent] [trace] ExtensionManagementService.refreshReportedCache
[2020-09-17 08:12:11.528] [remoteagent] [trace] ExtensionManagementService.refreshReportedCache - got 0 reported extensions from service
[2020-09-17 08:12:11.985] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:11.985] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:12.187] [remoteagent] [trace] [File Watcher (node.js)] >> normalized [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:12.397] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:12.408] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:12.712] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:12.713] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:12.765] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:12.861] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:12.862] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:12.904] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:12.942] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:23.392] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:23.394] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:23.398] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:23.399] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:23.401] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:23.402] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:23.540] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/home/pi/.local/share/code-server/User/snippets'
[2020-09-17 08:12:23.541] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/home/pi/.local/share/code-server/User/snippets'
[2020-09-17 08:12:23.562] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:23.584] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:23.596] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:23.611] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:23.764] [remoteagent] [trace] [File Watcher (node.js)] >> normalized [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:23.821] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:23.822] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:23.823] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:23.825] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:23.826] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:23.828] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:23.945] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:23.950] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:23.954] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:24.093] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:24.142] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:24.193] [remoteagent] [trace] Scanned system extensions: 81
[2020-09-17 08:12:24.292] [remoteagent] [trace] [File Watcher (chokidar)] Start watching with chockidar: /home/pi/gitrepos/how-tos, excludes: **/.git/objects/**,**/.git/subtree-cache/**,**/.hg/store/**,**/node_modules/*/**,**/*.asar, usePolling: false
[2020-09-17 08:12:25.347] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:25.348] [remoteagent] [trace] [File Watcher (node.js)] [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:25.548] [remoteagent] [trace] [File Watcher (node.js)] >> normalized [CHANGED] /home/pi/.local/share/code-server/User/state/global.json
[2020-09-17 08:12:25.905] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:25.916] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:26.298] [remoteagent] [trace] Started scanning system extensions
[2020-09-17 08:12:26.299] [remoteagent] [trace] Started scanning user extensions
[2020-09-17 08:12:26.355] [remoteagent] [trace] Scanned user extensions: 1
[2020-09-17 08:12:26.430] [remoteagent] [trace] {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/node_modules/package.json"}
[2020-09-17 08:12:26.431] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/package.json"}
[2020-09-17 08:12:26.471] [remoteagent] [trace] {"errno":-20,"code":"ENOTDIR","syscall":"scandir","path":"/usr/lib/node_modules/code-server/lib/vscode/extensions/postinstall.js"}
[2020-09-17 08:12:26.521] [remoteagent] [trace] Scanned system extensions: 81
$ code-server --log trace
[2020-09-17T07:11:24.800Z] info Using config file ~/.config/code-server/config.yaml
[2020-09-17T07:11:24.828Z] debug parsed command line {"args":{"_":[],"bind-addr":"192.168.1.55:8443","auth":"password","password":"cd1eb0c8f3ae0689ac9f5875","cert":{"value":"/home/pi/vscs-rpi.pem"},"cert-key":"/home/pi/vscs-rpi-key.pem","disable-telemetry":true}}
[2020-09-17T07:11:24.862Z] debug spawned inner process 8356
[2020-09-17T07:11:25.808Z] debug parsed command line {"args":{"_":[],"log":"trace"}}
[2020-09-17T07:11:25.839Z] debug parsed command line {"args":{"_":[],"bind-addr":"192.168.1.55:8443","auth":"password","password":"cd1eb0c8f3ae0689ac9f5875","cert":{"value":"/home/pi/vscs-rpi.pem"},"cert-key":"/home/pi/vscs-rpi-key.pem","disable-telemetry":true}}
[2020-09-17T07:11:25.849Z] debug wrapper 8337 received message from 8356 {"message":{"type":"handshake"}}
[2020-09-17T07:11:25.853Z] debug inner process 8356 received message from 8337 {"message":{"type":"handshake"}}
[2020-09-17T07:11:25.856Z] info Using user-data-dir ~/.local/share/code-server
[2020-09-17T07:11:25.857Z] trace Using extensions-dir ~/.local/share/code-server/extensions
[2020-09-17T07:11:25.916Z] info code-server 3.5.0 de41646fc402b968ca6d555fdf2da7de9554d28a
[2020-09-17T07:11:25.932Z] info HTTP server listening on https://192.168.1.55:8443
[2020-09-17T07:11:25.933Z] info - Using password from ~/.config/code-server/config.yaml
[2020-09-17T07:11:25.933Z] info - To disable use `--auth none`
[2020-09-17T07:11:25.933Z] info - Using provided certificate and key for HTTPS
[2020-09-17T07:12:07.557Z] trace heartbeat
[2020-09-17T07:12:07.580Z] debug forking vs code...
[2020-09-17T07:12:08.809Z] debug got message from vs code {"message":{"type":"ready"}}
[2020-09-17T07:12:08.810Z] debug setting up vs code...
[2020-09-17T07:12:08.817Z] debug vscode got message from code-server {"message":{"type":"init","id":"pq5aCFrdXtam5TuS3fsYhITY","options":{"args":{"_":[],"bind-addr":"192.168.1.55:8443","auth":"password","password":"cd1eb0c8f3ae0689ac9f5875","cert":{"value":"/home/pi/vscs-rpi.pem"},"cert-key":"/home/pi/vscs-rpi-key.pem","disable-telemetry":true,"log":"trace","verbose":true,"config":"/home/pi/.config/code-server/config.yaml","user-data-dir":"/home/pi/.local/share/code-server","extensions-dir":"/home/pi/.local/share/code-server/extensions"},"remoteAuthority":"192.168.1.55:8443","startPath":{"url":"/home/pi/gitrepos/rpi.code-workspace","workspace":true}}}}
[server] storing proxy {"proxyId":"child_process"}
[server] storing proxy {"proxyId":"fs"}
[server] storing proxy {"proxyId":"net"}
[2020-09-17T07:12:08.917Z] debug got message from vs code {"message":{"type":"options","id":"pq5aCFrdXtam5TuS3fsYhITY","options":{"workbenchWebConfiguration":{"workspaceUri":{"$mid":1,"path":"/home/pi/gitrepos/rpi.code-workspace","scheme":"vscode-remote","authority":"192.168.1.55:8443"},"remoteAuthority":"192.168.1.55:8443","logLevel":0,"workspaceProvider":{"payload":[["userDataPath","/home/pi/.local/share/code-server"],["enableProposedApi","[]"]]}},"remoteUserDataUri":{"$mid":1,"path":"/home/pi/.local/share/code-server","scheme":"vscode-remote","authority":"192.168.1.55:8443"},"productConfiguration":{"nameShort":"Code - OSS","nameLong":"Code - OSS","applicationName":"code-oss","dataFolderName":".vscode-oss","win32MutexName":"vscodeoss","licenseName":"MIT","licenseUrl":"https://github.com/Microsoft/vscode/blob/master/LICENSE.txt","win32DirName":"Microsoft Code OSS","win32NameVersion":"Microsoft Code OSS","win32RegValueName":"CodeOSS","win32AppId":"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}","win32x64AppId":"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}","win32arm64AppId":"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}","win32UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32x64UserAppId":"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}","win32arm64UserAppId":"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}","win32AppUserModelId":"Microsoft.CodeOSS","win32ShellNameShort":"C&ode - OSS","darwinBundleIdentifier":"com.visualstudio.code.oss","linuxIconName":"com.visualstudio.code.oss","licenseFileName":"LICENSE.txt","reportIssueUrl":"https://github.com/cdr/code-server/issues/new","urlProtocol":"code-oss","extensionAllowedProposedApi":["ms-vscode.vscode-js-profile-flame","ms-vscode.vscode-js-profile-table","ms-vscode.references-view","ms-vscode.github-browser"],"builtInExtensions":[{"name":"ms-vscode.node-debug","version":"1.44.8","repo":"https://github.com/Microsoft/vscode-node-debug","metadata":{"id":"b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.node-debug2","version":"1.42.5","repo":"https://github.com/Microsoft/vscode-node-debug2","metadata":{"id":"36d19e17-7569-4841-a001-947eb18602b2","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.references-view","version":"0.0.61","repo":"https://github.com/Microsoft/vscode-reference-view","metadata":{"id":"dc489f46-520d-4556-ae85-1f9eab3c412d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug-companion","version":"1.0.2","repo":"https://github.com/microsoft/vscode-js-debug-companion","metadata":{"id":"99cb0b7f-7354-4278-b8da-6cc79972169d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug","version":"1.48.1","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"25629058-ddac-4e17-abba-74678e126c5d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.vscode-js-profile-table","version":"0.0.6","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"7e52b41b-71ad-457b-ab7e-0620f1fc4feb","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"webBuiltInExtensions":[{"name":"ms-vscode.github-browser","version":"0.0.2","repo":"https://github.com/Microsoft/vscode-github-browser","metadata":{"id":"c1bcff4b-4ecb-466e-b8f6-b02788b5fb5a","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"commit":"de41646fc402b968ca6d555fdf2da7de9554d28a","date":"2020-08-31T09:43:23Z","version":"1.48.2","extensionsGallery":{"serviceUrl":"https://extensions.coder.com/api","itemUrl":"","controlUrl":"","recommendationsUrl":""}},"nlsConfiguration":{"locale":"en","availableLanguages":{}},"commit":"de41646fc402b968ca6d555fdf2da7de9554d28a"}}}
[2020-09-17T07:12:09.339Z] debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"11071c63-a18b-4c32-932d-3393234a0997","reconnection":"false","skipWebSocketFrames":"false"}}}
[2020-09-17T07:12:09.974Z] debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"7016dd77-1590-4dd7-b022-7a59b46f8492","reconnection":"false","skipWebSocketFrames":"false"}}}
[2020-09-17T07:12:22.651Z] debug setting up vs code...
[2020-09-17T07:12:22.654Z] debug vscode got message from code-server {"message":{"type":"init","id":"72FPIlT4L8dpav7jttXRKGgK","options":{"args":{"_":[],"bind-addr":"192.168.1.55:8443","auth":"password","password":"cd1eb0c8f3ae0689ac9f5875","cert":{"value":"/home/pi/vscs-rpi.pem"},"cert-key":"/home/pi/vscs-rpi-key.pem","disable-telemetry":true,"log":"trace","verbose":true,"config":"/home/pi/.config/code-server/config.yaml","user-data-dir":"/home/pi/.local/share/code-server","extensions-dir":"/home/pi/.local/share/code-server/extensions"},"remoteAuthority":"192.168.1.55:8443","startPath":{"url":"/home/pi/gitrepos/rpi.code-workspace","workspace":true}}}}
[2020-09-17T07:12:22.661Z] debug got message from vs code {"message":{"type":"options","id":"72FPIlT4L8dpav7jttXRKGgK","options":{"workbenchWebConfiguration":{"workspaceUri":{"$mid":1,"path":"/home/pi/gitrepos/rpi.code-workspace","scheme":"vscode-remote","authority":"192.168.1.55:8443"},"remoteAuthority":"192.168.1.55:8443","logLevel":0,"workspaceProvider":{"payload":[["userDataPath","/home/pi/.local/share/code-server"],["enableProposedApi","[]"]]}},"remoteUserDataUri":{"$mid":1,"path":"/home/pi/.local/share/code-server","scheme":"vscode-remote","authority":"192.168.1.55:8443"},"productConfiguration":{"nameShort":"Code - OSS","nameLong":"Code - OSS","applicationName":"code-oss","dataFolderName":".vscode-oss","win32MutexName":"vscodeoss","licenseName":"MIT","licenseUrl":"https://github.com/Microsoft/vscode/blob/master/LICENSE.txt","win32DirName":"Microsoft Code OSS","win32NameVersion":"Microsoft Code OSS","win32RegValueName":"CodeOSS","win32AppId":"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}","win32x64AppId":"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}","win32arm64AppId":"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}","win32UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32x64UserAppId":"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}","win32arm64UserAppId":"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}","win32AppUserModelId":"Microsoft.CodeOSS","win32ShellNameShort":"C&ode - OSS","darwinBundleIdentifier":"com.visualstudio.code.oss","linuxIconName":"com.visualstudio.code.oss","licenseFileName":"LICENSE.txt","reportIssueUrl":"https://github.com/cdr/code-server/issues/new","urlProtocol":"code-oss","extensionAllowedProposedApi":["ms-vscode.vscode-js-profile-flame","ms-vscode.vscode-js-profile-table","ms-vscode.references-view","ms-vscode.github-browser"],"builtInExtensions":[{"name":"ms-vscode.node-debug","version":"1.44.8","repo":"https://github.com/Microsoft/vscode-node-debug","metadata":{"id":"b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.node-debug2","version":"1.42.5","repo":"https://github.com/Microsoft/vscode-node-debug2","metadata":{"id":"36d19e17-7569-4841-a001-947eb18602b2","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.references-view","version":"0.0.61","repo":"https://github.com/Microsoft/vscode-reference-view","metadata":{"id":"dc489f46-520d-4556-ae85-1f9eab3c412d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug-companion","version":"1.0.2","repo":"https://github.com/microsoft/vscode-js-debug-companion","metadata":{"id":"99cb0b7f-7354-4278-b8da-6cc79972169d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug","version":"1.48.1","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"25629058-ddac-4e17-abba-74678e126c5d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.vscode-js-profile-table","version":"0.0.6","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"7e52b41b-71ad-457b-ab7e-0620f1fc4feb","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"webBuiltInExtensions":[{"name":"ms-vscode.github-browser","version":"0.0.2","repo":"https://github.com/Microsoft/vscode-github-browser","metadata":{"id":"c1bcff4b-4ecb-466e-b8f6-b02788b5fb5a","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"commit":"de41646fc402b968ca6d555fdf2da7de9554d28a","date":"2020-08-31T09:43:23Z","version":"1.48.2","extensionsGallery":{"serviceUrl":"https://extensions.coder.com/api","itemUrl":"","controlUrl":"","recommendationsUrl":""}},"nlsConfiguration":{"locale":"en","availableLanguages":{}},"commit":"de41646fc402b968ca6d555fdf2da7de9554d28a"}}}
[2020-09-17T07:12:22.980Z] debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"fb663fdf-c14d-46d3-adb8-ccc55e48d8ed","reconnection":"false","skipWebSocketFrames":"false"}}}
[server] disconnected from client {"proxies":3}
[2020-09-17T07:12:23.506Z] debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"bd057343-91fe-4e38-a156-91cdfc98e629","reconnection":"false","skipWebSocketFrames":"false"}}}
[2020-09-17T07:13:07.562Z] trace 2 active connections
[2020-09-17T07:13:07.563Z] trace heartbeat
[2020-09-17T07:14:07.565Z] trace 0 active connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment