-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Gitea 1.3.0 fails to start #3052
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
This is where gitea crashes: /modules/auth/oauth2/oauth2.go#L45 |
I think the real issue is that by default Gitea wants to create its data directory next to executable file, what seems undesirable more often than not. IMHO, it should default to |
@klingtnet Could you try to run Gitea the following way?
It will pick your PS. The |
@0rzech Thank you for your detailed response. |
@klingtnet You're welcome. Could you also post |
You're a wizard, setting |
I have closed the issue but may considerto set |
This also sets the GITEA_CUSTOM environment variable because this is the recommended instead of setting the working directory. See go-gitea/gitea#3052 for details.
@klingtnet If I think the best way is to run Gitea using the command I presented in my second comment. Once you added the Also make sure all other paths in your |
@0rzech One note to |
@klingtnet Yes, you're right. I have even pointed it out myself here. Btw. it looks like your installation might become a bit messy, because you have
etc. |
It is now set to the same value as APP_DATA_PATH in the server config section as suggested by go-gitea/gitea#3052 (comment)
This also sets the GITEA_CUSTOM environment variable because this is the recommended instead of setting the working directory. See go-gitea/gitea#3052 for details.
It is now set to the same value as APP_DATA_PATH in the server config section as suggested by go-gitea/gitea#3052 (comment)
I just upgrade to gitea 1.3.0 from 1.2.3 and now the service fails to start.
The problem is that the oauth2 plugin seems to ignore the working directory:
Gitea was build from source: https://github.com/klingtnet/klingt.net/blob/master/build/gitea/Makefile
The text was updated successfully, but these errors were encountered: