Seafile - Failed to complete installation #849

Closed
opened 2026-02-04 21:53:53 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @BradSimard on GitHub (Apr 24, 2025).

Originally assigned to: @michelroegl-brunner on GitHub.

Have you read and understood the above guidelines?

Yes

📜 What is the name of the script you are using?

Seafile

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seafile.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Upon trying to install seafile, it will fail at the Setting up Seafile step with the following output:

   _____            _____ __   
  / ___/___  ____ _/ __(_) /__ 
  \__ \/ _ \/ __ `/ /_/ / / _ \
 ___/ /  __/ /_/ / __/ / /  __/
/____/\___/\__,_/_/ /_/_/\___/ 
                               
  ⚙️  Using Default Settings on node glowey
  🖥️  Operating System: debian
  🌟  Version: 12
  📦  Container Type: Unprivileged
  💾  Disk Size: 20 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🆔  Container ID: 107
  🚀  Creating a Seafile LXC using the above default settings
  
  ✔️  Using local for Template Storage.
  ✔️  Using glowey_zfs for Container Storage.
  ✔️  Updated LXC Template List
  ✔️  LXC Template is ready to use.
  ✔️  LXC Container 107 was successfully created.
  ✔️   Started LXC Container
  ✔️  Set up Container OS
  ✔️  Network Connected: 192.168.1.92 
  ✔️  IPv4 Internet Connected
  ✖️  IPv6 Internet Not Connected
  ✔️  DNS Resolved github.com to 140.82.112.4
  ✔️  Updated Container OS
  ✔️  Core dependencies installed
  ✔️  Installed Dependencies
  ✔️  Installed MariaDB
  ✔️  MariaDB setup for Seafile
  ✔️  Installed Seafile Python Dependecies
  ✔️  Installed Seafile
  ✔️  Memcached Started
  ✔️  Conf files adjusted
 ⠙ Setting up Seafile 
[ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

/dev/fd/63: line 72: SPINNER_PID: unbound variable

I've tried to run it twice and also tried an advanced install. All three have failed at the same step, with the same error

🔄 Steps to reproduce the issue.

  1. Run the script: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seafile.sh)"
  2. Observe the error in the output

Paste the full error output (if available).

The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

/dev/fd/63: line 72: SPINNER_PID: unbound variable```
Originally created by @BradSimard on GitHub (Apr 24, 2025). Originally assigned to: @michelroegl-brunner on GitHub. ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? Seafile ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seafile.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Upon trying to install seafile, it will fail at the ```Setting up Seafile``` step with the following output: ``` _____ _____ __ / ___/___ ____ _/ __(_) /__ \__ \/ _ \/ __ `/ /_/ / / _ \ ___/ / __/ /_/ / __/ / / __/ /____/\___/\__,_/_/ /_/_/\___/ ⚙️ Using Default Settings on node glowey 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 20 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🆔 Container ID: 107 🚀 Creating a Seafile LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using glowey_zfs for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 107 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.92 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.112.4 ✔️ Updated Container OS ✔️ Core dependencies installed ✔️ Installed Dependencies ✔️ Installed MariaDB ✔️ MariaDB setup for Seafile ✔️ Installed Seafile Python Dependecies ✔️ Installed Seafile ✔️ Memcached Started ✔️ Conf files adjusted ⠙ Setting up Seafile [ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1 The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. /dev/fd/63: line 72: SPINNER_PID: unbound variable ``` I've tried to run it twice and also tried an advanced install. All three have failed at the same step, with the same error ### 🔄 Steps to reproduce the issue. 1. Run the script: ```bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seafile.sh)"``` 2. Observe the error in the output ### ❌ Paste the full error output (if available). ```[ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1 The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. /dev/fd/63: line 72: SPINNER_PID: unbound variable```
OVERLORD added the bugdelete script labels 2026-02-04 21:53:53 +03:00
Author
Owner

@BradSimard commented on GitHub (Apr 24, 2025):

Ran with verbose to see what the specific error is:

✔️  Memcached Started
  ✔️  Conf files adjusted
 ⠋bash: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory

EDIT: Upon re-running with advanced mode so I could set the root ssh password, I found that the directory it's looking for is incorrect.

Maybe it failed to rename it or something, but my LXC has /opt/seafile/seafile-server-11.0.13 instead of /opt/seafile/seafile-server-latest

Maybe a minor fix in the script then.

@BradSimard commented on GitHub (Apr 24, 2025): Ran with verbose to see what the specific error is: ``` ✔️ Memcached Started ✔️ Conf files adjusted ⠋bash: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory ``` EDIT: Upon re-running with advanced mode so I could set the root ssh password, I found that the directory it's looking for is incorrect. Maybe it failed to rename it or something, but my LXC has ```/opt/seafile/seafile-server-11.0.13``` instead of ```/opt/seafile/seafile-server-latest``` Maybe a minor fix in the script then.
Author
Owner

@MickLesk commented on GitHub (Apr 24, 2025):

@michelroegl-brunner we should remove the script, Or do you see a meaningful bugfix? Version 12, for example, is completely different again

@MickLesk commented on GitHub (Apr 24, 2025): @michelroegl-brunner we should remove the script, Or do you see a meaningful bugfix? Version 12, for example, is completely different again
Author
Owner

@michelroegl-brunner commented on GitHub (Apr 24, 2025):

Oh my, this is un maintainable.

I say we remove it to be honest, this is not worth our time. @MickLesk

@michelroegl-brunner commented on GitHub (Apr 24, 2025): Oh my, this is un maintainable. I say we remove it to be honest, this is not worth our time. @MickLesk
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#849