Import existing replication cluster fails with 404 error

Comments

7 comments

  • Avatar
    Guido Smit

    I tried to figure out which server is giving this error, but I can't find the http call in the network tab of Chrome's developer tools.

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    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

    0
    Comment actions Permalink
  • Avatar
    Guido Smit

    I tried it, but the result is exactly the same.

    0
    Comment actions Permalink
  • Avatar
    Sebastian Insausti

    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:

    Eg: http://127.0.0.1/cmonapi

     

    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.

    0
    Comment actions Permalink
  • Avatar
    Guido Smit

    I didn't change the ports. After the install for nginx I'm using the standard ports.

    0
    Comment actions Permalink
  • Avatar
    Guido Smit

    The problem was with the 127.0.0.1 part. Fixed the 404 error. Tried to import, but every import job fails. Where can I find the reason of the failure?

    0
    Comment actions Permalink
  • Avatar
    Guido Smit

    nm found the job messages table. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk