Errors in .env? #11
Closed
opened 2025-12-29 19:52:22 +00:00 by jeppebundsgaard
·
3 comments
No Branch/Tag Specified
main
renovate/codeberg.org-forgejo-forgejo-16.x
renovate/postgres-18.x
renovate/postgres-15.x
produccion
signing
renovate/mariadb-10.x
ssh-optional
metrics
export-metrics
session
renovate/mariadb-12.x
shutdown
caching
gallinero
s3
gems
sutty
renovate/codeberg.org-forgejo-forgejo-14.x
internal-registration
max-creation-limit
reviewers
maintainers
anubis
5.6.1+15.0.7-rootless
5.6.0+15.0.6-rootless
5.5.0+15.0.5-rootless
5.4.0+15.0.2-rootless
5.3.1+15.0.2-rootless
5.3.0+15.0.0-rootless
5.2.0+15.0.0-rootless
5.1.2+14.0.4-rootless
5.1.1+14.0.3-rootless
5.1.0+14.0.1-rootless
5.0.3+13.0.4-rootless
5.0.2+13.0.4-rootless
5.0.1+13.0.3-rootless
5.0.0+13.0.2-rootless
4.0.2+12.0.2-rootless
4.0.1+12.0.2-rootless
4.0.0+12.0.2-rootless
3.5.2+1.24.2-rootless
3.5.1+1.24.2-rootless
3.5.0+1.24.2-rootless
3.4.0+1.24.2-rootless
3.3.1+1.23.8-rootless
3.3.0+1.23.1-rootless
3.2.0+1.23.1-rootless
3.1.1+1.23.1-rootless
3.1.0+1.23.0-rootless
3.0.3+1.22.6-rootless
3.0.2+1.22.6-rootless
3.0.1+1.22.3-rootless
3.0.0+1.22.2-rootless
2.11.0+1.22.2-rootless
2.10.1+1.22.2-rootless
2.10.0+1.22.1-rootless
2.9.1+1.22.0-rootless
2.9.0+1.22.0-rootless
2.8.0+1.21.11-rootless
2.7.0+1.21.11-rootless
2.6.2+1.21.10-rootless
2.6.1+1.21.10-rootless
2.6.0+1.21.5-rootless
2.5.2+1.21.5-rootless
2.5.1+1.21.4-rootless
2.5.0+1.21.1-rootless
2.4.0+1.21.0-rootless
2.3.3+1.20.5-rootless
2.3.1+1.20.1-rootless
2.3.2+1.20.3-rootless
2.1.2+1.19.3-rootless
1.3.1+1.17.3-rootless
2.3.0+1.20.1-rootless
2.2.0+1.19.3-rootless
2.1.0+1.18.5-rootless
2.0.1+1.18.2-rootless
2.0.0+1.18.0-rootless
1.3.0+1.17.2-rootless
1.2.1+1.16.8-rootless
1.2.0+1.16.3-rootless
1.1.3+1.15.10-rootless
1.1.2+1.15.6-rootless
1.1.1+1.15.3-rootless
1.1.0+1.15.0-rootless
1.0.0+1.14.5-rootless
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/forgejo#11
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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