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
Here is the image of my dashboard.
https://ibb.co/R4cgMQG
Did you already goto "CWP Settings -> Edit Settings" and enter the new VPS info (IP, etc)?
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
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.
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
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. :/