Forum

Error after subscri...
 
Notifications
Retirer tout

Error after subscription manual update

10 Posts
2 Utilisateurs
0 Reactions
2,042 Vu
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 
[#9628]

Hello

Version 11.4.2

i'm heading into subscription and i select force manual update

 

i'm getting the message Revision installed

 

but then i'm getting this visual in subscription menu

 

and from this point Projeqtor website is down, no longer responding

here is the error.log from apache

[Sun Nov 17 09:13:24.962619 2024] [php7:warn] [pid 2826:tid 2826] [client 10.1.120.51:49766] PHP Warning:  session_start(): Failed to decode session object. Session has been destroyed in /var/www/html/tool/projeqtor.php on line 46, referer: https://gp.regiscote.com/view/main.php
[Sun Nov 17 09:13:24.962663 2024] [php7:error] [pid 2826:tid 2826] [client 10.1.120.51:49766] PHP Fatal error:  Uncaught Error: Class 'SqlElement' not found in /var/www/html/model/Parameter.php:8nStack trace:n#0 /var/www/html/tool/projeqtor.php(1811): require_once()n#1 [internal function]: projeqtorAutoload()n#2 /var/www/html/tool/projeqtor.php(3039): spl_autoload_call()n#3 /var/www/html/tool/projeqtor.php(3170): logTracing()n#4 /var/www/html/tool/projeqtor.php(1687): errorLog()n#5 /var/www/html/model/_securityCheck.php(41): traceHack()n#6 /var/www/html/model/LeavesSystemHabilitation.php(32): require_once('/var/www/html/m...')n#7 /var/www/html/tool/projeqtor.php(1811): require_once('/var/www/html/m...')n#8 [internal function]: projeqtorAutoload()n#9 [internal function]: spl_autoload_call()n#10 /var/www/html/tool/projeqtor.php(46): session_start()n#11 /var/www/html/tool/checkAlertToDisplay.php(29): require_once('/var/www/html/t...')n#12 {main}n  thrown in /var/www/html/model/Parameter.php on line 8, referer: https://gp.regiscote.com/view/main.php


 
Posté : 17/11/2024 5:24 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

It is very strange, I never faced this kind of issue.

First workaround is to install V11.4.2 from community version.
You should have your instance back


 
Posté : 18/11/2024 12:54 pm
(@babynus)
Posts: 14952
Membre Admin
 

To help me analyse issue, can you check that you still have expected file
projeqtor/model/persistence/SqlElement.php 
Please check that this file exists and that php user has rights to access this file, and its content.
If possible post this file as attachment on this forum.


 
Posté : 18/11/2024 12:56 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
To be able to analyse what went wrong during upgrade can you please :
 - check projeqtor log file of when you applied upgrade and post logs of upgrade
 - check apache error log file of when you applied upgrade and post logs of errors if any
 - post here some (not all, just 2 or 3) of the files that where upgraded (you'll see the list on your screenshot : view/objectDetail.php, tool/jsonQuery.php)

I guess there was an issue and you retreived errors instead of expected files.
 


 
Posté : 18/11/2024 2:26 pm
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 

Hi,

Thanks for your reply,  first thing you should know, my instance is not down, i'm using virutal machine snapshot, so before any update, i'm doing a snapshot and if something goes wrong, i revert to the snapshot before update.

this post was made to inform you of this issue.

I will try another manual update later and i will answer all your questions to help you figure out what's going on.  I will provide all files and logs you asked.

Regards


 
Posté : 18/11/2024 3:15 pm
(@babynus)
Posts: 14952
Membre Admin
 

OK.
Great you are not blocked.
 


 
Posté : 18/11/2024 3:41 pm
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 

Hi

i tried doing a manual update again

Here is my projeqtor log file, there is nothing about the manual update in it

2024-11-24 09:32:19.990 ===== TRACE ===== [27] NEW CONNECTED USER 'karl.binet'
2024-11-24 09:35:29.385 ===== TRACE ===== Cron started at 24/11/2024 09:35:29
2024-11-24 09:35:30.833 ===== TRACE ===== Logfile->purge() : Technical trace to keep current log file
2024-11-24 10:56:40.332 ===== TRACE ===== [27] NEW CONNECTED USER 'karl.binet'

here is the content of apache error.log files

[Sun Nov 24 10:56:31.398068 2024] [mpm_prefork:notice] [pid 1359:tid 1359] AH00163: Apache/2.4.62 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Nov 24 10:56:31.398085 2024] [core:notice] [pid 1359:tid 1359] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 24 10:58:02.356645 2024] [php7:warn] [pid 1475:tid 1475] [client 10.1.120.51:54246] PHP Warning:  session_start(): Failed to decode session object. Session has been destroyed in /var/www/html/tool/projeqtor.php on line 46, referer: https://gp.regiscote.com/view/main.php
[Sun Nov 24 10:58:02.356679 2024] [php7:error] [pid 1475:tid 1475] [client 10.1.120.51:54246] PHP Fatal error:  Uncaught Error: Class 'Parameter' not found in /var/www/html/tool/projeqtor.php:3039nStack trace:n#0 /var/www/html/tool/projeqtor.php(3170): logTracing()n#1 /var/www/html/tool/projeqtor.php(1687): errorLog()n#2 /var/www/html/model/_securityCheck.php(41): traceHack()n#3 /var/www/html/model/Menu.php(30): require_once('/var/www/html/m...')n#4 /var/www/html/tool/projeqtor.php(1811): require_once('/var/www/html/m...')n#5 [internal function]: projeqtorAutoload()n#6 [internal function]: spl_autoload_call()n#7 /var/www/html/tool/projeqtor.php(46): session_start()n#8 /var/www/html/tool/saveCollapsed.php(30): require_once('/var/www/html/t...')n#9 {main}n  thrown in /var/www/html/tool/projeqtor.php on line 3039, referer: https://gp.regiscote.com/view/main.php
[Sun Nov 24 10:58:15.903497 2024] [php7:error] [pid 2583:tid 2583] [client 10.1.120.51:54280] PHP Fatal error:  Uncaught Error: Class 'Parameter' not found in /var/www/html/tool/projeqtor.php:1531nStack trace:n#0 [internal function]: exceptionHandler()n#1 {main}n  thrown in /var/www/html/tool/projeqtor.php on line 1531, referer: https://gp.regiscote.com/view/main.php
[Sun Nov 24 10:58:15.935796 2024] [php7:error] [pid 2585:tid 2585] [client 10.1.120.51:54281] PHP Fatal error:  Uncaught Error: Class 'Parameter' not found in /var/www/html/tool/projeqtor.php:1531nStack trace:n#0 [internal function]: exceptionHandler()n#1 {main}n  thrown in /var/www/html/tool/projeqtor.php on line 1531, referer: https://gp.regiscote.com/view/main.php

You want me to post some file that were upgraded, well, after the update, all the files that were upgraded are empty 

 

 

 

Please note that, in the past, i used manual updated 1 time and i work perfectly. this was before updating to 11.4.2

Regards


 
Posté : 24/11/2024 7:13 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Thanks for sharing the issue report.
In fact it seems you cannot retreive data from projeqtor server.
I just tested right now and upgrade runs like a charm, no issue.

It seems your server cannot acces projeqtor server, but weird you can check subscription code (on same server) that is executed on every access of the subscription page.

Do you have any error or trace in Projeqtor log file ?
 


 
Posté : 24/11/2024 7:57 pm
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 

Hi, 

No nothing was added in the projeqtor log files after update, you can see the content of the projeqtor log file on the top of my previous post.

Regards


 
Posté : 24/11/2024 8:07 pm
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 

hi, would like to inform you also, that, before i do an update i'm doing a virtal machine snapshot,

so, i did the snapshot
tried manual update, did not worked
Revert back the snapshot

But after reverting the snapshot, i opened back Projeqtor, went to subsription and i was no longuer registered with server, i could no longuer get the update
i reverted the snapshot one more time, and this time, when i opened Projeqtor, my subscription was OK.

i Don't know if it's related, but i tought you should know.

Regards


 
Posté : 24/11/2024 8:11 pm
Share:
Retour en haut