Phplist-3.2.5 requires full path to root in nginx.conf


Normally to upgrade phplist installation, I only need to change the symbolic link and reload nginx:

lrwxrwxrwx  1 root root   13 Jun  8 22:17 phplist -> phplist-3.2.5/
drwxr-xr-x  7 root root 4.0K Apr  4 20:25 phplist-3.2.4/
drwxr-xr-x  7 root root 4.0K Jun  8 21:52 phplist-3.2.5/

However, after the upgrade from version 3.2.4 to 3.2.5, I also needed to change my nginx conf from

- root /var/www/phplist/public_html;
+ root /var/www/phplist-3.2.5/public_html;

Without explicitly pointing the directory, the admin page is not fully loaded (e.g. login box doesn’t show).

Any ideas, why the symbolic link doesn’t work anymore?

Kind regards,

@ksmets I use a similar approach with apache and do not have any problems. Can you try using the web console in Firefox or something similar in a different browser to see the network requests and responses. That might shed some light on what is happening.


Looking at both de browser console and debug logs. I see that php-fpm returns “Status: 500 Internal Server Error”. I tried restarting/reloading php-fpm but can’t get the symbolic link to work.

grtz, Koen

Resolved the issue. Apparently restart of php5-fpm didn’t kill the pool processes. Manually killing all php5-fpm processes and restarting php5-fpm did the trick.