24.11.2016 17:22
Woodstock
 
Ошибка таже, значит либо скрипт не изменили либо не весь тут показали.
25.11.2016 11:22
obltorg
 
Woodstock, поменчл скрипт, вроде другая ошибка

Set status = APPLY_PATCH
Send message to server : Apply patch started
Set status = APPLY_PATCH
Send message to server : Apply patch centrum_10.2.22.0_10.2.22.1
Execute OS command - [C:\Program Files (x86)\PostgreSQL\8.4\bin\psql, -h, localhost, -p, 5432, -U, postgres, -d, set, -v, ON_ERROR_STOP=1, -f, C:\Program Files (x86)\SetRetail10\acm\updates\unzip_centrum_10.2.22.0_10.2.22.1\restore\set_U_10.2.23.0_220.sql] in work path : null
doUpdate error:
ru.crystals.cm.UpdateException: Error process WIN command ([C:\Program Files (x86)\PostgreSQL\8.4\bin\psql, -h, localhost, -p, 5432, -U, postgres, -d, set, -v, ON_ERROR_STOP=1, -f, C:\Program Files (x86)\SetRetail10\acm\updates\unzip_centrum_10.2.22.0_10.2.22.1\restore\set_U_10.2.23.0_220.sql]):
ERROR:
psql:C:/Program Files (x86)/SetRetail10/acm/updates/unzip_centrum_10.2.22.0_10.2.22.1/restore/set_U_10.2.23.0_220.sql:1: ERROR: syntax error at or near "я??ALTER"
?????? 1:я??ALTER TABLE service_provider_settings ADD shop INTEGER;
^

at ru.crystals.cm.utils.NativeHelper.processCommandWithOutput(NativeHelper.java:378)
at ru.crystals.cm.utils.NativeHelper.processCommandWithOutput(NativeHelper.java:314)
at ru.crystals.cm.utils.SQLHelper.execScript(SQLHelper.java:124)
at ru.crystals.cm.utils.SQLHelper.execScript(SQLHelper.java:115)
at ru.crystals.cm.AbstractConfigurationUpdater.applySQL(AbstractConfigurationUpdater.java:618)
at ru.crystals.cm.AbstractConfigurationUpdater.applySQLFromPath(AbstractConfigurationUpdater.java:613)
at ru.crystals.cm.AbstractConfigurationUpdater.applyPatch(AbstractConfigurationUpdater.java:419)
at ru.crystals.cm.AbstractConfigurationUpdater.doUpdate(AbstractConfigurationUpdater.java:256)
at ru.crystals.cm.AbstractConfigurationUpdater.start(AbstractConfigurationUpdater.java:88)
at ru.crystals.cm.server.ServerUpdater.main(ServerUpdater.java:82)
Set status = FAST_REVERT
Send message to server : Fast revert, cause: UPDATE FAILED!
25.11.2016 11:19:43
Current status is APPLY_PATCH
Current patches list is [centrum_10.2.22.0_10.2.22.1]
ERROR MESSAGE:
ru.crystals.cm.UpdateException: Error process WIN command ([C:\Program Files (x86)\PostgreSQL\8.4\bin\psql, -h, localhost, -p, 5432, -U, postgres, -d, set, -v, ON_ERROR_STOP=1, -f, C:\Program Files (x86)\SetRetail10\acm\updates\unzip_centrum_10.2.22.0_10.2.22.1\restore\set_U_10.2.23.0_220.sql]):
ERROR:
psql:C:/Program Files (x86)/SetRetail10/acm/updates/unzip_centrum_10.2.22.0_10.2.22.1/restore/set_U_10.2.23.0_220.sql:1: ERROR: syntax error at or near "я??ALTER"
?????? 1:я??ALTER TABLE service_provider_settings ADD shop INTEGER;
^

at ru.crystals.cm.utils.NativeHelper.processCommandWithOutput(NativeHelper.java:378)
at ru.crystals.cm.utils.NativeHelper.processCommandWithOutput(NativeHelper.java:314)
at ru.crystals.cm.utils.SQLHelper.execScript(SQLHelper.java:124)
at ru.crystals.cm.utils.SQLHelper.execScript(SQLHelper.java:115)
at ru.crystals.cm.AbstractConfigurationUpdater.applySQL(AbstractConfigurationUpdater.java:618)
at ru.crystals.cm.AbstractConfigurationUpdater.applySQLFromPath(AbstractConfigurationUpdater.java:613)
at ru.crystals.cm.AbstractConfigurationUpdater.applyPatch(AbstractConfigurationUpdater.java:419)
at ru.crystals.cm.AbstractConfigurationUpdater.doUpdate(AbstractConfigurationUpdater.java:256)
at ru.crystals.cm.AbstractConfigurationUpdater.start(AbstractConfigurationUpdater.java:88)
at ru.crystals.cm.server.ServerUpdater.main(ServerUpdater.java:82)
25.11.2016 12:00
Woodstock
 
syntax error at or near "я??ALTER"
Вы скрипт сохранили не в той кодировке, сравните кодировку у оригинала
25.11.2016 14:14
obltorg
 
спасибо. получилось

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.