Create cron jobs docker-compose service #4383
Labels
Affects: Configuration
Related to the configuration of the dev/staging/prod environments, CI, docker, etc. [managed]
Lead: @cclauss
Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed]
Module: Docker
Issues related to the configuration or use of Docker. [managed]
Priority: 2
Important, as time permits. [managed]
Type: Subtask of Epic
A subtask that is part of the work breakdown of an epic issue (see comments). [managed]
Milestone
Fixed in #4387Fixed in
internetarchive/olsystem#118Subtask of: #4060
We have a number of cron jobs that are run on
ol-home
; in order to run this in our docker-basedol-home0
node, we should place them in a service. Note these cron jobs live in olsystem./olsystem/bin/cron/oldump.sh ol-db1
-->Fix dump.py to read str, instead of bytes #4627+ internetarchive/olsystem#118dumping the data table
# for a long time... 102 minutes!$SCRIPTS
inbin/cron/oldump.sh
rsync://e1d610933819/var_1/tmp/dumps/ol_cdump_2021-01-30
$SCRIPTS/store_counts.py
* 2 -- fixed in Use empty str instead of None in HTTP headers infogami#134if _is_illegal_header_value(values[i]):
TypeError: expected string or bytes-like object$SCRIPTS/2011/08/expire_accounts.py
-- fixed in Use empty str instead of None in HTTP headers infogami#134if _is_illegal_header_value(values[i]):
TypeError: expected string or bytes-like object* Needed to change infobase link from ol-home0 -> ol-home in openlibrary.yml
openlibrary.solr.process_stats
* 2 (loan stats)cat /var/log/openlibrary/loanstats.log
/run/secrets/ia_db_pw_file: not found
should have been fixed by Edition RDF contains Work URI as rdf:resource, instead of (quoted) rdf:Literal. #115python $SCRIPTS/manage-imports.py
/run/secrets/ia_db_pw_file: not found
should have been fixed by Edition RDF contains Work URI as rdf:resource, instead of (quoted) rdf:Literal. #115rsync
command run on ol-home0 and target ol-www1 (and/or ol-www0). This is not blocked by ol-www0 migration.saddr $CLUSTER proto tcp dport rsync ACCEPT;
in/etc/ferm/ferm.conf
is vital.The text was updated successfully, but these errors were encountered: