architecture-playground / terraform-playground

0 stars 0 forks source link

Introduction into YouTrack #8

Closed BulgakovAnton closed 4 years ago

BulgakovAnton commented 4 years ago

4h up prod teamcity server from 2018 to 2020 version install and start to learn youtrack

BulgakovAnton commented 4 years ago

7H installed youtrack on a test server and created users and issues when I tried to make a backup, this error is issued

28 Sep 2020 11:33:51,520 INFO  [RingConfigImpl                ] [init servlet        ] [init] Establishing connection to Hub. Attempt 4 of 10. Result: Can't connect to Hub
28 Sep 2020 11:34:01,531 WARN  [HubClientFactory              ] [init servlet        ] [init] Can't create Hub client for http://127.0.0.1:8080/hub. Reason:Cannot find key store file "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts".
BulgakovAnton commented 4 years ago

5h understood the structure of teamcity how it transmits data

[2020-09-29 14:27:34,943]  TRACE -                           root - [start] ================================================================ (start)
[2020-09-29 14:27:35,012]  DEBUG - ins.launcher.ep.commands.Start - [start] JetLauncher process ID: 5685
[2020-09-29 14:27:35,014]  DEBUG - ins.launcher.ep.commands.Start - [start] Using Java: <YouTrack Home>/internal/java/linux-x64/jre (version "1.8.0_131")
[2020-09-29 14:27:35,014]  DEBUG - ins.launcher.ep.commands.Start - [start] YouTrack home directory: /home/ubuntu/youtrack
[2020-09-29 14:27:35,014]  DEBUG - ins.launcher.ep.commands.Start - [start] Command line: [start, --no-browser]
[2020-09-29 14:27:35,014]  DEBUG - ins.launcher.ep.commands.Start - [start] JetLauncher logs directory: <YouTrack Home>/logs
[2020-09-29 14:27:35,015]  DEBUG - ins.launcher.ep.commands.Start - [start] JetLauncher version: 1.0.61
[2020-09-29 14:27:35,015]  DEBUG - ins.launcher.ep.commands.Start - [start] Loaded launcher plugins: [mac-daemon-commands, win-service-commands, ConfPathProvider]
[2020-09-29 14:27:35,015]  DEBUG - ins.launcher.ep.commands.Start - [start] YouTrack config folder: <YouTrack Home>/conf
[2020-09-29 14:27:35,016]  DEBUG - .BaseLauncherConfig$BaseParser - [start] Using launcher configuration file: jar:file:<YouTrack Home>/launcher/lib/youtrack-launcher.jar!/launcher.java.config
[2020-09-29 14:27:35,049]  DEBUG - launcher.util.LauncherExecutor - [start] Starting launcher process with command: [/home/ubuntu/youtrack/internal/java/linux-x64/jre/bin/java, -Djl.service=YouTrack Launcher, -Djl.home=/home/ubuntu/youtrack, -ea, -Xmx5m, -XX:+HeapDumpOnOutOfMemoryError, -Dfile.encoding=UTF-8, -XX:MaxMetaspaceSize=15m, -jar, launcher/lib/youtrack-launcher.jar, do, start, --no-browser] (at path: "/home/ubuntu/youtrack", system properties: {java.awt.headless=true})
[2020-09-29 14:27:35,502]  TRACE -                           root - ================================================================ (start)
[2020-09-29 14:27:35,519]  DEBUG - rains.launcher.ep.commands.Run - JetLauncher process ID: 5699
[2020-09-29 14:27:35,520]  DEBUG - rains.launcher.ep.commands.Run - Using Java: <YouTrack Home>/internal/java/linux-x64/jre (version "1.8.0_131")
[2020-09-29 14:27:35,520]  DEBUG - rains.launcher.ep.commands.Run - YouTrack home directory: /home/ubuntu/youtrack
[2020-09-29 14:27:35,520]  DEBUG - rains.launcher.ep.commands.Run - Command line: [do, start, --no-browser]
[2020-09-29 14:27:35,520]  DEBUG - rains.launcher.ep.commands.Run - JetLauncher logs directory: <YouTrack Home>/logs
[2020-09-29 14:27:35,521]  DEBUG - rains.launcher.ep.commands.Run - JetLauncher version: 1.0.61
[2020-09-29 14:27:35,521]  DEBUG - rains.launcher.ep.commands.Run - Loaded launcher plugins: [mac-daemon-commands, win-service-commands, ConfPathProvider]
[2020-09-29 14:27:35,521]  DEBUG - rains.launcher.ep.commands.Run - YouTrack config folder: <YouTrack Home>/conf
[2020-09-29 14:27:35,522]  DEBUG - .BaseLauncherConfig$BaseParser - Using launcher configuration file: jar:file:<YouTrack Home>/launcher/lib/youtrack-launcher.jar!/launcher.java.config
[2020-09-29 14:27:35,554]   INFO - rains.launcher.ep.commands.Run - Starting YouTrack...
[2020-09-29 14:27:35,562]  DEBUG - ains.launcher.run.AgentProcess - Tue Sep 29 14:27:35 UTC 2020 ==> Start launch
[2020-09-29 14:27:35,566]  DEBUG - ins.launcher.util.LauncherUtil - Deleting <YouTrack Home>/logs/youtrack.pid
[2020-09-29 14:27:35,567]  DEBUG - ins.launcher.util.LauncherUtil - Deleting <YouTrack Home>/logs/youtrack.port
[2020-09-29 14:27:35,569]  DEBUG - ins.launcher.util.LauncherUtil - Deleting <YouTrack Home>/logs/youtrack.exit.flag
[2020-09-29 14:27:35,592]  DEBUG - tbrains.launcher.run.JavaAgent - Launching YouTrack process with command: [/home/ubuntu/youtrack/internal/java/linux-x64/jre/bin/java, -Djl.service=YouTrack, -Djl.home=/home/ubuntu/youtrack, -ea, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=logs, -XX:ErrorFile=logs/hs_err_pid%p.log, -Dfile.encoding=UTF-8, -XX:MaxMetaspaceSize=250m, -Xmx1024m, -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000, -Dorg.eclipse.jetty.server.Request.maxFormKeys=10000, -Djetbrains.http.request.header.buffer.size=50000, -Djetbrains.http.response.header.buffer.size=50000, -Djetbrains.jetpass.admin.name=default_admin_name, -Djavax.net.ssl.keyStore=/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts, -Djavax.net.ssl.keyStorePassword=changeit, -Djavax.net.ssl.trustStore=/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts, -Djavax.net.ssl.trustStorePassword=changeit, -jar, launcher/lib/app-wrapper/youtrack-wrapper.jar, AppStarter, com.jetbrains.bundle.bootstrap.Bundle, --no-browser] (at path: "/home/ubuntu/youtrack", system properties: {launcher.app.home=/home/ubuntu/youtrack, launcher.app.conf.dir=/home/ubuntu/youtrack/conf, java.awt.headless=true, launcher.app.name=YouTrack})
[2020-09-29 14:27:47,302]   INFO - ins.launcher.ep.commands.Start - [start] YouTrack is running
[2020-09-29 14:27:47,303]  TRACE -                           root - [start] ================================================================ (finish)
BulgakovAnton commented 4 years ago

6h today I tried to solve the errors in youtrack that I got

30 Sep 2020 11:11:04,402 DEBUG [sionsCacheInvalidationListener] [init servlet        ] [init] Got permission cache invalidation event
30 Sep 2020 11:11:04,443 DEBUG [HubPermissionsCacheData       ] [init servlet        ] [init] Rebuilding Hub-based custom field permission cache...
30 Sep 2020 11:11:04,472 DEBUG [HubPermissionsCacheData       ] [init servlet        ] [init] Custom field permission cache for 106 users built in 29 ms
30 Sep 2020 11:11:01,057 WARN  [TrustStorageImpl              ] [init servlet        ] [init] Auxiliary truststore /home/ubuntu/youtrack-2017.2.35124/conf/internal/keystore.jks does not exist, skipping
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'jetbrains.mps.businessRules.runtime.QuartzSharedAsyncProcessorThreadPool' - with 2 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
30 Sep 2020 11:11:19,565 DEBUG [sionsCacheInvalidationListener] [Hub event sync      ] [Hub Event Sync User] Got permission cache invalidation event
30 Sep 2020 11:11:19,598 DEBUG [FilteringRingEventListener    ] [Hub event sync      ] [Hub Event Sync User] Got Service Update event. Hub id: 0a77603d-e755-4166-9b0f-ac1457c0568b
30 Sep 2020 11:11:19,609 DEBUG [HubPermissionsCacheData       ] [Hub event sync      ] [init] Rebuilding Hub-based custom field permission cache...
30 Sep 2020 11:11:19,636 DEBUG [HubPermissionsCacheData       ] [Hub event sync      ] [init] Custom field permission cache for 106 users built in 25 ms
30 Sep 2020 11:59:57,057 WARN  [EventsMultiplexer             ] [PPER] Daemon Proxy 2] [init] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
30 Sep 2020 12:49:29,887 DEBUG [HubPermissionsCacheData       ] [Hub event sync      ] [Hub Event Sync User] Rebuilding Hub-based custom field permission cache...
30 Sep 2020 12:49:29,907 DEBUG [HubPermissionsCacheData       ] [Hub event sync      ] [Hub Event Sync User] Custom field permission cache for 106 users built in 18 ms
BulgakovAnton commented 4 years ago

5h today i finally found a bug `Starting YouTrack...

YouTrack is running `

BulgakovAnton commented 4 years ago

0h Today i did not work.

BulgakovAnton commented 4 years ago

7h today I solved the error upgrade the version of youtrack from 2017 to 2018 when I try to upgrade from 2018 to 2019 I have an error YouTrack is unavailable

BulgakovAnton commented 4 years ago

7h checked the fully working youtrack server, there were some doubts when switching from version 2017 to 2018 about HTTP requests and SSL sertificats

BulgakovAnton commented 4 years ago

7h Today i did upgrade youtrack version