To post a new support question, click the Post New Topic button below.
Current Version: 5.3.4 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Need Help From Synology Users (or Tim)

G
33 posts
Sat Aug 13, 22 1:25 PM CST
I know a number of you self-host on Synology servers, as do I.

I need help / advice. Today I attempted to upgrade to PHP 7.4 from version 7.3

After doing the upgrade, I cannot log in as an administrator. Upon entering my password, I get a blank screen.

The solution for me was to go back to PHP 7.3, but I'd rather use 7.4 if I can.

Are any Synology users seeing this? Or can anyone suggest something to try?

Thanks.
149 posts
Sat Aug 13, 22 10:25 PM CST
What version of DSM do you use?

Currently I have PHP5.6, 7.0, 7.2, 7.3 and 7.4 installed on mine but I have 7.4 the default profile for my apache 2.4 server, which seem to all work with my sytist version 4.0.2.

I think the only other notable thing, is I don't rely on the synology for any SSL, adding it later downstream using an SSL offloader.

Liz
149 posts
Sat Aug 13, 22 11:41 PM CST
Something else just came to mind, I had to setup a daily task to load the PHP ini files as there might have been something wrong with it in the synology package.

It was so long ago I can't even recall the details, but perhaps its the same for you. I'm still on DSM 6 so maybe this was addressed in DSM7?

Obviously the packages are installed to directories that are on the root on your synology which are not accessible via the file station, you'll need to use SSH to see them.

I've copied my bash script (which you can use in the task scheduler) here for your convenience:

#!/bin/bash
PHP_INI_SCAN_DIR=.:/usr/local/etc/php74/:/var/packages/WebStation/etc/php_profile/C955c07d-aa67-4013-bcda-4189fb9a1f34/conf.d/
export PHP_INI_SCAN_DIR
php74 $*
Attached Photos

G
33 posts
Sun Aug 14, 22 9:20 AM CST
Liz,
Thank you very much. I tried adding the bash script. It runs without errors but unfortunately does not solve my problem. I was able to determine the php error that is causing the admin screen to not load. The error message on PHP 7.4 is "Warning: ob_start(): function 'ob_gzhandler' not found or invalid function "

When set to PHP 7.3 there is no error. I will continue to investigate.

PS - I'm still on DSM 6. I want to switch to DSM 7 in the next six months or so. If you have any thoughts about this I'd love to hear them. Thanks again.
149 posts
Sun Aug 14, 22 11:06 AM CST
I'm very interested in upgrading too, but, I'm also very hesitant mainly because they stopped stupport for a lot of things (which I might be unknowingly using). They've sandboxed DSM 7 to a much greater extent than 6 so it's going to be a gamble. I also run a host of other services in docker so I have to figure those out too.

PHP 8.1 has native support in DSM 7, so if Sytist comes out with any attractive features I might have to look at doing this sooner. As it stands now, Sytist 4.1+ doesn't bring anything new (for me) to the table, so I don't mind waiting until my busy season passes, so I'll probably do it in November.

It would be nice to see a synology sub-sytist forum somewhere on here! Until then, let me know if you upgrade and any issues you run into, especially if you solve them before I run into them!

G
33 posts
Sun Aug 14, 22 11:50 AM CST
Yes, I agree with all of your concerns about DSM 7. I have a test server that I will probably switch over first to see how it goes. Unfortunately that test server does not have sytist installed, but at least I can test some of my other web apps there.

I did find the answer to my PHP 7.4 problem in a previous post here:
https://www.picturespro.com/support-forum/sytist/?t=50724-warning-ob_start-function-ob_gzhandler

Rather than add any code to sy-config.php I enabled the zlib function in the php settings in DSM 6 and everything works just fine now for me.
6 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 484 times
Category: Other
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close