This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
deploy modules throws 404 error after upgrade to ML8 #370
Comments
"deploy modules" has multiple steps. Sounds like src got deployed to the modules database, but the properties (rest-api/config/properties.xml) failed. Try updating the server-version property to 8. There were changes to the REST API's rewriter; I'm also wondering if that's involved. |
I had one project where I defined --server-version=8 when it was created. It too throws this error when deploying modules |
See if this one fixes you up: #336 |
I'm having the same problem, and it's not #336. I think it's a rewriter issue. All the REST API endpoints return 404. Update: confirmed, it's a rewriter issue. Changing the rewriter to "/MarkLogic/rest-api/rewriter.xml" from "/MarkLogic/rest-api/rewriter.xqy" fixed the problem |
fixed in dev |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I upgraded my ML server to ML8 today. Now when I deploy modules on roxy I get a 404 error even though the modules appear to have loaded properly.
Any thoughts on why I'd get the 404?
Thanks.
I issued the command:
bash ml local deploy modules -v
The console showed:
loading: /cygdrive/c/Users/nizdobs/Dropbox/MarkLogic/roxy/roxy/restApp/src/ajax/test.html => /ajax/test.html using dbid: 1046177332298282927
Closing HTTP connection to localhost:8002
Loaded 15 documents from /cygdrive/c/Users/nizdobs/Dropbox/MarkLogic/roxy/roxy/restApp/src to localhost:8074/restApp-modules at 02/08/2015 06:57:07 pm
url: http://localhost:8073/v1/config/properties
ERROR: 404 "Not Found"
ERROR:
The text was updated successfully, but these errors were encountered: