File Browser not working #640

Closed
opened 2026-02-04 20:31:01 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @thor9898 on GitHub (Mar 15, 2025).

Have you read and understood the above guidelines?

yes

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

File Browser

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/filebrowser.sh)"

📝 Provide a clear and concise description of the issue.

I have tried to use this command in different containers and when i go to the URL provided i get nothing

Image

Image

Image

Image

Image

Image

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

(I have selected debian but it happens in Ubuntu LXCs aswell)

Just paste the sript and going to the IP

Paste the full error output (if available).

n/a

🖼️ Additional context (optional).

No response

Originally created by @thor9898 on GitHub (Mar 15, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? File Browser ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/filebrowser.sh)" ### 📝 Provide a clear and concise description of the issue. I have tried to use this command in different containers and when i go to the URL provided i get nothing ![Image](https://github.com/user-attachments/assets/58cdb4ee-de35-406a-af64-edc4ce4b2d58) ![Image](https://github.com/user-attachments/assets/7e24c540-8bae-4e6a-b0a0-0880445f0249) ![Image](https://github.com/user-attachments/assets/904f4a6a-8253-464f-8694-fc6180dfd756) ![Image](https://github.com/user-attachments/assets/96d08a21-6ee4-4d66-8248-311d46715e09) ![Image](https://github.com/user-attachments/assets/fa39ecfb-5ff8-4721-8d89-91ee192ce849) ![Image](https://github.com/user-attachments/assets/907a4bab-3361-44ca-8643-099b81bb1e9d) ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. (I have selected debian but it happens in Ubuntu LXCs aswell) Just paste the sript and going to the IP ### ❌ Paste the full error output (if available). n/a ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 20:31:01 +03:00
Author
Owner

@MickLesk commented on GitHub (Mar 15, 2025):

systemctl restart filebrowser?

@MickLesk commented on GitHub (Mar 15, 2025): systemctl restart filebrowser?
Author
Owner

@thor9898 commented on GitHub (Mar 15, 2025):

systemctl restart filebrowser?

Not doing anything

Image

Image

@thor9898 commented on GitHub (Mar 15, 2025): > systemctl restart filebrowser? Not doing anything ![Image](https://github.com/user-attachments/assets/950f72fc-8968-4a76-b36f-fb058dcf8555) ![Image](https://github.com/user-attachments/assets/ed984db8-4724-47b7-8336-306298e47824)
Author
Owner

@MickLesk commented on GitHub (Mar 15, 2025):

systemctl status filebrowser?

@MickLesk commented on GitHub (Mar 15, 2025): systemctl status filebrowser?
Author
Owner

@thor9898 commented on GitHub (Mar 15, 2025):

Wtf It's gone to port 9000

Image

any way of changing this?

@thor9898 commented on GitHub (Mar 15, 2025): Wtf It's gone to port 9000 ![Image](https://github.com/user-attachments/assets/7187023f-fb8c-42f7-a169-d8707f845a84) any way of changing this?
Author
Owner

@Xerovoxx98 commented on GitHub (Mar 16, 2025):

Looks like it might be a bug in the script, it does not appear to be applying the port selection

You can manually edit the service file in the LXC and change it

IE:
nano /etc/systemd/system/filebrowser.service
Change any occurrences of 9000 to whatever port you want (IE 8080)
systemctl daemon reload && systemctl restart filebrowser

Then it should be serving on the correct port

@Xerovoxx98 commented on GitHub (Mar 16, 2025): Looks like it might be a bug in the script, it does not appear to be applying the port selection You can manually edit the service file in the LXC and change it IE: `nano /etc/systemd/system/filebrowser.service` Change any occurrences of 9000 to whatever port you want (IE 8080) `systemctl daemon reload && systemctl restart filebrowser` Then it should be serving on the correct port
Author
Owner

@Xerovoxx98 commented on GitHub (Mar 16, 2025):

For any contributers (I am not one, so I cannot change this)
EDIT - Scratch that, I have created a pull request on the Dev repo!
https://github.com/community-scripts/ProxmoxVED/pull/52

The debian service file for Filebrowser is not using the $PORT variable, it is hard-coded to 9000

    if [[ "$OS" == "Debian" ]]; then
        cat <<EOF > "$SERVICE_PATH"
[Unit]
Description=Filebrowser
After=network-online.target

[Service]
User=root
WorkingDirectory=/usr/local/community-scripts
ExecStartPre=/bin/touch /usr/local/community-scripts/filebrowser.db
ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p 9000 -d /usr/local/community-scripts/filebrowser.db
ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p 9000
Restart=always

[Install]
WantedBy=multi-user.target
EOF
@Xerovoxx98 commented on GitHub (Mar 16, 2025): For any contributers (I am not one, so I cannot change this) EDIT - Scratch that, I have created a pull request on the Dev repo! https://github.com/community-scripts/ProxmoxVED/pull/52 The debian service file for Filebrowser is not using the $PORT variable, it is hard-coded to 9000 ``` if [[ "$OS" == "Debian" ]]; then cat <<EOF > "$SERVICE_PATH" [Unit] Description=Filebrowser After=network-online.target [Service] User=root WorkingDirectory=/usr/local/community-scripts ExecStartPre=/bin/touch /usr/local/community-scripts/filebrowser.db ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p 9000 -d /usr/local/community-scripts/filebrowser.db ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p 9000 Restart=always [Install] WantedBy=multi-user.target EOF ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#640