Skip to content

CloudPanel 6.0.8 / Package 2.5.4-1+clp-noble - File Manager returns HTTP 403 after update on Ubuntu 24.04.4 LTS #778

Description

@nazry

CloudPanel version(s) affected

CloudPanel CLI 6.0.8 Package: cloudpanel 2.5.4-1+clp-noble

Description

CloudPanel Bug Report

Title

CloudPanel 6.0.8 / Package 2.5.4-1+clp-noble - File Manager returns HTTP 403 after update on Ubuntu 24.04.4 LTS


Environment

Operating System

Ubuntu 24.04.4 LTS

CloudPanel

CloudPanel CLI 6.0.8
Package: cloudpanel 2.5.4-1+clp-noble

Installation

CloudPanel installed through the official repository.


Problem Summary

After updating the server packages (including CloudPanel), the File Manager stopped working for every website.

The CloudPanel dashboard continues to work normally.

All hosted websites continue to work normally.

Only the File Manager returns:

403 Forbidden

Affected URL

Example:

https://SERVER_IP:8443/site/example.com/file-manager

The problem occurs on every hosted website.


Expected Behavior

The File Manager should open normally.


Actual Behavior

CloudPanel displays:

403 Forbidden

Investigation

Websites

All hosted websites work correctly.

No website is affected.


Dashboard

CloudPanel dashboard is fully functional.

Authentication works.

Other menu items work normally.

Only File Manager fails.


Nginx

Configuration validation:

nginx -t

Result:

syntax is ok
test is successful

CloudPanel nginx configuration contains:

location /file-manager/ {
    try_files $uri $uri/ /file-manager/index.php?$args;

    location ~ \.php$ {
        fastcgi_pass unix:/run/clp-fm-php-fpm.sock;
    }
}

PHP Socket

Socket exists:

/run/clp-fm-php-fpm.sock

Services

All CloudPanel services are running.

clp-agent.service
clp-nginx.service
clp-php-fpm.service
redis-server.service
supervisor.service

No failed services.


Nginx Error Log

Every File Manager request produces:

directory index of
"/home/clp/htdocs/app/files/public/file-manager/"
is forbidden

No Permission Denied errors.

No FastCGI errors.

No PHP errors.


Runtime Directory

Current runtime directory:

/home/clp/htdocs/app/files/public/file-manager/

contains only:

assets/
backend.php
src/

Missing:

index.php

Verification

ls /home/clp/htdocs/app/files/public/file-manager/index.php

returns:

No such file or directory

Searching the entire filesystem:

find / -name index.php | grep file-manager

returns nothing.

No File Manager index.php exists anywhere on the system.


Reinstall Test

Executed:

apt install --reinstall cloudpanel

Result:

  • File Manager works again temporarily.

After some time (or after CloudPanel deployment/restart), the problem returns.

The runtime directory is recreated again with:

assets/
backend.php
src/

but still without:

index.php

dpkg Verification

dpkg -V cloudpanel

Reports a large number of missing files.


clp-update

Current updater:

#!/bin/bash

curl -sSkL https://update.cloudpanel.io/v2 | sudo env DEBUG=1 bash

CloudPanel update is downloaded dynamically from:

https://update.cloudpanel.io/v2

What was already checked

✔ Permissions

✔ Ownership

✔ ACL

✔ Redis

✔ PHP-FPM

✔ Supervisor

✔ CloudPanel Agent

✔ Nginx configuration

✔ PHP socket

✔ Runtime directory

✔ Dashboard

✔ Website functionality

Everything appears healthy except File Manager.


Why this looks like a CloudPanel issue

The nginx configuration still expects:

/file-manager/index.php

However, the deployed runtime directory does not contain that file.

This causes nginx to treat the directory as a normal folder and return:

403 Forbidden
directory index ... is forbidden

The issue affects every hosted website.

Reinstalling CloudPanel only fixes it temporarily.

The runtime directory is recreated again without index.php.


Requested Assistance

Please verify:

  • whether CloudPanel 2.5.4 deployment is missing File Manager runtime files,
  • whether /file-manager/index.php should still exist,
  • whether the deployment/update process is incomplete,
  • whether this is a known regression in CloudPanel 6.0.8 / package 2.5.4.

Thank you.

How to reproduce

Reproduction
Install CloudPanel 2.5.4 on Ubuntu 24.04.4.
Update the server packages.
Open CloudPanel.
Open any site's File Manager.
File Manager returns HTTP 403.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions