* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 为什么 BUILD FAILED in 14s 2 actionable tasks: 2 executed
> Task :applyApiPatches Creating Folia-API from patch source... Applying patches to Folia-API... 5 patches applied cleanly to Folia-API
> Task :applyGeneratedApiPatches Creating generated from patch source... Applying patches to generated... No patches found
> Task :applyServerPatches Creating Folia-Server from patch source... Importing 23 classes from vanilla... Importing 0 data files from vanilla... Importing 0 classes from library sources... Applying patches to Folia-Server... 18 patches applied cleanly to Folia-Server
I had the same problem Error while processing content unencoding: invalid stored block lengths when upgrading gitlab-ee (ubuntu repository package) from 16.11.2 to 17.2.1
It turned out: some files in /var/opt/gitlab/git-data/repositories had owner = root.
mysql> SELECT * FROM `test`.`global_variables`; +--------------+----------------+---------------------+---------------------+---------------------+ | variable_key | variable_value | created_at | updated_at | expires_at | +--------------+----------------+---------------------+---------------------+---------------------+ | a | b | 2024-08-10 13:19:52 | 2024-08-10 13:19:57 | 2024-12-31 17:01:01 | +--------------+----------------+---------------------+---------------------+---------------------+ 1 row in set (0.02 sec)
查询数据库中的时区变量
1 2 3 4 5 6 7 8
mysql> show variables like '%time_zone%'; +------------------+--------+ | Variable_name | Value | +------------------+--------+ | system_time_zone | | | time_zone | SYSTEM | +------------------+--------+ 2 rows in set (0.02 sec)
[root@localhost cd37e7e6668415a1b84ed97109bd785d1530f4662ef0caca45305a3b6ebf1b02]# head -n 10 cd37e7e6668415a1b84ed97109bd785d1530f4662ef0caca45305a3b6ebf1b02-json.log {"log":"Thank you for using GitLab Docker Image!\n","stream":"stdout","time":"2024-06-18T06:44:47.985803963Z"} {"log":"Current version: gitlab-ce=17.0.2-ce.0\n","stream":"stdout","time":"2024-06-18T06:44:47.985835222Z"} {"log":"\n","stream":"stdout","time":"2024-06-18T06:44:47.985839079Z"} {"log":"Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file\n","stream":"stdout","time":"2024-06-18T06:44:47.985842175Z"} {"log":"And restart this container to reload settings.\n","stream":"stdout","time":"2024-06-18T06:44:47.985845291Z"} {"log":"To do it use docker exec:\n","stream":"stdout","time":"2024-06-18T06:44:47.985848156Z"} {"log":"\n","stream":"stdout","time":"2024-06-18T06:44:47.985851212Z"} {"log":" docker exec -it gitlab editor /etc/gitlab/gitlab.rb\n","stream":"stdout","time":"2024-06-18T06:44:47.985876118Z"} {"log":" docker restart gitlab\n","stream":"stdout","time":"2024-06-18T06:44:47.98588256Z"} {"log":"\n","stream":"stdout","time":"2024-06-18T06:44:47.985885686Z"}