v18 update 3 build 461 will not install update 4 Final

Status
Not open for further replies.

powercomp

Bronze Partner
Advanced Certified
Joined
Aug 22, 2012
Messages
6
Reaction score
0
I have tried multiple times to install upd4 Final. It processes, stopa and starts all services but nothing happens. No error shown, no email sent.
Any advise? We need to get 4 installed so 5 can be installed before 12-1-22

from updater2.log
2022/11/29 18:33:13.133|0010| ERROR: ExecuteScript returns Npgsql.PostgresException (0x80004005): 23505: could not create unique index "gateway_name_key"
at Npgsql.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|194_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.<>c__DisplayClass41_0.<<ReadMessage>g__ReadMessageSequential|0>d.MoveNext()
--- End of stack trace from previous location ---
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
at Npgsql.NpgsqlDataReader.NextResult()
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteScalar(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteScalar()
at Updater2Db.UpdateInfoExtractor.ExecuteScript(String sqlQuery, String transactionName, Exception& err)
Exception data:
Severity: ERROR
SqlState: 23505
MessageText: could not create unique index "gateway_name_key"
Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
SchemaName: public
TableName: gateway
ConstraintName: gateway_name_key
File: d:\pginstaller.auto\postgres.windows-x64\src\backend\utils\sort\tuplesort.c
Line: 4056
Routine: comparetup_index_btree
2022/11/29 18:33:13.133|0001| Overall result of update is fail. Failed task(s):
2022/11/29 18:33:13.134|0001| Update DB Instance1 task
2022/11/29 18:33:13.134|0001| Starting to rollback...
2022/11/29 18:33:30.414|0001| Deleting all old files from C:\Program Files\3CX Phone System\Bin\Codec
2022/11/29 18:33:33.273|0001| Deleting all old files from C:\ProgramData\3CX\Data\Http\Templates\gateway
2022/11/29 18:33:33.424|0001| Deleting all old files from C:\ProgramData\3CX\Data\Http\Templates\fxs
2022/11/29 18:33:33.666|0001| Deleting all old files from C:\ProgramData\3CX\Data\Http\wwwroot
2022/11/29 18:33:42.549|0001| Deleting all old files from C:\ProgramData\3CX\Instance1\Data\Http\Templates\fxs
2022/11/29 18:33:44.586|0001| Deleting all old files from C:\ProgramData\3CX\Instance1\Data\Http\Templates\gateway
2022/11/29 18:33:45.274|0001| Done. Deleting rollback folder
2022/11/29 18:33:45.849|0001| Disabling teredo...
2022/11/29 18:33:45.941|0001| teredo has been successfully disabled
2022/11/29 18:33:45.945|0001| Updating services...
2022/11/29 18:33:45.949|0001| Service 3CX PhoneSystem Database Server is installed already
 
Have you installed anything that interacts with the database directly?

Easiest thing to do is to take a backup, copy it off the box, uninstall and then do a fresh install and restore. You will be on Update 5
 
No nothing on the VM but 3CX. I considered the reinstall process but was unsure if the latest download was update 5. Thx
 
The download should always be the latest available version.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet