Import existing replication cluster fails with 404 error
I just install clustercontrol. First problem was that I already have nginx on my server, so I had to modify the ports for apache/clustercontrol. Now I can login to clustercontrol and after entering all data in the import existing cluster tab, I get the following error:
Oops! Something went wrong
404 Not Found
nginx/1.12.2
-
Hi Guido,
Did you follow the instructions as described in this page: https://severalnines.com/blog/how-configure-clustercontrol-run-nginx ?
It's a bit outdated but some parts are still relevant like nginx configuration lines and php5-fpm package.
Regards,
Ashraf -
Hi Guido,
If you are using a different port for ClusterControl, you need to change it from ClusterControl database too.
On controller, do:
$ mysql -p
$ use dcps
$ select * from apis;
There you have the URL field:
If you are using the port 8080 for example, you need to do an update:
$ update apis set url="http://127.0.0.1:8080/cmonapi" where id=1;
Regards,
Sebastian.
Please sign in to leave a comment.
Comments
7 comments