Discussion in 'HOWTO-Related Questions' started by Maslak Yavuz, Jan 25, 2019.
in the manual, do i have to restore mysql from old server too ?
You have to move the whole ispconfig installation and config files over yourself if you don't use a tool that automates this. You can find several threads that describe manual migration steps here in the howtoforge forum.
Ok, There is a mysql.sql mysql backups
I restored databases from the old machine successfully, and copied directories in /var/www
ispconfig admin panel works. But when i browse a virtual site, the default web page comes as attached:
how can i fix it ?
Are the expexted websites visible in ISPConfig Sites-tab? If yes, then try going in ISPConfig to System | Sync Tools and do resync for all services.
If he did not move the web users and client groups over first (see #19), then the resync might result in different uid's.
I can see all clients on the sites tab, domains on the clients tab and users on the clients tab on the ispconfig panel. it doesn't only come virtual sites' web pages when i call .
what websiite i call on the server, the same default apache page comes.
uid seems correct how can i check validity?
for example;in the server command vipw;
on the regarding websites on the ispconfig
Document Root /var/www/clients/client31/web56
Also on the command line interface;
[[email protected] www]# id -u web56
[[email protected] www]# id -g web56
for example, i added a new customer and added a domain into new client.
when i click browse at new site, the server return again default apache web site instead of ispconfig default page.
i restored ispconfig database. some values left old settings at the server config/web tab on the ispconfig page, Old server is ubuntu, new server is centos. may this settings cause this ?
i realized that i didn't copied vhosts files in sites-available and vhostlinks in sites-enabled. Besides original ispconfig runs on ubuntu. fresh server is centos thus relevant apache directories are different ( apache / httpd )
I got rid of the problem. fortunately all upgrade environment is in the lab. next phase i am going to try multiple php versions
after moving the conf to new ispconfig server, i cannot login ispconfig admin page. I get below error;
Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php
i entered dbispconfig and "UPDATE sys_user SET passwort = md5(‘admin’) WHERE username = ‘admin’;" and then i ran the update.php on the ispconfig. But it doesn't work . how can i fix it?
Maybe you overwrote the password of the ispconfig mysql user? If yes, set the correct password that you find in the ispconfig config.inc.php files in mysql for the user ispconfig.
I shall try it. By the way, i installed ispconfig3.1 on ubuntu16.04_lts as fresh. there is not domains section on the panel as imaged. there was in the old version. is it normal? regards
Separate names with a comma.