Forum

Blocking PB migrati...
 
Notifications
Retirer tout

Blocking PB migration 6.1.0 to 6.1.2

32 Posts
2 Utilisateurs
0 Reactions
21 K Vu
(@pipobru)
Posts: 180
Active Member
Début du sujet
 
[#4211]

hello,
after dowload files for migration i have this trace:
2017-03-16 15:06:30.538 ** ERROR ** EXCEPTION **
2017-03-16 15:06:30.538
** ERROR ** on file '/var/www/html/model/persistence/Sql.php' at line (238)
2017-03-16 15:06:30.538
** ERROR ** cause = Call to a member function quote() on null
2017-03-16 15:06:30.538
** ERROR ** => #0 /var/www/html/model/persistence/SqlElement.php (1806) -> str()
2017-03-16 15:06:30.538
** ERROR ** => #1 /var/www/html/model/persistence/SqlElement.php (2022) -> getSqlElementsFromCriteria()
2017-03-16 15:06:30.538
** ERROR ** => #2 /var/www/html/model/Audit.php (139) -> getSingleSqlElementFromCriteria()
2017-03-16 15:06:30.538
** ERROR ** => #3 /var/www/html/tool/projeqtor.php (249) -> updateAudit()
2017-03-16 15:06:30.538
** ERROR ** => #4 /var/www/html/tool/checkAlertToDisplay.php (29) -> require_once()
2017-03-16 15:06:34.641
** ERROR ***** Exception-[57P01] SQLSTATE[57P01]: Admin shutdown: 7 FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

It is a Blocking pb please can you help me ?


 
Posté : 16 Mar PM 17:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

same pb with a empty database .....PLEASE HELP ME !!!


 
Posté : 16 Mar PM 17:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

Pb with postgresql.


 
Posté : 16 Mar PM 17:033
(@babynus)
Posts: 14952
Membre Admin
 

You connection fails (connection is empty)
This may be do to incorrect migration process : you may have lost connection parameters.


 
Posté : 17 Mar AM 02:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

Thanks for for your answer, but after some research i think the problem is with the new update of php.


 
Posté : 17 Mar AM 10:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

with roleback to 6.1.0 the site running OK


 
Posté : 17 Mar PM 12:033
(@babynus)
Posts: 14952
Membre Admin
 

i think the problem is with the new update of php.

What do you mean ? You also upgraded PHP version ?


 
Posté : 17 Mar PM 12:033
(@babynus)
Posts: 14952
Membre Admin
 

with roleback to 6.1.0 the site running OK

There is no reason V6.1.0 runs correct and not V6.1.2 (changes are very minor).
I'm almost sure it is due to migration process.
How did you run migration ?


 
Posté : 17 Mar PM 12:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

Very thanks for your answer.
I have upgreted my OS and after upgrted projeqtor.
my version is PHP Version 7.0.15-0ubuntu0.16.04.4


 
Posté : 17 Mar PM 12:033
(@babynus)
Posts: 14952
Membre Admin
 

OK, but how did you upgrade projeqtor ?
Please explain step by step what you did ...


 
Posté : 17 Mar PM 12:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

1) stop apache
2) upload files (all) for the new version
3) re-start apache
4) connect with admin user for apply database migration => error just after login


 
Posté : 17 Mar PM 12:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

and before upgrade projeqtor:
1) sudo apt-get update
2) sudo apt-get upgrade
3) sudo apt-get dist-upgrade
4) reboot
5) check if os running normaly


 
Posté : 17 Mar PM 12:033
(@babynus)
Posts: 14952
Membre Admin
 

1) stop apache
2) upload files (all) for the new version
3) re-start apache
4) connect with admin user for apply database migration => error just after login

some issue may be there : you'd better upload zip file and extract it on server


 
Posté : 17 Mar PM 12:033
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

same mode for roleback. You think the problem is when unzip files before upload ?


 
Posté : 17 Mar PM 13:033
(@babynus)
Posts: 14952
Membre Admin
 

You think the problem is when unzip files before upload ?

It's possible.
Also issue during transfer is possible.

When you migrate, do you overwrite existing code with new one ?


 
Posté : 17 Mar PM 13:033
Page 1 / 3
Share:
Retour en haut