-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Data Dumps not auto-generating #5402
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
Comments
It looks like they were generated, but the file names look off; there's no date. And the On cd /opt/openlibrary
COMPOSE_FILE="docker-compose.yml:docker-compose.production.yml" \
HOSTNAME="$HOSTNAME" \
docker-compose run \
-u openlibrary \
-e "SCRIPTS=/openlibrary/scripts" \
cron-jobs \
bash cd /1/var/tmp/dumps
openlibrary@ol-home0:/1/var/tmp/dumps$ du -sh *
4.0K ol_cdump_--archive.txt.gz
4.0K ol_dump_--archive.txt.gz ^ Although the file sizes definitely don't look correct here. |
Going to follow the steps here to generate a new dump: #4621 (comment) Had to remove the old files manually; complaining about permissions... Then (from the above comment): tmux
# ---
cd /opt/openlibrary
COMPOSE_FILE="docker-compose.yml:docker-compose.production.yml" \
HOSTNAME="$HOSTNAME" \
docker-compose run \
-u openlibrary \
-e "SCRIPTS=/openlibrary/scripts" \
cron-jobs \
bash
# ---
cd /1/var/tmp
/olsystem/bin/cron/oldump.sh ol-db1 openlibrary `date -d yesterday '+%Y-%m-%d'` --archive Waiting... |
New dump created 👍 |
Kicked off manual dump; see #3989 (comment) |
Errored; restarted. See #3989 (comment) |
The dump is still not up :) |
Ooops! Auto-closed by a PR |
womp womp |
Problems on 01 June 2020: Generating cdump took 7h28 to process 200M records.
ol-home0%
|
☑️ |
Despite #5263 being resolved, it looks like the data dumps weren't uploaded on July 1st :/
Relevant URL?
Related issues and pull requests:
Related files:
docker-compose.production.yml
definescron-jobs
Docker container.docker/ol-cron-start.sh
sets up the cron tasks./etc/cron.d/openlibrary.ol_home0
defines the actual jobcrontab /etc/cron.d/openlibrary.ol_home0
Also: https://cron.helpscripts/oldump.sh
is the script that gets run.Proposal & Constraints
Related files
Stakeholders
@mekarpeles @jimman2003
The text was updated successfully, but these errors were encountered: