Comments (7)
I can't really reproduce the failing 2022-11-15-1-correct-hit-stats
migration; this always works for me, no matter what I try. "Killed" is a rather odd message 🤔 Maybe the system is killing the migration for some reason?
The error you get in the UI is not related to that though; in f9bd099 I removed all "2.0 migrations" and it seems I also accidentally removed a 2.1 migration with that (2021-03-29-1-widgets
).
Running migrations from 2.2 and then 2.4 seems to work.
from goatcounter.
Looks like our replies crossed.
I downgraded to v2.3.0, reset my db folder from the backup (google drive link), ran the migrations and now it works!
2.3.0 should be fine too; this should fix the "v2.4.0 and v2.4.1 don't serve a homepage on my database with error interface {} is nil, not a string." problem.
As for the other: maybe check the shell limits? OOM killer? dmesg? That's where I would start anyway; the message "Killed" makes me suspect it's something outside of GoatCounter killing it (also: check the return code: $?
).
Or I can send you a fixed database if you want, since it works on my system.
from goatcounter.
This one should work for 2.4.1 (only tested public dashboard, not logging in): https://user.fm/files/v2-d47d3be3ceaf18d3f38fbaba7abaac66/goatcounter.sqlite3.gz
Make sure you remove or move the -shm and -wal files belonging to the old database.
from goatcounter.
I downgraded to v2.4.0 (to avoid the failing migration introduced in v2.4.1), reset my db folder from the backup (google drive link), ran the migrations and it still fails with "16r5jg1" and "interface {} is nil, not a string".
Was this fixed by 5cbc382, but not included in a release? I ran into #526 and I am trying to update :)
from goatcounter.
I downgraded to v2.3.0, reset my db folder from the backup (google drive link), ran the migrations and now it works! https://stats.plutojl.org/
So I suppose my issue is:
- The
2022-11-15-1-correct-hit-stats
migration does not work (on my database, see gdrive link). - v2.4.0 and v2.4.1 don't serve a homepage on my database with error
interface {} is nil, not a string
.
from goatcounter.
Oooh a fixed database would be awesome! Since this is a one-time thing I am just happy to get it running :)
It might be memory-related, I was running the migrations on the server that I use for goatcounter, which only has 1GB ram.
from goatcounter.
It works, awesome, thanks!
from goatcounter.
Related Issues (20)
- No data received HOT 1
- The site cannot be reached
- Exporting data is not working as expected HOT 1
- See on which pages an event was fired HOT 2
- Running goat counter on non-/ base url HOT 2
- Is there a possibility of sending an API key using GET parameters? HOT 2
- Delete records from pages HOT 2
- Removing page counts from the database HOT 1
- Support for Custom Events and Metadata HOT 1
- Document miss -tls none option? HOT 2
- Blocked by browser ad plugins and correctly identify user's geographic location
- Can't get past 'No data received' HOT 3
- Schema design question HOT 6
- what is meaning for those numbers? unique visitors or page views HOT 1
- about docker HOT 1
- [Feature Request] Way to unfilter bots HOT 2
- [Feature Request] Integrate IPinfo's IP-to-Country ASN database. HOT 4
- Where do I see the number of page views? HOT 2
- replace statements in go.mod make it impossible to use as a package HOT 2
- Use wasm compiled sqlite when building without cgo HOT 1
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 goatcounter.