linuxserver / docker-code-server

GNU General Public License v3.0
1.54k stars 314 forks source link

[BUG] Blank page after login #153

Closed stisko closed 10 months ago

stisko commented 1 year ago

Is there an existing issue for this?

Current Behavior

I installed code-server using docker-compose file provided here. After I login, with password defined, white screen is displayed. If I open Developer Tools on browser, these are the below errors:

image image

Expected Behavior

No response

Steps To Reproduce

  1. Create a file docker-compose.yml pasting the content of Docker Compose File.
  2. In the same directory as the file run docker-compose up -d
  3. Go to Browser on ip:8443
  4. Enter credentials
  5. Blank Screen

Environment

- OS: Raspbian GNU/Linux 11 (bullseye)
- Architecture : 32-bit ARMv6Z

CPU architecture

armhf

Docker creation

The Docker Compose file:

---
version: "2.1"
services:
  code-server:
    image: lscr.io/linuxserver/code-server:latest
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Athens
      - PASSWORD=MY_PASS
      - DEFAULT_WORKSPACE=/config/workspace
    volumes:
      - /home/pi/vscode/config:/config
      - /home/pi/ha:/config/workspace
    ports:
      - 8443:8443
    restart: unless-stopped

### Container logs

```bash
───────────────────────────────────────

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

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

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────

╔═════════════════════════════════════════════════════╗
║                                                     ║
║      The 32-bit Arm version of this image will      ║
║       no longer be supported after 2023-07-01       ║
║                                                     ║
║          See: https://linuxserver.io/armhf          ║
║                  for more details                   ║
║                                                     ║
╚═════════════════════════════════════════════════════╝

[custom-init] No custom files found, skipping...
[2023-05-24T11:10:19.156Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:10:19.162Z] info  Using user-data-dir ~/data
[2023-05-24T11:10:19.256Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:10:19.256Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:10:19.257Z] info    - Authentication is enabled
[2023-05-24T11:10:19.257Z] info      - Using password from $PASSWORD
[2023-05-24T11:10:19.258Z] info    - Not serving HTTPS
[ls.io-init] done.
[14:10:38] 

[14:10:39] Extension host agent started.
[2023-05-24T11:10:39.475Z] error child:169 Uncaught exception: EISDIR: illegal operation on a directory, read
[2023-05-24T11:10:39.478Z] error child:169 Error: EISDIR: illegal operation on a directory, read
[14:10:39] [Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}
[14:10:45] No ptyHost heartbeat after 6 seconds
[2023-05-24T11:12:21.032Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:12:21.038Z] info  Using user-data-dir ~/data
[2023-05-24T11:12:21.182Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:12:21.183Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:12:21.184Z] info    - Authentication is enabled
[2023-05-24T11:12:21.184Z] info      - Using password from $PASSWORD
[2023-05-24T11:12:21.185Z] info    - Not serving HTTPS
[14:12:53] 

[14:12:53] Extension host agent started.
[2023-05-24T11:12:53.798Z] error child:513 Uncaught exception: EISDIR: illegal operation on a directory, read
[2023-05-24T11:12:53.800Z] error child:513 Error: EISDIR: illegal operation on a directory, read
[14:12:53] [Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}
[14:12:59] No ptyHost heartbeat after 6 seconds
[2023-05-24T11:18:58.470Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:18:58.476Z] info  Using user-data-dir ~/data
[2023-05-24T11:18:58.613Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:18:58.613Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:18:58.614Z] info    - Authentication is enabled
[2023-05-24T11:18:58.614Z] info      - Using password from $PASSWORD
[2023-05-24T11:18:58.615Z] info    - Not serving HTTPS
[14:19:30] 

[14:19:30] Extension host agent started.
[2023-05-24T11:19:30.695Z] error child:842 Uncaught exception: EISDIR: illegal operation on a directory, read
[2023-05-24T11:19:30.697Z] error child:842 Error: EISDIR: illegal operation on a directory, read
[14:19:30] [Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}
[14:19:36] No ptyHost heartbeat after 6 seconds
[14:39:06] Extension host agent started.
[2023-05-24T11:39:06.980Z] error child:164 Uncaught exception: EISDIR: illegal operation on a directory, read
[2023-05-24T11:39:06.983Z] error child:164 Error: EISDIR: illegal operation on a directory, read
[14:39:06] [Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}
[14:39:18] No ptyHost heartbeat after 6 seconds
[2023-05-24T11:39:30.044Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:39:30.050Z] info  Using user-data-dir ~/data
[2023-05-24T11:39:30.155Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:39:30.156Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:39:30.156Z] info    - Authentication is enabled
[2023-05-24T11:39:30.157Z] info      - Using password from $PASSWORD
[2023-05-24T11:39:30.157Z] info    - Not serving HTTPS
[2023-05-24T11:40:31.020Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:40:31.025Z] info  Using user-data-dir ~/data
[2023-05-24T11:40:31.109Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:40:31.110Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:40:31.111Z] info    - Authentication is enabled
[2023-05-24T11:40:31.111Z] info      - Using password from $PASSWORD
[2023-05-24T11:40:31.111Z] info    - Not serving HTTPS
[14:40:32] 

[14:40:32] Extension host agent started.
[14:40:38] No ptyHost heartbeat after 6 seconds
[2023-05-24T11:40:52.595Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:40:52.606Z] info  Using user-data-dir ~/data
[2023-05-24T11:40:52.737Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:40:52.738Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:40:52.738Z] info    - Authentication is enabled
[2023-05-24T11:40:52.739Z] info      - Using password from $PASSWORD
[2023-05-24T11:40:52.739Z] info    - Not serving HTTPS
[14:40:56] 

[14:40:56] Extension host agent started.
[2023-05-24T11:41:09.956Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:41:09.962Z] info  Using user-data-dir ~/data
[2023-05-24T11:41:10.057Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:41:10.058Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:41:10.058Z] info    - Authentication is enabled
[2023-05-24T11:41:10.059Z] info      - Using password from $PASSWORD
[2023-05-24T11:41:10.059Z] info    - Not serving HTTPS
[14:41:11] 

[14:41:11] Extension host agent started.
[2023-05-24T11:41:25.229Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:41:25.235Z] info  Using user-data-dir ~/data
[2023-05-24T11:41:25.360Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:41:25.361Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:41:25.361Z] info    - Authentication is enabled
[2023-05-24T11:41:25.361Z] info      - Using password from $PASSWORD
[2023-05-24T11:41:25.362Z] info    - Not serving HTTPS
[14:45:23] 

[14:45:23] Extension host agent started.
[2023-05-24T11:45:38.277Z] info  code-server 4.13.0 2798322b03e7f446f59c5142215c11711ed7a427
[2023-05-24T11:45:38.283Z] info  Using user-data-dir ~/data
[2023-05-24T11:45:38.372Z] info  Using config file ~/.config/code-server/config.yaml
[2023-05-24T11:45:38.373Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-05-24T11:45:38.373Z] info    - Authentication is enabled
[2023-05-24T11:45:38.373Z] info      - Using password from $PASSWORD
[2023-05-24T11:45:38.374Z] info    - Not serving HTTPS
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

zdenkers commented 1 year ago

I also have this same issue, only I'm not using a password. the page just loads blank. there is clearly html and javascript being loaded into the browser, but its basically just empty whitespace.

github-actions[bot] commented 12 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

This issue is locked due to inactivity