Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions bin/move_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ files_pull() {
--partial \
--prune-empty-dirs \
--times \
--exclude='.htaccess' \
--stats \
--human-readable \
"${RAILWAY_SERVICE_MEDIAWIKI}:${RAILWAY_ASSETS}/" \
Expand All @@ -297,7 +296,7 @@ files_pull() {
--partial \
--prune-empty-dirs \
--times \
--exclude='.htaccess' \
--exclude='temp' \
--stats \
--human-readable \
"${RAILWAY_SERVICE_MEDIAWIKI}:${RAILWAY_IMAGES}/" \
Expand Down Expand Up @@ -366,6 +365,9 @@ files_push() {
"${CACHE_EXPORT_IMAGES}/" \
"${RAILWAY_SERVICE_MEDIAWIKI}:${RAILWAY_IMAGES}/"
unset TIMEFORMAT
echo 'Set ownership of entire images dir to www-data:wwww-data'
railway ssh --service "${RAILWAY_SERVICE_MEDIAWIKI}" \
chown -R www-data:www-data "${RAILWAY_IMAGES}"
echo
}

Expand Down Expand Up @@ -613,7 +615,7 @@ sql_push() {
--environment "${RAILWAY_ENVIRONMENT}" \
--service "${RAILWAY_SERVICE_MYSQL}"
echo
echo 'Import database dump SQL file from local pull cache'
echo 'Push database to remote Railway production container'
set_time_format
time {
railway ssh --service "${RAILWAY_SERVICE_MYSQL}" \
Expand Down
Loading