Comments (4)
Thanks again for the report!
#7699 has been merged that should address the panic. I am not sure how long it takes for the whatever package manager you use to pick up the changes tho...
from gogs.
Thanks, is it confirmed a bug? I thought I wanted to revert to a backup as I thought I caused it?
Is my DB corrupted or would an update fix it as soon fix has been made or unknown yet?
Anyway I can help out?
Thanks 😊
Here is my version of the error:
PS C:\git\Sample> git push -u origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 32 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 1.13 KiB | 1.13 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: panic: runtime error: invalid memory address or nil pointer dereference
remote: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xea4497]
remote:
remote: goroutine 1 [running]:
remote: gogs.io/gogs/internal/database.(*DB).Actions(...)
remote: gogs.io/gogs/internal/database/database.go:161
remote: gogs.io/gogs/internal/database.PushUpdate({{0xc000708390, 0x28}, {0xc0007083c0, 0x28}, {0xc00062d488, 0x11}, 0x1, {0xc00004e034, 0x6}, {0xc00004e015, ...}, ...})
remote: gogs.io/gogs/internal/database/update.go:130 +0x5f7
remote: gogs.io/gogs/internal/cmd.runHookPostReceive(0xc0004831e0?)
remote: gogs.io/gogs/internal/cmd/hook.go:229 +0x37d
remote: github.com/urfave/cli.HandleAction({0x13114c0?, 0x26ba9d0?}, 0xc?)
remote: github.com/urfave/[email protected]/app.go:524 +0x50
remote: github.com/urfave/cli.Command.Run({{0x151b1cb, 0xc}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x1543241, 0x1e}, {0x0, ...}, ...}, ...)
remote: github.com/urfave/[email protected]/command.go:175 +0x63e
remote: github.com/urfave/cli.(*App).RunAsSubcommand(0xc0000c6e00, 0xc000482f20)
remote: github.com/urfave/[email protected]/app.go:405 +0xe07
remote: github.com/urfave/cli.Command.startApp({{0x15091c6, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x155be5e, 0x2c}, {0x0, ...}, ...}, ...)
remote: github.com/urfave/[email protected]/command.go:380 +0xb58
remote: github.com/urfave/cli.Command.Run({{0x15091c6, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x155be5e, 0x2c}, {0x0, ...}, ...}, ...)
remote: github.com/urfave/[email protected]/command.go:103 +0x7e5
remote: github.com/urfave/cli.(*App).Run(0xc0000c6c40, {0xc000122100, 0x4, 0x4})
remote: github.com/urfave/[email protected]/app.go:277 +0xb27
remote: main.main()
remote: gogs.io/gogs/gogs.go:39 +0x405
from gogs.
Thanks for the report!
Looking into it 👀
from gogs.
Thanks for fixing! This was really bothering me.
from gogs.
Related Issues (20)
- gogs restore in Docker failure - GOGS_CUSTOM /data/gogs is moved HOT 2
- backup/restore: User.Passwd renamed to .Password between v0.12 and v0.13 - restore fails to restore passwords HOT 1
- Backing up fails due to a missing file HOT 1
- 加载慢 HOT 10
- Error 1062 (23000): Duplicate entry '' for key 'access_token.sha256' HOT 2
- how to migrate gogs from sqlite to mariaDB(mysql) ?
- Add riscv64 support
- Database changes in 0.12.11? HOT 1
- Docker gogs started with an error message HOT 3
- Docker gogs cannot be restarted HOT 2
- mention user popover helper
- SSL Certificate error on https://try.gogs.io/ HOT 1
- Use user request 'Host' replace `conf.Server.ExternalURL` in `internal/route/lfs /batch.go`
- Release [VERSION] HOT 1
- klish
- gogs demo site SSL config is wrong and can't be bypassed
- gogs restore report: The system cannot move the file to a different disk drive. It's caused by 'rename' file to a different disk drive on Windows Server 2019.
- Error upgrading 0.12.* to 0.13
- Docker container directly copy file migration, causing subsequent submissions to be invisible but can be pulled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogs.