Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 - Not Found #20

Open
arthuraltino opened this issue Oct 21, 2022 · 1 comment
Open

404 - Not Found #20

arthuraltino opened this issue Oct 21, 2022 · 1 comment

Comments

@arthuraltino
Copy link

After setting everything up, the only answers I'm getting from the API is this:
sponsorblock.errors.NotFoundException: Not Found: 404 Not Found
I'm able to connect to the API, but it won't give any result.
The CSVs are being downloaded by rsync into the mirror folder and the sqlite .db files are being generated into the export folder. Is there anything I'm missing?

docker-compose.yml:
version: '3' services: postgres: ports: - '5432:5432' environment: - POSTGRES_USER=mirror_db_user - POSTGRES_PASSWORD=mirror_db_pass volumes: - ./mirror:/mirror image: postgres:alpine sb-mirror: image: mchangrh/sb-mirror:latest build: ./build/sb-mirror # map port externally ports: - "873:873" environment: - MIRROR=TRUE # enable cronjob # - MIRROR_URL=qc.mchang.xyz # override to set upstream mirror - VALIDATE=TRUE # enable rsync checksum validation - CSVLINT=TRUE # lint csv files (will just stop sqlite3 from complaining) - SQLITE=TRUE # generate .db in /export - PADDING_VAR=false # here to make compose not complain volumes: - ./mirror:/mirror - ./export:/export sb-server: ports: - "8080:8080" volumes: - ./export/:/app/database/ # - ./sqlite-config.json:/app/config.json # - ./postgres-config.json:/app/config.json image: ghcr.io/ajayyy/sb-server:latest networks: default: external: name: npm-nw

@arthuraltino
Copy link
Author

arthuraltino commented Oct 21, 2022

These are the logs from sb-mirror:

Validating Downloads
Downloading from main mirror
Downloading sponsorTimes.csv
rsync: The server is configured to refuse --checksum (-c)\n
rsync: ÄReceiverÅ read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(800) ÄReceiver=3.2.4Å
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0/mirror/sponsorTimes.csv:1343932: expected 20 columns but found 18 - filling the rest with NULL
/mirror/sponsorTimes.csv:1343932: INSERT failed: NOT NULL constraint failed: sponsorTimes.userAgent
Starting SQLite Conversion
41 3615M 41 1490M 0 0 7256k 0 0:08:30 0:03:30 0:05:00 7285kError: stepping, database disk image is malformed (11)
100 3615M 100 3615M 0 0 8769k 0 0:07:02 0:07:02 --:--:-- 5730k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant