[GH-ISSUE #19] /usr/local/bin/fixuid: 2: Syntax error: Unterminated quoted string #18

Closed
opened 2026-02-27 01:55:16 +03:00 by kerem · 9 comments
Owner

Originally created by @cookie050 on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/electerm/electerm-web-docker/issues/19

2025-07-11T13:59:43.588437996Z /usr/local/bin/fixuid: 2: Syntax error: Unterminated quoted string

version: '3.8'
services:
  electerm-web:
    image: zxdong262/electerm-web:latest
    container_name: electerm-web
    deploy:
      placement:
        constraints:
          - node.hostname==<hostname>
    volumes:
      - /opt/Electerm-web-data:/home/electerm/data
      - /etc/localtime:/etc/localtime:ro
      - /etc/resolv.conf:/etc/resolv.conf:ro
      - /etc/timezone:/etc/timezone:ro
    environment:
      - DB_PATH=/home/electerm/data
      - HOST=0.0.0.0
      - SERVER_SECRET=<some value because i don't post a secret or password on the internet>
      - SERVER_PASS=<some value because i don't post a secret or password on the internet>
      - ENABLE_AUTH=1
      - TZ=Europe/Amsterdam
    ports:
      - target: 5577
        published: 5577
        protocol: tcp
        mode: host
    init: true
Originally created by @cookie050 on GitHub (Jul 11, 2025). Original GitHub issue: https://github.com/electerm/electerm-web-docker/issues/19 2025-07-11T13:59:43.588437996Z /usr/local/bin/fixuid: 2: Syntax error: Unterminated quoted string ``` version: '3.8' services: electerm-web: image: zxdong262/electerm-web:latest container_name: electerm-web deploy: placement: constraints: - node.hostname==<hostname> volumes: - /opt/Electerm-web-data:/home/electerm/data - /etc/localtime:/etc/localtime:ro - /etc/resolv.conf:/etc/resolv.conf:ro - /etc/timezone:/etc/timezone:ro environment: - DB_PATH=/home/electerm/data - HOST=0.0.0.0 - SERVER_SECRET=<some value because i don't post a secret or password on the internet> - SERVER_PASS=<some value because i don't post a secret or password on the internet> - ENABLE_AUTH=1 - TZ=Europe/Amsterdam ports: - target: 5577 published: 5577 protocol: tcp mode: host init: true ```
kerem closed this issue 2026-02-27 01:55:16 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jul 12, 2025):

  - SERVER_SECRET=
  - SERVER_PASS=

should not be empty

<!-- gh-comment-id:3064658174 --> @zxdong262 commented on GitHub (Jul 12, 2025): - SERVER_SECRET= - SERVER_PASS= should not be empty
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

Edit:
changed the values in the original post

  - SERVER_SECRET=
  - SERVER_PASS=

should not be empty

I know, but it's not like i will post it with those values

<!-- gh-comment-id:3064980441 --> @cookie050 commented on GitHub (Jul 12, 2025): Edit: changed the values in the original post > ``` > - SERVER_SECRET= > - SERVER_PASS= > ``` > > should not be empty I know, but it's not like i will post it with those values
Author
Owner

@zxdong262 commented on GitHub (Jul 12, 2025):

No idea why this happens, can try the config in readme, to confirm if it is related to other settings in your config?

<!-- gh-comment-id:3065142192 --> @zxdong262 commented on GitHub (Jul 12, 2025): No idea why this happens, can try the config in readme, to confirm if it is related to other settings in your config?
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

Tried running it on other rpi4 and 5 same results. On amd64 no problem, clean and with config. So i think it's missing something in the arm64 image.

<!-- gh-comment-id:3065207047 --> @cookie050 commented on GitHub (Jul 12, 2025): Tried running it on other rpi4 and 5 same results. On amd64 no problem, clean and with config. So i think it's missing something in the arm64 image.
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

Find in the Dockerfile.ubuntu that fixuid is downloaded for amd64 and not arm64 so it ain't executable for arm64

<!-- gh-comment-id:3065289752 --> @cookie050 commented on GitHub (Jul 12, 2025): Find in the Dockerfile.ubuntu that fixuid is downloaded for amd64 and not arm64 so it ain't executable for arm64
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

Got it running with the arm64 binair on the rpi, so problem found :)

architecture=""
case $(uname -m) in
x86_64) architecture="amd64" ;;
arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="arm" ;;
esac
curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.5.1/fixuid-0.5.1-linux-$(architecture).tar.gz | tar -C /usr/local/bin -xzf -

<!-- gh-comment-id:3065410166 --> @cookie050 commented on GitHub (Jul 12, 2025): Got it running with the arm64 binair on the rpi, so problem found :) architecture="" case $(uname -m) in x86_64) architecture="amd64" ;; arm) dpkg --print-architecture | grep -q "arm64" && architecture="arm64" || architecture="arm" ;; esac curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.5.1/fixuid-0.5.1-linux-$(architecture).tar.gz | tar -C /usr/local/bin -xzf -
Author
Owner

@zxdong262 commented on GitHub (Jul 12, 2025):

fixed now, please pull latest release

<!-- gh-comment-id:3065726437 --> @zxdong262 commented on GitHub (Jul 12, 2025): fixed now, please pull latest release
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

Thanks and all ready running :)

<!-- gh-comment-id:3065732365 --> @cookie050 commented on GitHub (Jul 12, 2025): Thanks and all ready running :)
Author
Owner

@cookie050 commented on GitHub (Jul 12, 2025):

I close the issue, love the software <3

<!-- gh-comment-id:3065745386 --> @cookie050 commented on GitHub (Jul 12, 2025): I close the issue, love the software <3
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm-web-docker#18
No description provided.