Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <Clicking on the plugins/manage themes section causes the screen to go black> #10

Open
1 task done
Apocalyptichobo opened this issue Jul 11, 2024 · 9 comments
Open
1 task done

Comments

@Apocalyptichobo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Whenever I click on a section that takes you into a new window (themes, plugins), it pops the window up for a second and then the screen goes black. I also cannot right click to fix the screen

Expected Behavior

Should pop up the correct menu

Steps To Reproduce

  1. Go to settings
  2. Go to themes
  3. Click on manage themes
  4. Do the same for plugins

Environment

- OS: Debian 12, CasaOS
- How docker service was installed: CasaOS Appstore

CPU architecture

x86-64

Docker creation

Appstore

Container logs

No logs
Copy link

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

@LinuxServer-CI
Copy link
Contributor

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.

@akshaysth
Copy link

I've run into the same issue with the latest build of the image (built 5 days ago). Here's the log that seems to be consistent with the black screen

[truncated]
Obt-Message: Xinerama extension is not present on the server
 2024-08-23 19:54:08,765 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-08-23 19:54:08,809 [PRIO] Connections: accepted: @10.0.0.2_1724442848.771147::websocket
/usr/bin/obsidian: line 13:   294 Trace/breakpoint trap   (core dumped) ${BIN} --no-sandbox "$@" > /dev/null 2>&1

@thelamer
Copy link
Member

Can you run the container seccomp unconfined ?

@glaucon1984
Copy link

I have the same issue. Brand new VM with last Ubuntu Server LTS, apt install docker.io, deploy Portainer, deploy Obsidian.
If I try to go to settings -> appearance within Obsidian I get a black screen.
If I enter "Alt+Tab" I can see this:

image

the logs:

[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Xvnc KasmVNC 1.2.0 - built Aug 17 2024 19:02:57
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation
[ls.io-init] done.
Failure: No such entity
Obt-Message: Xinerama extension is not present on the server
2024-08-23 23:38:40,573 [INFO] websocket 0: got client connection from 127.0.0.1
2024-08-23 23:38:40,580 [PRIO] Connections: accepted: @192.168.X.X_1724452720.573790::websocket

I don't know how to "run the container seccomp unconfined".

@glaucon1984
Copy link

glaucon1984 commented Aug 24, 2024

I've been messing more with it, so far there are two scenarios in which I can reliably reproduce the "black screen" issue, and I can more or less overcome these problems:

  • Go to Obsidian Settings -> Appareance -> Base color scheme -> change to "Dark": the whole app goes black.
    (The alternative is to install the 3rd party plugin "Toggle Dark Mode" and assigning a shourtcut change it that way)

  • Go to Community plugins, enable them, browse for plugins and select "Calendar": the whole app goes black.
    (I can manually download the Calendar plugin from Github and copy it to .obsidian/plugins, same trick works with other problematic plugins)

EDIT: OK, it also happens while scrolling through notes, I need to restart the container to keep using Obsidian.

@LinuxServer-CI
Copy link
Contributor

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.

@Gregoire-Fremaux
Copy link

Can reproduce this behavior
but i fix when i add in my docker compose file
shm_size: "1gb"

Here the compose i use:

  obsidian:
    image: 'linuxserver/obsidian:latest'
    restart: unless-stopped
    environment:
     - CUSTOM_USER=xxxxxx
     - PASSWORD=xxxxx
     - TZ=Europe/Paris
    volumes:
     - /home/xxxx/xx/xxx/config:/config
     - /home/xxxx/xx/xxx/images:/custom_assets
    shm_size: "1gb"
    dns:
     - 8.8.8.8

@glaucon1984
Copy link

Can reproduce this behavior but i fix when i add in my docker compose file shm_size: "1gb"

This fixed it for me. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

6 participants