Organizr update from 2.0.0-beta.980 to 2.0.70 failed

Created on 26 Mar 2019  Â·  10Comments  Â·  Source: causefx/Organizr

Organizr Version: 2.0.0-beta.980
Branch: Develop
WebSever: Nginx
Operating System: Debian 9

Problem Description:

Hello, I try to install the last update "2.0.70", I was in " 2.0.0-beta.980". And I get an error "Syntax error unexpected token JSON...."


Reproduction Steps:

I get the popup to update Organizr, the tab refresh but never finish to install the update.
When I try to refresh the windows, I get the "Syntax error unexpected token JSON...."


Errors on screen? If so paste here:

"Syntax error unexpected token JSON...."
image

All 10 comments

The update function in that version had problems that have since been fixed. Backup your database file and config.php file and just download and extract the zip of the files again.

I have install the last zip of organizrr.

But now I get this error :

Organizr needs PHP Version: 7.1.3
You have PHP Version: 7.0.33-0+deb9u3

But I have update PHP to the 7.3.3 version :

root@PI2-Ombi-Organizrr:~# php --version
PHP 7.3.3-1+0~20190307202245.32+stretch~1.gbp32ebb2 (cli) (built: Mar  7 2019 20:22:46) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.3-1+0~20190307202245.32+stretch~1.gbp32ebb2, Copyright (c) 1999-2018, by Zend Technologies

Wait, I'm confused... How is organizr installed...? You listed Synology Docker

What docker image is being used?

Sorry, it was my old setup that was under Docker.

This one is installed on a RPi2 under Debian 9.

Oh ok. Since you updated php you need to update the path to the correct sock in the nginx config file.
find your php block in nginx...

location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass unix:/var/run/php7-fpm.sock;
    fastcgi_index index.php;
    include /etc/nginx/fastcgi_params;
}

we need to modify the line

fastcgi_pass unix:/var/run/php7-fpm.sock;

to the correct name...

might be php7.3-fpm.sock or something... check the www.conf file in the php dir

Thank you for your help CauseFX I managed to configure the file "config / organizr.local / phpblock.conf" by declaring the new version of php7.3.

But now when I restart the site I have the following message:
502 Bad Gateway
nginx / 1.10.3

And in the error_log file I get :
2019/03/26 21:58:44 [crit] 403#403: *1 connect() to unix:/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: _MY_IP_ADDRESS_, server: www.organizr.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "_my_domain_name_"

find the correct file name from www.conf in the php folder.

Sent from my iPhone

On Mar 26, 2019, at 2:08 PM, ptitsnake notifications@github.com wrote:

Thank you for your help CauseFX I managed to configure the file "config / organizr.local / phpblock.conf" by declaring the new version of php7.3.

But now when I restart the site I have the following message:
502 Bad Gateway
nginx / 1.10.3

And in the error_log file I get :
2019/03/26 21:58:44 [crit] 403#403: *1 connect() to unix:/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: MY_IP_ADDRESS, server: www.organizr.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "my_domain_name"

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks I have simply, stop php7 and start php7.3 and install phpsqlite3.

Now the Organizrr interface is working properly again and I am in version 2.0.70.

Thank you for your help, and your response is super fast and almost instantaneous.

Great job and thank you again.

awesome!!!! good stuff :)

Sent from my iPhone

On Mar 26, 2019, at 2:29 PM, ptitsnake notifications@github.com wrote:

Thanks I have simply, stop php7 and start php7.3 and install phpsqlite3.

Now the Organizrr interface is working properly again and I am in version 2.0.70.

Thank you for your help, and your response is super fast and almost instantaneous.

Great job and thank you again.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I also had to add one of these two lines to increase the timeout at the start of the php7.3-fpm service.
File "/etc/systemd/system/multi-user.target.wants/php7.3-fpm.service" adding lines:
TimeoutStartSec = 300s
TimeoutStopSec = 300s
In the "Service" block

Now everything works correctly (even after a reboot).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CBers picture CBers  Â·  4Comments

jaydee99 picture jaydee99  Â·  6Comments

Cookie-Monster-Coder picture Cookie-Monster-Coder  Â·  5Comments

mpalermo73 picture mpalermo73  Â·  3Comments

JimboJamez picture JimboJamez  Â·  6Comments