CyberHosting

Update cyberpanel to 1.93 | Ubuntu 18.04

I tried the documented methods to no avail.
A consistent error was: no module named django
I dug around and found the solution in:
https://forums.cyberpanel.net/discussion/3376/installing-cyberpanel-with-python-3#latest
@netbos posted the one line of code I needed:

bash <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

Bingo! the stream of terminal text started flowing.

yeah man the bash instead of the sh was the cure to the headache and the solution to my desire to upgrade easily and efficiently...

Comments

  • ohhhh you are a big guy !!

    Thank you !!
  • Glad to be help ;)
  • My opinion as a web developer:
    ☁ī¸đŸŒĒ🌩ī¸đŸŒ¤ī¸
    The comments in the thread `After update version 1.9.3 from 1.9.2 Server Error 500' @ (https://forums.cyberpanel.net/discussion/3633/after-update-version-1-9-3-from-1-9-2-server-error-500#latest) by @phoros are valid from my own experience over the last few months.
    -----------------------------------------------------------------------------------
    * @phoros | January 9
    Hi Guys!
    Just did the update on CentOS 7 in one of our servers, all went smoothly, few warnings, no errors. Everything flies. I'll do the same in a minute on Ubuntu, we'll see.
    ~[ A HINT: ]~
    I always install CP as root from a root folder. The same with upgrading. It solved ALL my problems with installations in the past and all servers work beautifully since then. I've seen many problems here at forums which I saw in the past when I was acting as a user or sudo user. I think it should be mentioned somewhere in manuals / tutorials. I know it's probably not the best idea due to security reasons (or someone couldn't have such permissions) but after many hours of fights with errors and walls in the past, I havent't got any single issue acting as a root.

    * @billyf | January 10
    I tried with Root and I still got the 500 Internal Server error after the update on Centos 7.

    * phoros | January 10
    And has it been installed with root?
    As I mentioned I saw several different errors AFTER installing CP as user, then sudo user. And finally I've read somewhere about some other guy who started from scratch as root after many hours of fighting with errors. And bam: all went just like that. I did the same - started from scratch, reinstalled CentOS, did everything as a root - it worked. And since then we're running several machines built like that without an issue. I've upgraded 2 yesterday smoothly.
    It doesn't have to be a remedy for you for some reason and I'm not a expert here.
    Just sharing our experience.

    -----------------------------------------------------------------------------------

    My opinion as a web developer 2:
    ☁ī¸đŸŒĒ🌩ī¸đŸŒ¤ī¸
    The steps below are best for minimal problems and to learn as you build.

    ~ If you want to setup a hosting facility using CyberPanel you should have a development stage first or at least while you are creating your network.

    đŸŒĢ READ & USE the Knowledge Base at: https://cyberpanel.net/docs

    ~ Initially do all steps as ROOT using installed users and passwords.
    Hardening & tuning (ie/ changing settings/users/passwords, etc. )
    should be started after you have a working CyberPanel and a reliable
    snapshot/backup.

    ~ Install the correct version of Ubuntu or Centos to a raw server you own.

    ~ Install latest version of CyberPanel (from scratch not script/image/backup)
    Ubuntu - https://idroot.us/install-cyberpanel-ubuntu-18-04-lts
    Centos - https://cyberpanel.net/docs

    Obviously there are many other steps and issues to learn and customise to successfuly manage a working & reliable self hosted litespeed server.

    I posted this opinion because I know how frustrating it can get if you have problems.
    A lot of info on the web is dangerous or outdated and can ruin your work & learning curve.

    -----------------------------------------------------------------------------------
    Duncan
    devs 🌩ī¸ NeweraCloud.net ☁ī¸ Newera2020.com 🌤ī¸
    -----------------------------------------------------------------------------------

    ~ Upgrading to current CyberPanel version : 1.93 ~
    Ubuntu 18.04: use code at start of this thread
    Centos 7: use current documented CyberPanel code
  • @neweracloud - thanks for a great tutorial and spreading my tip. You've exactly described my case with CP.

    BTW, I didn't learn too much from CP Knowledge Base to be honest... As a basis - yes. But then I jumped (still do) form site to site, from forum to forum searching for trails (the exact answers almost don't exist). It means we don't have a proper docs here. And from my a decade IT/web experience - never assume anything with readers/ clients/ coworkers... ;)

    We've started to play around with OpenLiteSpeed and CyberPanel in November and we're absolutely thrilled with the results. Now we're about to open the first server outside with few production sites already published at it. It's such a cosmic switch from Apache and I believe more and more hosts will be powered by LS/CP in the future.

    One more thing.
    We've been testing CP at both CenOS and Ubuntu. We find CentOS much more stable, predictable and polished in everyday use so in the end we're planning to stick to CentOS entirely.
  • Newera Linux which I am releasing this year is currently built using Ubuntu server, Kubuntu, Plasma desktop, KDE repos and other components that are available, updated and easily maintained as deb64/snap/appimage.
    It will allow most plasma distros to be used but after testing on Centos, Fedora, Arch, Neon, Ubos and others the consistency of Ubuntu/Kubuntu resolved many minor issues including availability of included GUI apps/plugins/extensions, etc.
    ~
    An engineer is someone who possesses the knowledge or expertise to create and implement plans or build machines. Even if you're not an engineer, when you engineer you make plans and solve problems. ⚡ ⭕ ✅ âŦ… âŦ† âŦ‡ đŸ’ģ

    (https://www.vocabulary.com/dictionary/engineer?family=Engineer)
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!