ISPConfig: Homepage: "Latest news" empty

Discussion in 'Installation/Configuration' started by 30uke, Sep 8, 2019.

  1. 30uke

    30uke Member HowtoForge Supporter

    After my mistake of not upgrading my distribution before upgrading ISPConfig, I did notice that the pane "latest news" is empty on ISPConfig's Homepage.
    I suspect it has something to do with PHP, but I am not sure.
    This evening I did upgrade to ISPConfig 3.1.15 on Buster 10.1. Everything seems to work fine; although I had to fix some lines in some of the config files (as I did not yet take the time to create a template for these services).
    I was hoping that the latest news would show again after running through ISPConfig's update process - but it's still empty.
    I am not sure where to start. I am hoping someone has some ideas. Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The distribution has to be upgraded before you upgrade ispconfig, this would have fixed also your config issues on Buster :)

    Have a look under System > Interface config > Misc if the ispconfig new feed is set there.
     
  3. 30uke

    30uke Member HowtoForge Supporter

    I did take a look and under "System" > "Interface" > "Misc" the following fields are set to "https://www.ispconfig.org/atom":
    • Dashboard atom feed URL (admin)
    • Dashboard atom feed URL (reseller)
    • Dashboard atom feed URL (client)
    Are these the mentioned news feeds? Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, that are the feeds. Maybe your firewall blocks outgoing https:// requests to ispconfig.org website?
     
  5. 30uke

    30uke Member HowtoForge Supporter

    I don't believe it is being blocked by the firewall.
    Code:
    [email protected]:/tmp# wget https://www.ispconfig.org/feed/atom/
    --2019-09-29 20:04:58--  https://www.ispconfig.org/feed/atom/
    Resolving www.ispconfig.org (www.ispconfig.org)... 2606:4700:20::6818:44, 2606:4700:20::6818:144, 104.24.1.68, ...
    Connecting to www.ispconfig.org (www.ispconfig.org)|2606:4700:20::6818:44|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/atom+xml]
    Saving to: ‘index.html’
    
    index.html              [ <=>                ]  11.90K  --.-KB/s    in 0s     
    
    2019-09-29 20:04:59 (25.7 MB/s) - ‘index.html’ saved [12185]
    
    [email protected]:/tmp# head index.html
    <?xml version="1.0" encoding="UTF-8"?><feed
        xmlns="http://www.w3.org/2005/Atom"
        xmlns:thr="http://purl.org/syndication/thread/1.0"
        xml:lang="en-US"
        xml:base="https://www.ispconfig.org/wp-atom.php"
        >
        <title type="text">ISPConfig</title>
        <subtitle type="text">Hosting Control Panel</subtitle>
    
        <updated>2019-09-04T13:48:22Z</updated>
    [email protected]:/tmp#
     
  6. 30uke

    30uke Member HowtoForge Supporter

    Could it be that there's an issue here:
    Code:
    [email protected]:/tmp# wget https://www.ispconfig.org/wp-atom.php
    --2019-10-03 21:42:26--  https://www.ispconfig.org/wp-atom.php
    Resolving www.ispconfig.org (www.ispconfig.org)... 2606:4700:20::6818:44, 2606:4700:20::6818:144, 104.24.1.68, ...
    Connecting to www.ispconfig.org (www.ispconfig.org)|2606:4700:20::6818:44|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2019-10-03 21:42:26 ERROR 404: Not Found.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The URL you used for testing in #6 is wrong, that's why you get a 404. You used the correct URL in #5.
     
  8. 30uke

    30uke Member HowtoForge Supporter

    Yeah... I am aware of that. But still doesn't seem to work. Is there a way to debug this easily? Thanks.
     
  9. 30uke

    30uke Member HowtoForge Supporter

    I noticed the following in the Apache error log. Could this have anything to do with the latest news listing?
    Code:
    [Wed Oct 30 00:00:08.553996 2019] [core:notice] [pid 29128] AH00094: Command line: '/usr/sbin/apache2'
    [Wed Oct 30 00:00:08.560321 2019] [mpm_prefork:warn] [pid 29128] AH00167: long lost child came home! (pid 22305)
    [Wed Oct 30 12:09:38.372637 2019] [fcgid:warn] [pid 13719] [client 83.136.194.213:54643] mod_fcgid: stderr: PHP Notice: A feed could not be found at https://www.ispconfig.org/atom. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed. in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 1728, referer: https://s1.gigabitjes.nl:8080/index.php
    
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, might be related. It seems as if the URL can not be accessed from PHP on your server.
     
  11. 30uke

    30uke Member HowtoForge Supporter

    Alright. Could this have anything to do with PHP Curl? I did notice the following message when I navigate to "Sites" > "Update packagelist" and then click the button "Update Packagelist":
    Code:
    1. The PHP CURL extension is not available.
    I am just guessing as I don't have a clue where to look with regards to have PHP to access the URL.
     
  12. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What show
    Code:
    apt-cache policy php-curl php7.3-curl
    cat /etc/debian_version
    
     
  13. 30uke

    30uke Member HowtoForge Supporter

    [EDIT2]
    The issue has been resolved.
    After installing the missing packages (please see "EDIT1") I did change the PHP settings under "System" > "Server config" : {site} :: [Web] + [Fast CGI].
    After a logout and login the latest news feed returned. Hooray! :)
    It's just me updating stuff the wrong way :eek: But fixing it with your help :cool: :) Thanks again for your help and good quality documentation :) I did learn a lot about breaking stuff myself and how to fix it again from you guys :)
    [/EDIT2]

    [EDIT1]
    My system was updated from Stretch to Buster some time ago. I did take a look at https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/ and I did notice some missing packages. I added these and now the problem with curl has been resolved.
    The issue with the empty "Latest news" box is still there. I am not sure how to troubleshoot this further.
    [/EDIT1]

    Hi Taleman. Thanks for your reply.
    Code:
    [email protected]:/# php -version
    PHP 7.3.11-1~deb10u1 (cli) (built: Oct 26 2019 14:14:18) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.3.11-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
    [email protected]:/# apt-cache policy php-curl php7.3-curl
    php-curl:
      Installed: 2:7.3+69
      Candidate: 2:7.3+69
      Version table:
     *** 2:7.3+69 500
            500 http://mirror.transip.net/debian/debian buster/main amd64 Packages
            100 /var/lib/dpkg/status
    php7.3-curl:
      Installed: 7.3.11-1~deb10u1
      Candidate: 7.3.11-1~deb10u1
      Version table:
     *** 7.3.11-1~deb10u1 500
            500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
            100 /var/lib/dpkg/status
         7.3.4-2 500
            500 http://mirror.transip.net/debian/debian buster/main amd64 Packages
    Code:
    [email protected]:/# cat /etc/debian_version
    10.1
     
    Last edited: Nov 3, 2019

Share This Page