[question] conan install/inspect not working after conan server migration
See original GitHub issueHi,
I am having some issues with a conan server migration. I have copied the conan data directory to the new server, package search works but inspect or install fails on the existing packages. A new package on the new server all works as expected, upload, search, inspect, and install.
The old server is using a venv and the data is on a NAS share, inherited so don’t know much about the history but it is time expiring for a couple things so needs to be moved. The new server is not using a venv and a local drive for the conan files.
I have tried a couple different versions v1.9.2 and v1.9.3 but neither seem to work for me.
Search from the client:
DEBUG :tracer.py [157]: CONAN_API: search_recipes(remote_name=conan1,case_sensitive=False) [2021-04-26 09:32:00,871]
DEBUG :rest_client_common.py[160]: REST: ping: http://conan1:9300/v1/ping [2021-04-26 09:32:00,880]
DEBUG :rest_client.py [58]: REST: Cached capabilities for the remote: ['complex_search', 'revisions', 'revisions'] [2021-04-26 09:32:00,894]
DEBUG :rest_client_common.py[188]: REST: get: http://conan1:9300/v1/conans/search?q=jsoncpp%2F%2A [2021-04-26 09:32:00,894]
DEBUG :conan_api.py [176]: INIT: Using config '/home/user/.conan/conan.conf' [2021-04-26 09:32:02,580]
DEBUG :tracer.py [157]: CONAN_API: get_remote_by_name() [2021-04-26 09:32:02,587]
Existing package recipes:
jsoncpp/1.8.4@3rdparty/stable
Inspect from the client:
DEBUG :rest_client.py [58]: REST: Cached capabilities for the remote: ['complex_search', 'revisions', 'revisions'] [2021-04-22 09:28:17,570]
DEBUG :rest_client_common.py[188]: REST: get: http://conan1:9300/v1/conans/jsoncpp/1.8.4/3rdparty/stable/digest [2021-04-22 09:28:17,579]
DEBUG :rest_client_common.py[30]: REST ERROR: <class 'conans.errors.NotFoundException'> [2021-04-22 09:28:17,586]
ERROR: Recipe not found: 'jsoncpp/1.8.4@3rdparty/stable'
From the server:
Apr 26 09:32:00 conan1 gunicorn[1659]: [2021-04-26 09:32:00 -0700] [1662] [DEBUG] GET /v1/ping
Apr 26 09:32:00 conan1 gunicorn[1659]: [2021-04-26 09:32:00 -0700] [1662] [DEBUG] GET /v1/conans/search
Apr 22 09:28:17 conan1 gunicorn[4208]: [2021-04-22 09:28:17 -0700] [4213] [DEBUG] GET /v1/ping
Apr 22 09:28:17 conan1 gunicorn[4208]: [2021-04-22 09:28:17 -0700] [4213] [DEBUG] GET /v1/conans/jsoncpp/1.8.4/3rdparty/stable/digest
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Problems creating the server - Funcom Forums
Running the port with the official software has a green light. But when entering the game and going to the server list, it...
Read more >Conan Exiles down? Current problems and outages
Real-time problems and outages for Conan Exciles. Online gaming not working? Is the server down? Here you see what is going on.
Read more >Adding Mods to your Conan Exiles Server - Nodecraft
Learn how to add mods to your Nodecraft hosted Conan Exiles server. ... as uploads can be resumable in-case of any network problems....
Read more >Conan Exiles All Server Settings | GPORTAL Wiki
Conan Exiles was developed by Funcom and is an open-world survival game. The most important questions about the Conan Franchise Game are answered...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

i copied the venv to the new server, ran the venv server package and checked the functionality. Shut down the venv conan server. Ran conan_server --migrate outside of the venv. Then started the conan_server outside of the venv. Everything is working as expected now. Thanks for pointing me to the older versions not being compatible with the newer versions.
Happy to know it is solved now.
For the future, I would recommend:
conan download) and re-upload to the new server.