Author Topic: Dashboard missing Widgets.  (Read 3370 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Dashboard missing Widgets.
« on: July 24, 2022, 09:07:02 PM »
I am using LightSail and create a snapshot copy of a fresh installation of CWP.
The original installation where this was copied looks fine.
But the new one has no widgets on the dashboard.
See attached.

Nagui

Offline
*
Re: Dashboard missing Widgets.
« Reply #1 on: July 24, 2022, 10:30:34 PM »
Here is the image of my dashboard.
https://ibb.co/R4cgMQG
« Last Edit: July 24, 2022, 10:38:30 PM by naguibihelek »

Offline
*****
Re: Dashboard missing Widgets.
« Reply #2 on: July 24, 2022, 11:05:37 PM »
Did you already goto "CWP Settings -> Edit Settings" and enter the new VPS info (IP, etc)?

Offline
*
Re: Dashboard missing Widgets.
« Reply #3 on: July 24, 2022, 11:23:56 PM »
Thanks Starburst.
I thought I did. In rechecking. It was incorrect.
After correcting and rebooting. It is still the same.
Is there a command to rebuild that?
Thanks again.
Nagui

Offline
*****
Re: Dashboard missing Widgets.
« Reply #4 on: July 24, 2022, 11:45:42 PM »
It pulls from the servers config.

Which means when you cloned the image it brought over the networking info.

Check/change that at: /etc/sysconfig/network-scripts/
If wrong, correct, and reboot then check that menu again.

Run "sh /scripts/cwp_update_all" to be safe.

If it not saving the settings, then something is corrupt in the image.

I've found out just installing CWP from scratch is faster, and then cut & past common .conf files.

Offline
*
Re: Dashboard missing Widgets.
« Reply #5 on: July 25, 2022, 12:09:31 AM »
Thanks again.
Which file has the IP address in etc/sysconfig/network-scripts/ ?
Could run update all
[root@server ~]# sh /scripts/cwp_update_all
/scripts/cwp_update_all: line 16: /usr/local/cwpsrv/htdocs/resources/admin/version.txt: No such file or directory
/scripts/cwp_update_all: line 17: /usr/local/cwpsrv/htdocs/admin/design/version.txt: No such file or directory
awk: cmd. line:1: {print
awk: cmd. line:1:       ^ unexpected newline or end of string
awk: cmd. line:1: {print
awk: cmd. line:1:       ^ unexpected newline or end of string
cat: /usr/local/cwpsrv/var/services/user_files/version.txt: No such file or directory
cat: /usr/local/cwpsrv/var/services/users/cwp_theme/version.txt: No such file or directory
awk: cmd. line:1: {print
awk: cmd. line:1:       ^ unexpected newline or end of string
awk: cmd. line:1: {print
awk: cmd. line:1:       ^ unexpected newline or end of string

I guess it's a job for tomorrow. Start from scratch.
Thanks for your help.
Nagui

Offline
*****
Re: Dashboard missing Widgets.
« Reply #6 on: July 25, 2022, 01:03:59 AM »
In /etc/sysconfig/network-scripts/
Depends on how the image was setup/done. It's usually ifcfg-eth0

But have seen other names as well. If you only have 1 network port, there should only be 1 config file in there.

From you capture above, it looks like you are missing some CWP Admin files/directories.

Which leads me to think the image isn't complete or is corrupt. :/