Not able to login to restored database

36 views
Skip to first unread message

appu

unread,
Dec 15, 2015, 1:40:04 PM12/15/15
to tryton
Hi all,

i have dumped postgres database on one server and moved dump to another server and restored it.
tryton application code is same in both servers.  But after restoring the database i am not able to login to the application.

following are the steps i did:

1. dump database d1 from server A
    pg_dump d1 > db.sql

2. move db.sql to server B and create database(d1)  in server B 
    CREATE DATABASE d1 WITH TEMPLATE template0;  ( this i have done from psql console).

3. restore the dump on server B
    psql -d d1 -f db.sql

4. updated trytond 
    ./trytond -d d1 --all

Everything is successful.   But after i open url and trying to give credentials to login to the application then i could not login.

Could anyone please Help me?

PS: i am using tryton3.4, postgresql 9.1 
Thanks
--Appu
  

  

Cédric Krier

unread,
Dec 15, 2015, 1:55:03 PM12/15/15
to tryton
I think it is not linked to the database restore but to a correct
installation on your new server. You should try to create a new database
on it first to check if it works.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

TPH

unread,
Dec 21, 2015, 11:26:11 AM12/21/15
to tryton

 If you select "Manage profiles" on Client Login Window, does it shows you the database at "Database:" if you enter field "Hostname:" and "Port:" ?
Reply all
Reply to author
Forward
0 new messages