Hi Community,
I was just migrating an EspoCRM instance from one server to another. Copying the database and files to the new server. Unfortunately, after setting up the system. I am always getting an 404 not found error when trying to access the login page. After reviewing the logs it appeared as if the api was not reachable.
Output in apache log was:
X.X.X.X - - [17/Sep/2023:17:23:53 +0200] "GET /api/v1/Settings HTTP/1.1"404495"http://www.domain.de/""Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"
X.X.X.X - - [17/Sep/2023:17:23:53 +0200] "GET /api/v1/I18n?default=true HTTP/1.1"404495"http://www.domain.de/""Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"
The espo logs have nothing. In order to ensure it was an issue specifically related to the copied instance, I did setup another blank EspoCRM instance. This worked totally fine an the /api/v1/Settings endpoints etc. returned the values as expected.
What could be the issue when trying to migrate Espo to another Server?
Thank you in advance.
I was just migrating an EspoCRM instance from one server to another. Copying the database and files to the new server. Unfortunately, after setting up the system. I am always getting an 404 not found error when trying to access the login page. After reviewing the logs it appeared as if the api was not reachable.
Output in apache log was:
X.X.X.X - - [17/Sep/2023:17:23:53 +0200] "GET /api/v1/Settings HTTP/1.1"404495"http://www.domain.de/""Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"
X.X.X.X - - [17/Sep/2023:17:23:53 +0200] "GET /api/v1/I18n?default=true HTTP/1.1"404495"http://www.domain.de/""Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"
The espo logs have nothing. In order to ensure it was an issue specifically related to the copied instance, I did setup another blank EspoCRM instance. This worked totally fine an the /api/v1/Settings endpoints etc. returned the values as expected.
What could be the issue when trying to migrate Espo to another Server?
Thank you in advance.
Comment