Reply
Highlighted
New Member
Posts: 14
Registered: ‎05-29-2018
Kudos: 1
Solutions: 1
Accepted Solution

Ucrm update failed

HI,

 

Can anyone help me? Update fails..

 

+------------------------------------------------+
| UCRM - Complete WISP Management Platform |
| |
| https://ucrm.ubnt.com/ (updater v3.2) |
+------------------------------------------------+

Configuring auto-update permissions.
Backing up docker compose files.
Updating elastic service
Pulling rabbitmq (rabbitmq:3)...
3: Pulling from library/rabbitmq
Digest: sha256:e5c5761c69a8089982c02a5b0691c7910962ff61449e439958ca48a7ca99420d
Status: Image is up to date for rabbitmq:3
Pulling postgresql (postgres:9.5)...
9.5: Pulling from library/postgres
Digest: sha256:5342e43c099e16047f59250a796f33272f5ba714e1b2b4a80b4b5cb89829fb79
Status: Image is up to date for postgres:9.5
Pulling elastic (elastic/elasticsearch:6.2.4)...
6.2.4: Pulling from elastic/elasticsearch
Digest: sha256:9ae20c753f18e27d1dd167b8675ba95de20b1f1ae5999aae5077fa2daf38919e
Status: Image is up to date for elastic/elasticsearch:6.2.4
Pulling web_app (ubnt/ucrm-billing:latest)...
latest: Pulling from ubnt/ucrm-billing
Digest: sha256:ef24e3819a6b4404a0e901c7b93f72b1fd33faad4f193d2558f7917387b2357f
Status: Image is up to date for ubnt/ucrm-billing:latest
WARNING: --all flag is obsolete. This is now the default behavior of `docker-compose rm`
Removing ucrm_migrate_app_run_1 ... done
Going to remove ucrm_migrate_app_run_1
Creating ucrm_postgresql_1 ...
Creating ucrm_postgresql_1 ... done
/usr/src/ucrm/scripts/init_log.sh
/usr/src/ucrm/scripts/dirs.sh
Tue Feb 12 09:45:48 UTC 2019 --- Creating directories.
Tue Feb 12 09:45:48 UTC 2019 --- Done creating directories.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic links.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic link for /usr/src/ucrm/app/data.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic link for /usr/src/ucrm/app/EmailQueue.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic link for /usr/src/ucrm/app/logs.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic link for /usr/src/ucrm/app/letsencrypt_logs.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic link for /usr/src/ucrm/web/uploads.
Tue Feb 12 09:45:48 UTC 2019 --- Creating symbolic links for /data/updates.
Tue Feb 12 09:45:48 UTC 2019 --- Publishing current /usr/src/ucrm/app/config/version.yml.
Tue Feb 12 09:45:48 UTC 2019 --- Done creating symbolic links.
/usr/src/ucrm/scripts/parameters.sh
Tue Feb 12 09:45:48 UTC 2019 --- Replacing configuration parameters.
Tue Feb 12 09:45:48 UTC 2019 --- Done replacing configuration parameters.
su-exec nginx /usr/src/ucrm/scripts/migrate.sh
psql: FATAL: password authentication failed for user "ucrm"
Tue Feb 12 09:45:48 UTC 2019 --- Migrating database.

In AbstractPostgreSQLDriver.php line 89:

An exception occurred in driver: SQLSTATE[08006] [7] FATAL: password authe
ntication failed for user "ucrm"


In PDOConnection.php line 47:

SQLSTATE[08006] [7] FATAL: password authentication failed for user "ucrm"


In PDOConnection.php line 43:

SQLSTATE[08006] [7] FATAL: password authentication failed for user "ucrm"


doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--db DB] [--em EM] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<version>]

Tue Feb 12 09:45:52 UTC 2019 --- Migration failed.
Tue Feb 12 09:45:52 UTC 2019 --- Removing database backup.
make: *** [Makefile:47: migrate] Error 1


Accepted Solutions
New Member
Posts: 14
Registered: ‎05-29-2018
Kudos: 1
Solutions: 1

Re: Ucrm update failed

Anyway it fixed myself by updating docker then update worked Man Happy Thanks!

View solution in original post


All Replies
Ubiquiti Employee
Posts: 3,822
Registered: ‎12-10-2015
Kudos: 1347
Solutions: 297

Re: Ucrm update failed

@porpaczimiklos the current UCRM version is working?

From this:
SQLSTATE[08006] [7] FATAL: password authentication failed for user "ucrm"
I assume, the password has been changed in /home/ucrm/docker-compose.env
New Member
Posts: 14
Registered: ‎05-29-2018
Kudos: 1
Solutions: 1

Re: Ucrm update failed

No, the current version not worked, that's why i tried upgrade. But i haven't changed passwords..how can i fix this?

New Member
Posts: 14
Registered: ‎05-29-2018
Kudos: 1
Solutions: 1

Re: Ucrm update failed

Anyway it fixed myself by updating docker then update worked Man Happy Thanks!

Reply