usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.49k stars 582 forks source link

Cant create folders or upload files into webpages. #1128

Open Bodomite opened 10 months ago

Bodomite commented 10 months ago

I have just managed to install cyberpanel on a Ubuntu 20.04 client. Apparently 22.04 doesnt work with cyberpanel installer as of now.

I have made 7 Cyberpanels in the last month, all running on Ubuntu 22.04, working flawlessly. But now it fails hard.

CyberPanel on Ubuntu 20.04 is not able to create folders or upload files onto a webpage.

I have not encountered other issues.

Has the installer been updated recently?

@usmannasir

Bodomite commented 10 months ago

It occurs to me that 22.04 is not supported by the installer? When adding 22.04 and running the installer, it installs on 22.04..

#!/bin/sh

OUTPUT=$(cat /etc/*release)
if  echo $OUTPUT | grep -q "CentOS Linux 7" ; then
        echo "Checking and installing curl and wget"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
                SERVER_OS="CentOS"
elif echo $OUTPUT | grep -q "CentOS Linux 8" ; then
        echo -e "\nDetecting Centos 8...\n"
        SERVER_OS="CentOS8"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
elif echo $OUTPUT | grep -q "AlmaLinux 8" ; then
        echo -e "\nDetecting AlmaLinux 8...\n"
        SERVER_OS="CentOS8"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
elif echo $OUTPUT | grep -q "CloudLinux 7" ; then
        echo "Checking and installing curl and wget"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
                SERVER_OS="CloudLinux"
elif echo $OUTPUT | grep -q "CloudLinux 8" ; then
        echo "Checking and installing curl and wget"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
                SERVER_OS="CloudLinux"
elif echo $OUTPUT | grep -q "Ubuntu 18.04" ; then
apt install -y -qq wget curl
                SERVER_OS="Ubuntu"
elif echo $OUTPUT | grep -q "Ubuntu 20.04" ; then
apt install -y -qq wget curl
                SERVER_OS="Ubuntu"
**### -----------WHERE IS 22.04?-----------**
elif echo $OUTPUT | grep -q "openEuler 20.03" ; then
        echo -e "\nDetecting openEuler 20.03...\n"
        SERVER_OS="openEuler"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
elif echo $OUTPUT | grep -q "openEuler 22.03" ; then
        echo -e "\nDetecting openEuler 22.03...\n"
        SERVER_OS="openEuler"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
else

                echo -e "\nUnable to detect your OS...\n"
                echo -e "\nCyberPanel is supported on Ubuntu 18.04, Ubuntu 20.04 Ubuntu 22.04, AlmaLinux 8 and CloudLinux 7.x...\n"
                exit 1
fi

rm -f cyberpanel.sh
rm -f install.tar.gz
curl --silent -o cyberpanel.sh "https://cyberpanel.sh/?dl&$SERVER_OS" 2>/dev/null
chmod +x cyberpanel.sh
./cyberpanel.sh $@
Bodomite commented 10 months ago

I'm still not able to upload or add files/folders on a website.

Bodomite commented 10 months ago

Creating a website with a domain containing big letters is apparently a No Go.

usmannasir commented 10 months ago

Do you still have this problem ?

usmannasir commented 10 months ago

Can you mention an example domain you are trying on ?

Bodomite commented 10 months ago

I believe I do. Haven't tested it In a couple of days, but will try tomorrow.

On Sun, Sep 24, 2023, 06:54 Usman Nasir @.***> wrote:

Can you mention an example domain you are trying on ?

— Reply to this email directly, view it on GitHub https://github.com/usmannasir/cyberpanel/issues/1128#issuecomment-1732477232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATEY3TZKEWQMGDC3EI7LDALX364J5ANCNFSM6AAAAAA4WJM7CE . You are receiving this because you authored the thread.Message ID: @.***>