Fix repair command
This commit is contained in:
parent
8ca66c10ad
commit
75f75732e7
|
@ -69,10 +69,12 @@ def main() -> int:
|
||||||
apikey_prod = "<%= @apikey_prod %>"
|
apikey_prod = "<%= @apikey_prod %>"
|
||||||
|
|
||||||
cosmos_command = ['sudo run-cosmos']
|
cosmos_command = ['sudo run-cosmos']
|
||||||
nc_upgrade_command = 'sudo /usr/local/bin/occ config:editable -on '
|
nc_upgrade_command = 'sudo /usr/local/bin/occ config:editable --on '
|
||||||
nc_upgrade_command += '&& sudo /usr/local/bin/occ upgrade '
|
nc_upgrade_command += '&& sudo /usr/local/bin/occ upgrade '
|
||||||
nc_upgrade_command += '&& sudo /usr/local/bin/occ config:editable --off'
|
nc_upgrade_command += '&& sudo /usr/local/bin/occ config:editable --off'
|
||||||
repair_command = 'sudo /usr/local/bin/occ maintenance:repair '
|
repair_command = 'sudo /usr/local/bin/occ config:editable --on '
|
||||||
|
repair_command += '&& sudo /usr/local/bin/occ maintenance:repair '
|
||||||
|
repair_command += '&& sudo /usr/local/bin/occ config:editable --off '
|
||||||
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-indices '
|
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-indices '
|
||||||
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-columns '
|
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-columns '
|
||||||
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-primary-keys'
|
repair_command += '&& sudo /usr/local/bin/occ db:add-missing-primary-keys'
|
||||||
|
|
Loading…
Reference in a new issue