Control Web Panel

WebPanel => Installation => Topic started by: cloudit on July 28, 2023, 02:45:26 PM

Title: unkown database root_cwp
Post by: cloudit on July 28, 2023, 02:45:26 PM
I am getting this error during installation https://prnt.sc/CviHGCYFxVj6
Title: Re: unkown database root_cwp
Post by: max007 on July 28, 2023, 03:15:18 PM
I had the same problem after fresh install
Title: Re: unkown database root_cwp
Post by: cloudit on July 28, 2023, 05:34:03 PM
I tried the installation 3 times but couldn't solve it
Title: Re: unkown database root_cwp
Post by: lolovk on July 28, 2023, 10:41:33 PM
Me too. Same problem.

It seems that some repos are deprecated.
Title: Re: unkown database root_cwp
Post by: overseer on July 28, 2023, 10:49:23 PM
You can manually create the root_cwp database if need be. But are you supplying valid SQL DB credentials to the install script?
Title: Re: unkown database root_cwp
Post by: lolovk on July 28, 2023, 10:56:35 PM
You can manually create the root_cwp database if need be. But are you supplying valid SQL DB credentials to the install script?

Its a fresh install: New VM, new Centos7 Installation. The script is not running properly.
Title: Re: unkown database root_cwp
Post by: wmedia on July 28, 2023, 11:03:03 PM
The installation script is looking for http://static.cdn-cwp.com/files/cwp/sql/root_cwp.sql but the request resolves a 403 page, so it cann't create the database.
Title: Re: unkown database root_cwp
Post by: overseer on July 29, 2023, 01:49:14 AM
An older copy is available here:
Code: [Select]
curl -O http://dl1.centos-webpanel.com/files/cwp/sql/root_cwp.sqlYou could edit the install script so as to reference this SQL source instead so as to complete the installation.

EDIT: Bing's cached copy indicates that the dl1 linked file is the same as the static.cdn version of the root_cwp.sql file. So my suggestion is a valid workaround until the devs get this sorted.
Title: Re: unkown database root_cwp
Post by: lolovk on July 29, 2023, 10:00:23 AM
There are more forbidden links. I've edited the file replacing all "static.cdn" entrys by "dl1.centos-webpanel" and now the installation works.

I hope the dev team solve the problem.