Skip to content

[BUG] SQLTools blank tab instead of form. #197

Open
@VivaPitagoras

Description

@VivaPitagoras

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have installed SQLTools extension so I can connect to a maiadb/mysql database. When I go to the extension and and click in the button to "Add new connection" it opens a new tab where there should be a form to add the connection details but it appears blank.

I've tried adding the connection details manually in setting.json successfully, but whenever I perform a query I have the same problem, A new blanck tab is opened isntead of one with results of the query.

Grabacion.de.pantalla.2025-04-06.030007.mp4

Expected Behavior

There should appear a tab with a form to add the connection details instead of blank.

Steps To Reproduce

1.- Deploy code-server with docker compose.
2.- Install SQLTools extension.
3.- Go to the SQLTool extension on the left column.
4.- Click on "Add New Connection" button.

Environment

- OS: Ubuntu server 24.04.01
- How docker service was installed: apt install docker.io

CPU architecture

x86-64

Docker creation

---
services:
  code-server:
    image: ghcr.io/linuxserver/code-server:4.98.2
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - PASSWORD=Cacadevac4 #optional
      - HASHED_PASSWORD= #optional
      - SUDO_PASSWORD=1234 #optional
      - SUDO_PASSWORD_HASH= #optional
      - PROXY_DOMAIN=code-server.my.domain #optional
      - DEFAULT_WORKSPACE=/workspace #optional
    volumes:
      - ./config:/config
      - ./workspace:/workspace
    ports:
      - 8443:8443
    restart: unless-stopped
    networks:
      - mynet

networks:
  mynet:
    external: true

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.98.2-ls263
Build-date: 2025-04-05T20:22:47+00:00
───────────────────────────────────────
    
setting up sudo access
adding abc to sudoers
setting sudo password using SUDO_PASSWORD env var
New password: Retype new password: passwd: password updated successfully
Change in ownership or new install detected, please be patient while we chown existing files
This could take some time
[custom-init] No custom files found, skipping...
[2025-04-19T01:06:05.869Z] info  Wrote default config file to /config/.config/code-server/config.yaml
[2025-04-19T01:06:06.250Z] info  code-server 4.98.2 e2c489dd00f163b1a8d959965b0c30c1a978a080
[2025-04-19T01:06:06.251Z] info  Using user-data-dir /config/data
[2025-04-19T01:06:06.268Z] info  Using config file /config/.config/code-server/config.yaml
[2025-04-19T01:06:06.269Z] info  HTTP server listening on http://0.0.0.0:8443/
[2025-04-19T01:06:06.269Z] info    - Authentication is enabled
[2025-04-19T01:06:06.269Z] info      - Using password from $PASSWORD
[2025-04-19T01:06:06.269Z] info    - Not serving HTTPS
[2025-04-19T01:06:06.269Z] info    - Proxying the following domain:
[2025-04-19T01:06:06.269Z] info      - {{port}}.code-server.my.domain
[2025-04-19T01:06:06.269Z] info  Using proxy URI in PORTS tab: //{{port}}.code-server.my.domain
[2025-04-19T01:06:06.269Z] info  Session server listening on /config/data/code-server-ipc.sock
Connection to 127.0.0.1 8443 port [tcp/*] succeeded!
[ls.io-init] done.
[03:06:18] 




[03:06:18] Extension host agent started.
[03:06:18] Started initializing default profile extensions in extensions installation folder. file:///config/extensions
[03:06:18] Completed initializing default profile extensions in extensions installation folder. file:///config/extensions
File not found: /app/code-server/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
File not found: /app/code-server/lib/vscode/node_modules/vsda/rust/web/vsda.js
[03:06:26] [172.18.0.29][b86de710][ManagementConnection] New connection established.
[03:06:27] [172.18.0.29][45bbc627][ExtensionHostConnection] New connection established.
[03:06:28] [172.18.0.29][45bbc627][ExtensionHostConnection] <1156> Launched Extension Host Process.
[03:06:31] [172.18.0.29][00e10557][ExtensionHostConnection] Unknown reconnection token (never seen).
[03:06:39] [172.18.0.29][80d8b401][ManagementConnection] Unknown reconnection token (never seen).
File not found: /config/extensions/mtxr.sqltools-0.28.4-universal/icons/database-active-light.svg
[03:07:11] Getting Manifest... mtxr.sqltools
[03:07:11] Installing extension: mtxr.sqltools {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  pinned: false,
  isApplicationScoped: false,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/config/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///config/extensions/extensions.json',
    _fsPath: '/config/extensions/extensions.json'
  },
  productVersion: { version: '1.98.2', date: '2025-03-14T19:02:47.726Z' }
}
[03:07:13] Extension signature verification is not done: mtxr.sqltools
[03:07:13] Could not load vsce-sign module Cannot find package '@vscode/vsce-sign' imported from /app/code-server/lib/vscode/out/server-main.js
[03:07:13] Extracted extension to file:///config/extensions/mtxr.sqltools-0.28.4-universal: mtxr.sqltools
[03:07:13] Renamed to /config/extensions/mtxr.sqltools-0.28.4-universal
[03:07:13] Extension installed successfully: mtxr.sqltools file:///config/extensions/extensions.json

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions