Errors in .env? #11
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to install forgejo. I think some things are wrong in the
.env.sample-file.In the first line the
TYPEisgitea- shouldn't it beforgejo?Why isn't forgejo enabled by default - I chose the forgejo-recipe...
There is no file called
compose.forgejo.yml, but there is acompose.yml- should it be renamed or the file-name corrected?Other recipes set the correct URL - could that be done here as well?
And later, maybe this can be reused?
There is a section with mail-settings.
Does this create a mail-server?
Can I use my ordinary smtp-server to send mail? It it is not possible to set the password.
I tried to follow these suggestions, but the app does not finish deployment.
Hey, sorry you ran into these problems. I forked this recipe from the gitea one and forgot to update the .env.sample file. I just pushed an update to main which could could try (I have not tested it though).
No this should connect to your existing smtp server. Can you give an error message, when you try to set the password
Thank you for helping me :-). I managed to succeed. A few things to notice:
When creating (
abra app new forgejo) I got this message:But it worked, anyways.
The command to create an admin-user failed:
I managed to create a user by going into bash:
abra app run git.xn--folkefderation-vqb.dk app bashand then run this command. After some trial and error, I added
--config /etc/gitea/app.ini.gitea --config /etc/gitea/app.ini admin user create --username USERNAME --admin --random-password --email EMAILMaybe the shorthand that failed before should have been --config?
i just released 13.0.4 (noticed late the renovate bot pr) including @p4u1 changes to .env.sample