gitea_ynh issueshttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues2022-10-12T12:28:38Zhttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/47Close gitea ssh connections in the upgrade steps2022-10-12T12:28:38ZSereinityClose gitea ssh connections in the upgrade stepsAs said in https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/46#note_1881151, we may have some persistents connection to gitea, wich may cause the upgrade process to fail.
I suggest to disconnect them before altering the system's `g...As said in https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/46#note_1881151, we may have some persistents connection to gitea, wich may cause the upgrade process to fail.
I suggest to disconnect them before altering the system's `gitea` user.https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/46Failed to upgrade from 1.15.7 to 1.17.2 + can't restore backup2022-10-12T12:28:39ZSereinityFailed to upgrade from 1.15.7 to 1.17.2 + can't restore backupFirst of all, I managed to restore the backup by manually creating `/home/gitea` before running the `restore` subcommand.
[Full logs of the upgrade attempt](https://paste.yunohost.org/raw/horureguva)
I will probably attempt to upgrade ...First of all, I managed to restore the backup by manually creating `/home/gitea` before running the `restore` subcommand.
[Full logs of the upgrade attempt](https://paste.yunohost.org/raw/horureguva)
I will probably attempt to upgrade by following intermediate versions.https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/45admin panel in error after changing url2022-03-21T22:14:36ZOniriCorpeadmin panel in error after changing urlHi,
I changed the domain name of my instance and since then the admin panel is in error 500
![image](/uploads/498d51b44b01fd3d1b91c2c75af3f3a4/image.png)Hi,
I changed the domain name of my instance and since then the admin panel is in error 500
![image](/uploads/498d51b44b01fd3d1b91c2c75af3f3a4/image.png)https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/44Not synced to GitHub repo?2022-07-13T06:28:23ZBadri SunderarajanNot synced to GitHub repo?I noticed that this repo is still offering Gitea version 1.14.5 (which is what ended up being installed on my YunoHost), whereas the GitHub repo has moved forward to 1.15.8 (and the commits are also more recent). Is there some auto sync ...I noticed that this repo is still offering Gitea version 1.14.5 (which is what ended up being installed on my YunoHost), whereas the GitHub repo has moved forward to 1.15.8 (and the commits are also more recent). Is there some auto sync or mirroring that needs to be set up?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/43Make ssh authentication work by default2021-10-03T11:44:00ZHgOMake ssh authentication work by defaultAs it is said in the ReadME and as discussed in #40, after installing Gitea we need to manually run:
```bash
adduser gitea ssh.app
```
Would it be possible to adapt the install and upgrade scripts to run this command automatically?As it is said in the ReadME and as discussed in #40, after installing Gitea we need to manually run:
```bash
adduser gitea ssh.app
```
Would it be possible to adapt the install and upgrade scripts to run this command automatically?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/42Authentication refused: bad ownership or modes for directory /home/gitea/.ssh2022-09-16T04:42:27ZKuba OrlikAuthentication refused: bad ownership or modes for directory /home/gitea/.sshWhen trying to push to a gitea repository over ssh, I get an error:
```
Debian GNU/Linux 10
Received disconnect from <ip> port 22:2: Too many authentication failures
Disconnected from <ip> port 22
fatal: Could not read from remote repos...When trying to push to a gitea repository over ssh, I get an error:
```
Debian GNU/Linux 10
Received disconnect from <ip> port 22:2: Too many authentication failures
Disconnected from <ip> port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```
In `journalctl -u ssh` I see:
```
sshd[29847]: Authentication refused: bad ownership or modes for directory /home/gitea/.ssh
```
I had to manually run `chmod -R 700 /home/gitea/.ssh` to fix thishttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/41Upgrade to 1.152021-09-18T15:44:37ZClemorange22Upgrade to 1.15Hey, Thanks for maintaining this project ! Is upgrading to gitea 1.15 possible ?Hey, Thanks for maintaining this project ! Is upgrading to gitea 1.15 possible ?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/40broken ssh authenthication since yunohost 4.2.4 update2021-10-03T11:44:01Zbennetibroken ssh authenthication since yunohost 4.2.4 updateAs the title says, I just upgraded yunohost itself (as well as moulinette) and since then I cannot use ssh key authentication anymore.
My guess is that maybe the login is not redirected to gitea at all as I do not see anythin in the gite...As the title says, I just upgraded yunohost itself (as well as moulinette) and since then I cannot use ssh key authentication anymore.
My guess is that maybe the login is not redirected to gitea at all as I do not see anythin in the gitea log, any pointers would be appreciated!https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/39Installation completed correctly but when I try to access gitea the "Welcome ...2022-02-07T17:00:57ZClemorange22Installation completed correctly but when I try to access gitea the "Welcome to nginx" page is displayedAll is in the title, but some precisions :
My yunohost instance is running on a Raspberry 4 (arm64).
I installed the testing branch(because after trying the master branch I already had this problem)
The installation logs are here : http...All is in the title, but some precisions :
My yunohost instance is running on a Raspberry 4 (arm64).
I installed the testing branch(because after trying the master branch I already had this problem)
The installation logs are here : https://paste.yunohost.org/raw/hitatizedi
Can someone help me ?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/38gitea v1.13.1 released2022-09-12T18:29:41Z6543gitea v1.13.1 releasedhttps://github.com/go-gitea/gitea/releases/tag/v1.13.1https://github.com/go-gitea/gitea/releases/tag/v1.13.1https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/37Upgrade fail: Row size too large2021-07-22T22:18:20ZleoswUpgrade fail: Row size too largeHello,
I recently upgraded ynh from 3.5.8 to 4.0.8 and upgraded many apps.
I have an error with my gitea installation:
```
Warning: Start the service gitea
Warning: ..........The service gitea didn't fully started before the timeout.
W...Hello,
I recently upgraded ynh from 3.5.8 to 4.0.8 and upgraded many apps.
I have an error with my gitea installation:
```
Warning: Start the service gitea
Warning: ..........The service gitea didn't fully started before the timeout.
Warning: -- Logs begin at Sun 2020-11-08 23:59:24 UTC, end at Mon 2020-11-09 12:38:16 UTC. --
Warning: Nov 09 12:29:03 lstronic systemd[1]: gitea.service: Scheduled restart job, restart counter is at 12.
Warning: Nov 09 12:29:03 lstronic systemd[1]: Stopped Gitea.
Warning: Nov 09 12:29:03 lstronic systemd[1]: Started Gitea.
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 cmd/web.go:107:runWeb() [I] Starting Gitea on PID: 21061
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 ...dules/setting/git.go:93:newGit() [I] Git Version: 2.20.1, Wire Protocol Version 2 Enabled
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 routers/init.go:118:GlobalInit() [T] AppPath: /opt/gitea/gitea
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 routers/init.go:119:GlobalInit() [T] AppWorkPath: /opt/gitea
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 routers/init.go:120:GlobalInit() [T] Custom path: /opt/gitea/custom
Warning: Nov 09 12:29:03 lstronic gitea[21061]: 2020/11/09 12:29:03 routers/init.go:121:GlobalInit() [T] Log path: /var/log/gitea
Warning: Nov 09 12:29:27 lstronic systemd[1]: Stopping Gitea...
Warning: Nov 09 12:29:27 lstronic systemd[1]: gitea.service: Main process exited, code=exited, status=1/FAILURE
Warning: Nov 09 12:29:27 lstronic systemd[1]: gitea.service: Failed with result 'exit-code'.
Warning: Nov 09 12:29:27 lstronic systemd[1]: Stopped Gitea.
Warning: Nov 09 12:38:06 lstronic systemd[1]: Started Gitea.
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 cmd/web.go:107:runWeb() [I] Starting Gitea on PID: 25877
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 ...dules/setting/git.go:93:newGit() [I] Git Version: 2.20.1, Wire Protocol Version 2 Enabled
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 routers/init.go:118:GlobalInit() [T] AppPath: /opt/gitea/gitea
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 routers/init.go:119:GlobalInit() [T] AppWorkPath: /opt/gitea
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 routers/init.go:120:GlobalInit() [T] Custom path: /opt/gitea/custom
Warning: Nov 09 12:38:06 lstronic gitea[25877]: 2020/11/09 12:38:06 routers/init.go:121:GlobalInit() [T] Log path: /var/log/gitea
Warning: 2020/11/09 12:38:06 ...s/setting/session.go:63:newSessionService() [I] Session Service Enabled
Warning: 2020/11/09 12:38:06 ...es/setting/mailer.go:109:newMailService() [I] Mail Service Enabled
Warning: 2020/11/09 12:38:06 ...es/setting/mailer.go:131:newNotifyMailService() [I] Notify Mail Service Enabled
Warning: 2020/11/09 12:38:07 routers/init.go:63:initDBEngine() [I] Beginning ORM engine initialization.
Warning: 2020/11/09 12:38:07 routers/init.go:70:initDBEngine() [I] ORM engine initialization attempt #1/10...
Warning: 2020/11/09 12:38:07 ...ations/migrations.go:300:Migrate() [I] Migration[107]: Add template options to repository
Warning: 2020/11/09 12:38:07 routers/init.go:76:initDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: migrate: do migrate: Error 1118: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Warning: 2020/11/09 12:38:07 routers/init.go:77:initDBEngine() [I] Backing off for 3 seconds
Warning: 2020/11/09 12:38:10 routers/init.go:70:initDBEngine() [I] ORM engine initialization attempt #2/10...
Warning: 2020/11/09 12:38:10 ...ations/migrations.go:300:Migrate() [I] Migration[107]: Add template options to repository
Warning: 2020/11/09 12:38:10 routers/init.go:76:initDBEngine() [E] ORM engine initialization attempt #2/10 failed. Error: migrate: do migrate: Error 1118: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Warning: 2020/11/09 12:38:10 routers/init.go:77:initDBEngine() [I] Backing off for 3 seconds
Warning: 2020/11/09 12:38:13 routers/init.go:70:initDBEngine() [I] ORM engine initialization attempt #3/10...
Warning: 2020/11/09 12:38:13 ...ations/migrations.go:300:Migrate() [I] Migration[107]: Add template options to repository
Warning: 2020/11/09 12:38:13 routers/init.go:76:initDBEngine() [E] ORM engine initialization attempt #3/10 failed. Error: migrate: do migrate: Error 1118: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Warning: 2020/11/09 12:38:13 routers/init.go:77:initDBEngine() [I] Backing off for 3 seconds
Warning: 2020/11/09 12:38:16 routers/init.go:70:initDBEngine() [I] ORM engine initialization attempt #4/10...
Warning: 2020/11/09 12:38:16 ...ations/migrations.go:300:Migrate() [I] Migration[107]: Add template options to repository
Warning: 2020/11/09 12:38:16 routers/init.go:76:initDBEngine() [E] ORM engine initialization attempt #4/10 failed. Error: migrate: do migrate: Error 1118: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Warning: 2020/11/09 12:38:16 routers/init.go:77:initDBEngine() [I] Backing off for 3 seconds
Success! gitea upgraded
```
Even if the service starts now, I cannot access the webpage: 502 rised by the reverse proxy.
Léohttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/36Fail to install gitea2021-12-04T22:25:39ZxoddarkFail to install giteaI tried to install gitea on my yunohost server, and the install failed.
And the message is not very explicit ^^
2020-04-19 13:03:27,460: ERROR - Impossible d'installer gitea: Une erreur est survenue dans le script d'installation de l'ap...I tried to install gitea on my yunohost server, and the install failed.
And the message is not very explicit ^^
2020-04-19 13:03:27,460: ERROR - Impossible d'installer gitea: Une erreur est survenue dans le script d'installation de l'application
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 301, in wrapper
curr_v = params[k]
KeyError: 'label'
Full log here :
https://paste.yunohost.org/raw/aregucipar
I don't known if I should clean something to fix the problem.
Thank you.
PS: It's possible than it's not the first time in tried to install gitea on my yunohost server.https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/35Update and Backup size2021-01-05T21:12:07ZAurelien VaillantUpdate and Backup sizeSalut,
j'ai effectué une mise à jour de l'application, cette dernière à pu se faire, cependant elle à générer un *backup* qui lui à tout simplement était interminable.
Je suppose que les repos on tout simplement était pris en compte, ...Salut,
j'ai effectué une mise à jour de l'application, cette dernière à pu se faire, cependant elle à générer un *backup* qui lui à tout simplement était interminable.
Je suppose que les repos on tout simplement était pris en compte, ayant activé le LFS car nécessaire (projet Unreal, fichiers de textures...) avec seulement 2 repo je suis à 25 Go. Le backup est donc en conséquence tout simplement énorme ; je compte mettre en place des archives de mon côté.
D'après le documentation, [ce cas de figure est pris en compte au travers de Nextcloud](https://yunohost.org/#/backup#configuration-sp-cifique-certaines-apps), mettre en place une routine pour vérifié la taille des données ?
Je ne pense pas avoir les capacités -n'y de serveur de test- pour proposer un patch, j'ouvre donc juste un ticket si cela peut aider.https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/34custom ssh port - Unable to read from remote2020-04-14T19:21:20Znoutscustom ssh port - Unable to read from remoteI have gitea installed from some time now. I'm using custom port 1234 for ssh. So I remember I had to setup some stuff to make it work. I checked the README and I'm still all good. My server has a proper domain main and is hosted in my l...I have gitea installed from some time now. I'm using custom port 1234 for ssh. So I remember I had to setup some stuff to make it work. I checked the README and I'm still all good. My server has a proper domain main and is hosted in my lan.
Since last update I'm unable to use ssh:// method to clone/push/pull. It used to work.
Here is the output :
```
git clone --verbose ssh://gitea@domain.com:1234/nouts/wp-commento.git
20:50:08.259697 git.c:439 trace: built-in: git clone --verbose ssh://gitea@domain.com:1234/nouts/wp-commento.git
Clonage dans 'wp-commento'...
20:50:08.262027 run-command.c:663 trace: run_command: unset GIT_DIR; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL -p 1234 gitea@domain.com 'git-upload-pack '\''/nouts/wp-commento.git'\'''
Debian GNU/Linux 9
Received disconnect from 192.168.1.210 port 1234:2: Too many authentication failures
Disconnected from 192.168.1.210 port 1234
fatal: Impossible de lire le dépôt distant.
Veuillez vérifier que vous avez les droits d'accès
et que le dépôt existe
```
I'm definitely certain I have the correct rights and the repo exists.
From the `/var/log/auth.log` I can see git login attempts. (key truncated)
```
Apr 14 20:50:20 domain sshd[8510]: Connection from 192.168.1.58 port 60796 on 192.168.1.210 port 1234
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:GBvNQRrrEEar0mYXIdvi2K
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:KOqqw0hAgJ3PvacBG4q17
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:sieOPKYH2wZ7xmKNpm1
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:IGUryY9DsEMkQeOPT
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: ED25519 SHA256:g/M55oQ6DKI
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:mn6I1vj5Mk
Apr 14 20:50:20 domain sshd[8510]: error: maximum authentication attempts exceeded for gitea from 192.168.1.58 port 60796 ssh2 [preauth]
Apr 14 20:50:20 domain sshd[8510]: Disconnecting: Too many authentication failures [preauth]
```
The key I've setup is actual the second one in the log above.
Where should I look next ?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/33Accounts automatically disable2021-12-04T22:25:39ZAeris OneAccounts automatically disableWhen I click on "Sync external user data" or when the server automatically syncs LDAP server data, all accounts managed by LDAP are disabled.
How to solve that ?When I click on "Sync external user data" or when the server automatically syncs LDAP server data, all accounts managed by LDAP are disabled.
How to solve that ?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/32Yunohost install not possible2021-09-15T17:13:55ZMartin DöringYunohost install not possibleI did a fresh install on an up-to-date Yunohost system, but it did run on an error. I'm not experienced enough, to find out more. Here is the log:
https://paste.yunohost.org/raw/alogomedonI did a fresh install on an up-to-date Yunohost system, but it did run on an error. I'm not experienced enough, to find out more. Here is the log:
https://paste.yunohost.org/raw/alogomedonhttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/31Impossible de mettre à jour2020-03-27T16:09:17ZAurelien VaillantImpossible de mettre à jourHello,
i'm try to launch the update, but this install can finish.
[Log.txt](/uploads/82b2cd2ac7910ebbb0169a235310018a/Log.txt)
I don't know what i can share to help this debug.Hello,
i'm try to launch the update, but this install can finish.
[Log.txt](/uploads/82b2cd2ac7910ebbb0169a235310018a/Log.txt)
I don't know what i can share to help this debug.https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/30Wrong home directory after fresh install2021-07-22T22:30:47ZHolger DellWrong home directory after fresh installAfter a fresh installation of version 1.10.1~ynh1, the data of the gitea user is in `/home/gitea/`. However, the home directory of the gitea user in `/etc/passwd` is listed as `/opt/yunohost/gitea/` (which is a non-existing directory). T...After a fresh installation of version 1.10.1~ynh1, the data of the gitea user is in `/home/gitea/`. However, the home directory of the gitea user in `/etc/passwd` is listed as `/opt/yunohost/gitea/` (which is a non-existing directory). This prevents ssh from finding the authorized_keys file and thus prevents ssh-based interaction with gitea. Changing the directory in `/etc/passwd` fixes the issue.
Proposed fix: I believe the line
```
ynh_system_user_create --username= $app --home_dir=/opt/yunohost/$app --use_shell
```
in the two scripts `scripts/install` and `scripts/restore` should be changed to
```
ynh_system_user_create --username=$app --home_dir=/home/$app --use_shell
```https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/29configuration options2021-07-22T22:32:20ZFIlippoconfiguration optionsis the configuration page working?
I can't change anything on the admin panel.
Should I need to use SSH to change config file?
looking forward to have latest gitea version on yunohost!is the configuration page working?
I can't change anything on the admin panel.
Should I need to use SSH to change config file?
looking forward to have latest gitea version on yunohost!https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/28Update to 1.9.02021-09-15T17:13:55ZRafi59Update to 1.9.0https://blog.gitea.io/2019/07/gitea-1.9.0-is-released/https://blog.gitea.io/2019/07/gitea-1.9.0-is-released/