-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Service Not Running When Running 1.23.1 for Update from 1.22.6 to 1.23.1 in Windows OS #33235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The binary reduction is by design because we removed some unused packages and some new build parameters have ben enabled. Can you run |
Can you try changing |
You can leave it empty then it should use OS's timezone IIRC |
Thank you for your quick response. However, as wxiaoguang said, I removed the DEFAULT_UI_LOCATION property and it works well. We hope this will be fixed for users who want to specify a timezone. |
I think it depends on your system, maybe there is no zoneinfo data for those time locations. |
I see. The odd thing is that it worked fine before version 1.22.6. |
Maybe it's related to the build. The timezone info should be packed into the binary. But maybe the new build misses that? @techknowlogick |
@techknowlogick is it related? |
@techknowlogick is it related? |
@wxiaoguang looking at the workflows, it seems they have not included the additional build tag for sometime (if at all), but to align with the docker image tags I added the tz tag to the binary release files too #33463 as even if it doesn't help with this issue, it at least ensures a consistent binary between docker and non-docker. |
`timetzdata` is already used in the docker images, this includes them for the binary release files too. Related to #33235 (I don't have a windows machine setup to test this though) --------- Co-authored-by: wxiaoguang <[email protected]>
`timetzdata` is already used in the docker images, this includes them for the binary release files too. Related to go-gitea#33235 (I don't have a windows machine setup to test this though) --------- Co-authored-by: wxiaoguang <[email protected]>
Description
Hello?
This is a user who installs and uses Gitea on the company's Windows OS server.
I'm running Gitea as a Windows service, and I've enabled https using ACME.
Currently, the version of our instance is 1.22.6 and is running using the gitea-1.22.6-gogit-window-4.0-amd64.exe file.
The size of this file is 210mb.
Please remember the size of this file.
I downloaded the gitea-1.23.1-gogit-window-4.0-amd64.exe file and ran it as a service, as I had previously updated.
However, the service fails to run, and nothing is recorded in the gitea.log.
Instead, Windows Event Viewer experiences an error with the attachment.
gitea_1_23_1_windows_event_log.txt
The file size of the updated 1.23.1 version is 113mb, which is nearly 100mb smaller than before.
Is there an execution problem because there is a missing file due to this update?
Or is there anything else I need to work on as it gets updated from 1.22.6 to 1.23?
I entered it using a translator, so the content may be awkward.
Thank you for reading, and I would appreciate it if you could let me know how I can solve this problem.
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
1.22.6
Operating System
Windows Server 2019 v17763.6659
How are you running Gitea?
Download the gitea-version-gogit-window-4.0-amd64.exe file and run it as a Windows service.
Database
SQLite
The text was updated successfully, but these errors were encountered: