Impossible to move / restore YouTrack
Hi everyone, We are moving YouTrack from a private cloud to onPrem. We have a backup provided from the current environment and are trying to restore it on Windows. YouTrack is running on version 2023.2.20008. We tried several ways to restore YouTrack, but each time the restore failed. First we installed a new YouTrack environment onPrem in version 2023.2.20008. After successful installation we stopped the YouTrack service, provided the new data directory from our backup as described in your documentation "change database location", but we get the following error message after restarting YouTrack:
[2025-02-17 17:35:45,422] ================================================================ (start)
[2025-02-17 17:37:25,146] ================================================================ (finish)
[2025-02-17 17:38:34,859] ================================================================ (start)
[2025-02-17 17:39:14,555] ================================================================ (finish)
[2025-02-17 17:40:56,950] ================================================================ (start)
[2025-02-17 17:44:21,835] ================================================================ (finish)
[2025-02-17 17:44:21,844] ================================================================ (start)
[2025-02-17 17:46:05,280] ================================================================ (finish)
[2025-02-17 17:56:06,473] ================================================================ (start)
[2025-02-17 17:56:45,421] [YouTrack Error] [2025-02-17 17:56:45,414] ERROR - dle.util.hub.HubServiceUpdater - Cannot update services information in Hub
[2025-02-17 17:56:45,435] [YouTrack Error] com.jetbrains.bundle.util.hub.UpdaterHubServiceException: Service for 'youtrack' does not exists in Hub (http://127.0.0.1:9061/hub). Attempt to create it failed: HTTP 400 Bad Request Details: YouTrack should have license
[2025-02-17 17:56:45,435] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.ensureCreatedAndVerified(HubServiceUpdater.java:142) ~[bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,437] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.update(HubServiceUpdater.java:59) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,439] [YouTrack Error] at com.jetbrains.bundle.services.impl.HubConfiguratorService.configureHubServices(HubConfiguratorService.java:87) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,439] [YouTrack Error] at com.jetbrains.bundle.services.impl.HubConfiguratorService.doStart(HubConfiguratorService.java:64) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,439] [YouTrack Error] at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:66) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,439] [YouTrack Error] at com.jetbrains.bundle.Services.startService(Services.java:648) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,440] [YouTrack Error] at com.jetbrains.bundle.Services.startAllServices(Services.java:575) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,440] [YouTrack Error] at com.jetbrains.bundle.Services.start(Services.java:555) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,440] [YouTrack Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:273) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,440] [YouTrack Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:237) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,440] [YouTrack Error] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[2025-02-17 17:56:45,443] [YouTrack Error] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
[2025-02-17 17:56:45,443] [YouTrack Error] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[2025-02-17 17:56:45,443] [YouTrack Error] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
[2025-02-17 17:56:45,444] [YouTrack Error] at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:100) [bundle-bootstrap-2.0.42.jar:?]
[2025-02-17 17:56:45,444] [YouTrack Error] at jdk.proxy4.$Proxy30.start(Unknown Source) [?:?]
[2025-02-17 17:56:45,448] [YouTrack Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99) [youtrack-wrapper.jar:1.0.206]
[2025-02-17 17:56:45,449] [YouTrack Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97) [youtrack-wrapper.jar:1.0.206]
[2025-02-17 17:56:45,449] [YouTrack Error] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
[2025-02-17 17:56:45,449] [YouTrack Error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
[2025-02-17 17:56:45,449] [YouTrack Error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
[2025-02-17 17:56:45,449] [YouTrack Error] at java.lang.Thread.run(Thread.java:833) [?:?]
[2025-02-17 17:56:45,450] [YouTrack Error] Caused by: javax.ws.rs.BadRequestException: HTTP 400 Bad Request
[2025-02-17 17:56:45,451] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:999) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,451] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,452] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,452] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,453] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,454] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,455] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,455] [YouTrack Error] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,455] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,456] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:448) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,456] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:349) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,456] [YouTrack Error] at jetbrains.jetpass.client.accounts.ServiceClient.createService(ServiceClient.java:38) ~[hub-client-all-2018.1.8679.jar:?]
[2025-02-17 17:56:45,456] [YouTrack Error] at com.jetbrains.bundle.hub_client.util.HubUtil.createEmptyVerifiedService(HubUtil.java:125) ~[hub-client-util-2.0.42.jar:?]
[2025-02-17 17:56:45,457] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.ensureCreatedAndVerified(HubServiceUpdater.java:126) ~[bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,457] [YouTrack Error] ... 21 more
[2025-02-17 17:56:45,493] [YouTrack Error] [2025-02-17 17:56:45,474] ERROR - es.impl.HubConfiguratorService - Service does not exists in Hub. Check property youtrack.service.id in file conf/internal/hub.properties
[2025-02-17 17:56:45,494] [YouTrack Error] Problem: Service for 'youtrack' does not exists in Hub (http://127.0.0.1:9061/hub). Attempt to create it failed: HTTP 400 Bad Request Details: YouTrack should have license
[2025-02-17 17:56:45,495] [YouTrack Error] com.jetbrains.bundle.util.hub.UpdaterHubServiceException: Service for 'youtrack' does not exists in Hub (http://127.0.0.1:9061/hub). Attempt to create it failed: HTTP 400 Bad Request Details: YouTrack should have license
[2025-02-17 17:56:45,495] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.ensureCreatedAndVerified(HubServiceUpdater.java:142) ~[bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,495] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.update(HubServiceUpdater.java:59) ~[bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,495] [YouTrack Error] at com.jetbrains.bundle.services.impl.HubConfiguratorService.configureHubServices(HubConfiguratorService.java:87) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,496] [YouTrack Error] at com.jetbrains.bundle.services.impl.HubConfiguratorService.doStart(HubConfiguratorService.java:64) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,496] [YouTrack Error] at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:66) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at com.jetbrains.bundle.Services.startService(Services.java:648) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at com.jetbrains.bundle.Services.startAllServices(Services.java:575) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at com.jetbrains.bundle.Services.start(Services.java:555) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:273) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:237) [bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[2025-02-17 17:56:45,497] [YouTrack Error] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
[2025-02-17 17:56:45,498] [YouTrack Error] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[2025-02-17 17:56:45,498] [YouTrack Error] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
[2025-02-17 17:56:45,498] [YouTrack Error] at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:100) [bundle-bootstrap-2.0.42.jar:?]
[2025-02-17 17:56:45,498] [YouTrack Error] at jdk.proxy4.$Proxy30.start(Unknown Source) [?:?]
[2025-02-17 17:56:45,498] [YouTrack Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99) [youtrack-wrapper.jar:1.0.206]
[2025-02-17 17:56:45,498] [YouTrack Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97) [youtrack-wrapper.jar:1.0.206]
[2025-02-17 17:56:45,498] [YouTrack Error] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
[2025-02-17 17:56:45,499] [YouTrack Error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
[2025-02-17 17:56:45,499] [YouTrack Error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
[2025-02-17 17:56:45,499] [YouTrack Error] at java.lang.Thread.run(Thread.java:833) [?:?]
[2025-02-17 17:56:45,500] [YouTrack Error] Caused by: javax.ws.rs.BadRequestException: HTTP 400 Bad Request
[2025-02-17 17:56:45,500] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:999) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,500] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,501] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,501] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,501] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,501] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,501] [YouTrack Error] at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,502] [YouTrack Error] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[jersey-common-2.20.jar:?]
[2025-02-17 17:56:45,503] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,503] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:448) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,503] [YouTrack Error] at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:349) ~[jersey-client-2.20.jar:?]
[2025-02-17 17:56:45,504] [YouTrack Error] at jetbrains.jetpass.client.accounts.ServiceClient.createService(ServiceClient.java:38) ~[hub-client-all-2018.1.8679.jar:?]
[2025-02-17 17:56:45,504] [YouTrack Error] at com.jetbrains.bundle.hub_client.util.HubUtil.createEmptyVerifiedService(HubUtil.java:125) ~[hub-client-util-2.0.42.jar:?]
[2025-02-17 17:56:45,505] [YouTrack Error] at com.jetbrains.bundle.util.hub.HubServiceUpdater.ensureCreatedAndVerified(HubServiceUpdater.java:126) ~[bundle-2.0.42.jar:?]
[2025-02-17 17:56:45,505] [YouTrack Error] ... 21 more
[2025-02-17 17:56:45,505] [YouTrack Error] [2025-02-17 17:56:45,494] ERROR - bundle.startup - Error while starting JetBrains YouTrack 2023.2: Service for 'youtrack' does not exists in Hub (http://127.0.0.1:9061/hub). Attempt to create it failed: HTTP 400 Bad Request Details: YouTrack should have license
[2025-02-17 17:56:46,011] ================================================================ (finish)
2nd attempt: We run the youtrack installer and click on upgrade to restore our backup. We have provided the source as described in your documentation "Restoring a ZIP installation". After validating the files, we get the message "Setting up JetBrains YouTrack 2023.2 Please be patient and do not close this page until the setup is complete". This message runs in a loop. In the error log we can find the following error “Password file not found”:
[2025-02-17 18:57:55,017] ================================================================ (start)
[2025-02-17 18:57:55,198] [YouTrack Error] Fehler: Kennwortdatei nicht gefunden: /home/youtrack/install/current/conf/jmxremote.password
[2025-02-17 18:57:55,198] [YouTrack Error] jdk.internal.agent.AgentConfigurationError
[2025-02-17 18:57:55,199] [YouTrack Error] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.checkPasswordFile(ConnectorBootstrap.java:595)
[2025-02-17 18:57:55,199] [YouTrack Error] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:437)
[2025-02-17 18:57:55,199] [YouTrack Error] at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
[2025-02-17 18:57:55,199] [YouTrack Error] at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:599)
[2025-02-17 18:57:55,235] ================================================================ (finish)
Thank you for any help. We have been struggling for a week to restore YouTrack in a new environment.
Regards
Ralf
Please sign in to leave a comment.
Hello,
I'm Lena from the YouTrack Team.
I'm afraid we need additional information for the investigation. Could you please contact us directly via link: https://jb.gg/ytsup ?
Hello Lena,
Thanks for your reply!
I have contacted you directly. Request: 7279033.