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/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/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/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/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/27Yunohost 3.5.2.2: UsePAM no -> should be UsePAM yes?2019-06-13T14:08:57Zdecentral1seYunohost 3.5.2.2: UsePAM no -> should be UsePAM yes?I had to set `UsePAM yes` to ensure that the `gitea` user had SSH access.
I am unsure of the significance of this change but it "works for me" :)
This is shown in the `README.md` of the application here. It should be changed?I had to set `UsePAM yes` to ensure that the `gitea` user had SSH access.
I am unsure of the significance of this change but it "works for me" :)
This is shown in the `README.md` of the application here. It should be changed?https://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/23[installed from github] Can't give right to import into local deposit in con...2021-02-15T09:02:54ZisAAAc[installed from github] Can't give right to import into local deposit in config area for usersHi and thx for your work ! ;)
i try to import a project from an other distant gitea instance, but when i try to modify the option to import localy in the admin webui , the change is nerver done after clicking on "modify".
i can take sc...Hi and thx for your work ! ;)
i try to import a project from an other distant gitea instance, but when i try to modify the option to import localy in the admin webui , the change is nerver done after clicking on "modify".
i can take screenshot if needed
isAAAchttps://framagit.org/YunoHost-Apps/gitea_ynh/-/issues/17Configurations2018-09-03T22:52:38ZZykinoConfigurationsI searched for the gitea config file and saw there is are 2: `/etc/yunohost/apps/gitea/conf/app.ini` and `/opt/gitea/custom/conf/app.ini`.
The first one is readonly (even for root) and looks like a template file.
I tried to edit the sec...I searched for the gitea config file and saw there is are 2: `/etc/yunohost/apps/gitea/conf/app.ini` and `/opt/gitea/custom/conf/app.ini`.
The first one is readonly (even for root) and looks like a template file.
I tried to edit the second one to use the dark template and but nothing changed. Even after restarting the gitea service.
Is it the right file? Do I need to do something else?
I wanted to try changing something visual to test. Will it break on an upgrade ?
On the config itself:
Is there a reason not to enable https-only? (Is it bad since it is already done by yunohost? Seeing this checked help being confident nothing will ever be done on http.)
Sorry for the big issue :s