linuxserver / docker-obsidian

GNU General Public License v3.0
191 stars 15 forks source link

[BUG] Can't paste from windows buffer into web browser accessed self hosted container. #16

Open Hypnocrit opened 10 hours ago

Hypnocrit commented 10 hours ago

Is there an existing issue for this?

Current Behavior

I go to a note program like notepad++, I select plain text, I then hit control C.. after that going to the obsidian hosted app in web browser, I then press control V and nothing happens.

I can copy some other text from the obsidian app and it seems to have its own copy/paste buffer.

Expected Behavior

I would expect copy/paste to work.

Steps To Reproduce

Go to obsidian app running in docker via web browser on port of it being served (3000). Paste some text and note that nothing happens. insert some random text, then copy it, and note that it has its own internal copy/paste buffer.

Environment

standard install, review the container below.

CPU architecture

x86-64

Docker creation

---
services:
  obsidian:
    image: lscr.io/linuxserver/obsidian:latest
    container_name: obsidian
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /root/apps/obsidian:/config
    ports:
      - 3000:3000
      - 3001:3001
    devices:
      - /dev/dri:/dev/dri #optional
    shm_size: "1gb"
    restart: unless-stopped

Container logs

root@app02:~/apps# nano docker-compose.yml
root@app02:~/apps# docker logs obsidian
[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
───────────────────────────────────────
..+......+...+.+...+..+..................+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...............+............................+..+.+..............+...+...................+......+.....+..........+.........+...+..+...+.+......+...+......+..+.............+.....+.........+..........+............+...........+.......+...+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.........+...+..+.......+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+......+.....+.........+.+..+.+..............+..........+........+...+......+.........+......+.............+.....+.+.....+............+.......+..+..........+......+..+...............+.......+......+...+...........+....+..+.......+..+...+.+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
**** adding /dev/dri/card0 to video group video with id 44 ****
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.3 - built Nov 20 2024 19:55:29
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

Obt-Message: Xinerama extension is not present on the server
17
 2024-11-25 04:46:44,058 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-11-25 04:46:44,074 [PRIO] Connections: accepted: @10.0.0.141_1732510004.58988::websocket
 2024-11-25 05:02:00,542 [PRIO] Connections: closed: @10.0.0.141_1732510004.58988::websocket (Clean disconnection)
 2024-11-25 05:02:01,088 [INFO] websocket 1: got client connection from 127.0.0.1
 2024-11-25 05:02:01,103 [PRIO] Connections: accepted: @10.0.0.141_1732510921.88892::websocket
 2024-11-25 05:05:03,473 [PRIO] Connections: closed: @10.0.0.141_1732510921.88892::websocket (Clean disconnection)
 2024-11-25 05:05:03,786 [INFO] websocket 2: got client connection from 127.0.0.1
 2024-11-25 05:05:03,801 [PRIO] Connections: accepted: @10.0.0.141_1732511103.786925::websocket
 2024-11-25 05:07:09,387 [PRIO] Connections: closed: @10.0.0.141_1732511103.786925::websocket (Clean disconnection)
github-actions[bot] commented 10 hours ago

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

aptalca commented 10 hours ago

If you're connecting over http, your browser is likely blocking it.

It may require you to connect over https with a 3rd party validated cert.

We recommend reverse proxying via SWAG

You can also try the clipboard function through the side menu.