Forums

Resolved
0 votes
Is the wordpress not maintained? If you click download a certain wordpress version you'll get a error. There are a lot of negative reports in the review section. This is not a good for the image of ClearOS..

The error:


Ooooops: exception 'clearos\apps\base\Validation_Exception' with message 'Command execution failed.' in /usr/clearos/apps/base/libraries/Shell.php:160 Stack trace: #0 /usr/clearos/apps/wordpress/libraries/Wordpress.php(619): clearos\apps\base\Shell->execute('/usr/bin/wget', 'https://wordpre...', false, Array) #1 /usr/clearos/apps/wordpress/controllers/version.php(65): clearos\apps\wordpress\Wordpress->download_version('latest.zip') #2 [internal function]: Version->download('latest.zip') #3 /usr/clearos/framework/system/core/CodeIgniter.php(535): call_user_func_array(Array, Array) #4 /usr/clearos/framework/htdocs/app/index.php(224): require_once('/usr/clearos/fr...') #5 {main}


Maybe the download locations are not up to date..
Thursday, August 01 2019, 03:16 PM
Share this post:
Responses (25)
  • Accepted Answer

    Sunday, August 18 2019, 08:09 AM - #Permalink
    Resolved
    0 votes
    With the "PHP Engine app" from the Marketplace you can successfully install WordPress. I have done the basic setup and it seems to work fine so far.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 07:54 PM - #Permalink
    Resolved
    0 votes
    Thank you for your suggestions again! I'll have a look.

    There is also a official Joomla Docker container. It would be so cool if we can just install the Joomla / Wordpress container and host our websites this way. Hint @Dave! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 05:20 PM - #Permalink
    Resolved
    0 votes
    Eh, I don't think you need a book for Joomla, what with all of the neat extensions they have available. Some of them are worth paying for if you're doing a business website. You get better support and a better app (for the most part, but not true in all scenarios). One Joomla extension that's free that I would recommend is Akeeba Backup. It allows for backup and restoring of your site. There's also template software out there that's called Artisteer that's really good. I've purchased it in the past and it will import and export Joomla and Wordpress templates to work with your site. It's not very expensive either.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 03:36 PM - #Permalink
    Resolved
    0 votes
    Sorry for double posting. The site is really acting weird with my browser (Safari).
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 03:32 PM - #Permalink
    Resolved
    0 votes
    Hi Dirk, thank you for your suggestion.

    Yes Joomla is also a option! I looked into this years ago. I have a book about Joomla stuff on my bookshelf (old). Building a website with Wordpress or Joomla is a wish that I have for long time. I know ClearCenter / ClearFoundation is running on Joomla. I'm going to investigate this option. Here a picture!
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 03:31 PM - #Permalink
    Resolved
    0 votes
    Hi Dirk, thank you for your suggestion.

    Yes Joomla is also a option! I looked into this years ago. I have a book about Joomla stuff on my bookshelf (old). Building a website with Wordpress or Joomla is a wish that I have for long time. I know ClearCenter / ClearFoundation is running on Joomla. I'm going to investigate this option. Here a picture!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 13 2019, 12:42 PM - #Permalink
    Resolved
    0 votes
    Have you looked into Joomla for developing your website? It works quite well with COS and its included packages of PHP, MySQL, MariaDB, and Apache. It's easy to configure by placing the installation files into your webroot (i.e. /var/www/html) and stepping through the configuration process by entering yourwebsitesname/administrator. Afterwards, you delete the folder called "installation" from your webroot. You can pick from a couple different default templates or import your own.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 12:18 PM - #Permalink
    Resolved
    0 votes
    No need to hurry. I used the app some time ago when it was working. You can setup a project within the wordpress app and access it via a link in the Wordpress app.

    I'm not sure if with the existence of docker these days app Wordpress has right to exist. I think a lot of developers use docker. There is even an official Wordpress Docker container.

    Official Wordpress Docker container

    I think it is for ClearCenter/ClearOS very important to add Docker support. I can't say it enough! :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 12:04 PM - #Permalink
    Resolved
    0 votes
    I am not sure about your test site. Do you have to create it first in the Web Server app or is it not setting up a conf file in /etc/httpd/conf.d?

    The other one seems like a bug that you could file at https://gitlab.com/clearos/clearfoundation/app-wordpress/issues.

    Note I have never used the app so don't know exactly what it is supposed to do and I may have limited time as I have not even got to the Kopano upgrade.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 11:57 AM - #Permalink
    Resolved
    0 votes
    also worth noting when trying to access the wordpress site it tries to access it via my wan address..

    another matter the link to the xtreemsolution.com site is not working.

    link to the clearOS packages on the xtreemsolution (not working)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 11:51 AM - #Permalink
    Resolved
    0 votes
    Hmmm, don't use unusual character during the setup of a new project in the wordpress app. The app doesn't like it.

    After installing the PHP engine app I can add a new project in wordpress app but accessing wordpress throws a error.

    Not Found

    The requested URL /wordpress/test_site/wp-admin was not found on this server.


    Not Found

    The requested URL /wordpress/test_site was not found on this server.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 11:13 AM - #Permalink
    Resolved
    0 votes
    Apparently it is a TeamIndia app so I have filed a couple of bugs to:
    - sort out the wget dependency (I prefer modifying the app to use curl rather than adding a requires of wget but it is not my app)
    - Sort out the versions presented in the webconfig. There is no trace of 4.9, 5.0 or 5.1, but 4.7 appears twice. I don't know if the built-in WP update mechanism works in ClearOS to automatically or manually update WP to the latest version of the branch. If it does, there is no point presenting both 4.7.4 and 4.7.5 (both of which should be 4.7.13 now).
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 10:41 AM - #Permalink
    Resolved
    0 votes
    Good catch again!

    Going to test a bit.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 12 2019, 09:01 AM - #Permalink
    Resolved
    0 votes
    From the Wordpress Requirements page which I think you found, MariaDB 10 only seems to be recommended and not required.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 09 2019, 01:16 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    PHP 5.6 isn't a problem. You can use the PHP engines app.


    Yes, good point!


    The bigger problem is MariaDB. Someone else on the forums followed a CentOS howto and upgraded to 10.x. You don't have to use the latest version of PHP. The only thing is that there is now a big jump from the highest version explicitly listed and the "latest" version. THis is where the app could do with some maintenance.


    Okay, I have a look when needed. I think that I don't going to use the 7.x version for more as network stuff. If I have some time I want to start a website that is the reason why I checked this app. I want to move to version 8 if everything what I use can be replaced. Like Docker, Overlayfs to mention a few features.

    I now focus on learning Javascript and the node.js runtime. Also I like to learn the react library and PatternFly framework. Yes a lot to learn!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 08 2019, 06:41 PM - #Permalink
    Resolved
    0 votes
    PHP 5.6 isn't a problem. You can use the PHP engines app. The bigger problem is MariaDB. Someone else on the forums followed a CentOS howto and upgraded to 10.x.

    You don't have to use the latest version of Wordpress. The only thing is that there is now a big jump from the highest version explicitly listed and the "latest" version. THis is where the app could do with some maintenance.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 08 2019, 12:29 PM - #Permalink
    Resolved
    0 votes
    I tried to edit my post but this stu**d forum won't let me. So I wanted to say the Wordpress app looks like a really nice app to build and test wordpress sites.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 08 2019, 12:24 PM - #Permalink
    Resolved
    0 votes
    Hi guys, thanks for the answers!

    First indeed wget was missing. I install it and that part is working. Now the biggest problem and the reason I think why it is not maintained. Wordpress needs minimaal version PHP 5.6.20 and it needs version 10.0+ of the MariaDB. ClearOS is running PHP 5.4.16 and MarieDB 5.5.60. So way to old to run Wordpress which is shame because it is the most used CMS.

    I think ClearOS needs to move distribrustion. Vote for Ubuntu! ;)

    Your server is running PHP version 5.4.16 but WordPress 5.2.2 requires at least 5.6.20


    Installed Packages
    Name : mariadb
    Arch : x86_64
    Epoch : 1
    Version : 5.5.60
    Release : 1.el7_5
    Size : 49 M
    Repo : installed
    From repo : clearos-centos-verified
    Summary : A community developed branch of MySQL
    URL : http://mariadb.org
    License : GPLv2 with exceptions and LGPLv2 and BSD
    Description : MariaDB is a community developed branch of MySQL.
    : MariaDB is a multi-user, multi-threaded SQL database server.
    : It is a client/server implementation consisting of a server daemon (mysqld)
    : and many different client programs and libraries. The base package
    : contains the standard MariaDB/MySQL client programs and generic MySQL files.


    Requirements
    To run WordPress we recommend your host supports the following:

    PHP version 7.3+
    MySQL version 5.6+ or MariaDB version 10.0+
    HTTPS support
    We recommend Apache and NGINX as the most robust servers with the most features for running WordPress, but any server that supports PHP and MySQL will do.

    Note: WordPress also works in legacy environments with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official end-of-life and as such may expose your site to security vulnerabilities.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 04 2019, 03:28 PM - #Permalink
    Resolved
    0 votes
    I saw that too. I was not sure if it was desirable or mandatory. I could also not quickly find out which versions of PHP and MariaDB were needed for the older versions of Wordpress.

    Having said that, I have a feeling Marcel's issue is a missing requires of wget. I'll have a look when I'm back home in a week or so, if I remember. If it is a missing requires, I'm not sure if the better fix is not to add the requires but to change using wget to using curl.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 04 2019, 02:25 PM - #Permalink
    Resolved
    0 votes
    From the WordPress website ...

    PHP version 7.3 or greater.
    MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
    HTTPS support
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, August 03 2019, 07:51 AM - #Permalink
    Resolved
    0 votes
    Can you check you have wget installed? I don't think it is installed by default. If that is the issue it would be better for the program to use curl, but I have a strong feeling that the program is no longer maintained as it is a bit of a jump from 4.8 to the latest.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 02 2019, 09:37 PM - #Permalink
    Resolved
    0 votes
    I think the webconfig lists the latest four version. immediately if you click the download link you get the error on a white screen which I mentioned in the first post.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 02 2019, 04:35 PM - #Permalink
    Resolved
    0 votes
    Which version of Wordpress? Does the latest require PHP 7.3 which we don't provide?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 01 2019, 03:34 PM - #Permalink
    Resolved
    0 votes
    Found something in "/var/log/system".


    Aug 1 17:04:08 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:04:08 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:04:08 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:04:08 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:04:08 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:04:08 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once
    Aug 1 17:04:14 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:04:14 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:04:14 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:04:14 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:04:14 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:04:14 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once
    Aug 1 17:04:27 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:04:27 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:04:27 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:04:27 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:04:27 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:04:27 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once
    Aug 1 17:04:38 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:04:38 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:04:38 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:04:38 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:04:38 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:04:38 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once
    Aug 1 17:14:31 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:14:31 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:14:31 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:14:31 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:14:31 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:14:31 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once
    Aug 1 17:30:52 voyager engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (160): Command execution failed.
    Aug 1 17:30:52 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/libraries/Wordpress.php (619): execute
    Aug 1 17:30:52 voyager engine: exception: debug backtrace: /usr/clearos/apps/wordpress/controllers/version.php (65): download_version
    Aug 1 17:30:52 voyager engine: exception: debug backtrace: GUI (0): download
    Aug 1 17:30:52 voyager engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
    Aug 1 17:30:52 voyager engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once


    Investigating...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 01 2019, 03:30 PM - #Permalink
    Resolved
    0 votes

    function get_versions()
    {
    $versions = array(
    array(
    'version' => 'latest',
    'download_url' => 'https://wordpress.org/latest.zip',
    'deletable' => FALSE,
    'size' => '',
    ),
    array(
    'version' => '4.8',
    'download_url' => 'https://wordpress.org/wordpress-4.8.zip',
    'deletable' => TRUE,
    'size' => '',
    ),
    array(
    'version' => '4.7.5',
    'download_url' => 'https://wordpress.org/wordpress-4.7.5.zip',
    'deletable' => TRUE,
    'size' => '',
    ),
    array(
    'version' => '4.7.4',
    'download_url' => 'https://wordpress.org/wordpress-4.7.4.zip',
    'deletable' => TRUE,
    'size' => '',
    ),
    );
    foreach ($versions as $key => $value) {
    $versions[$key]['file_name'] = basename($versions[$key]['download_url']);
    $versions[$key]['clearos_path'] = $this->get_wordpress_version_downloaded_path(basename($versions[$key]['download_url']));
    }
    return $versions;
    }



    It's something else the locations are working.
    The reply is currently minimized Show
Your Reply