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:
Maybe the download locations are not up to date..
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..
Share this post:
Responses (26)
-
Accepted Answer
Here is a bit of a necro-bump.
I've been playing round with the app as my son was looking for a website builder, and I can get the app working a lot better my making some mods.
1 - create a flexshare called "sites" with FTP access. I used "allusers" here and for the rest of the instructions. Modify accordingly.
2 - create a bind mount between here and /var/clearos/wordpress/sites:mount --bind /var/clearos/wordpress/sites /var/flexshare/shares/sites
3 - Change the ownership of everything under /var/clearos/wordpress/sites to apache:allusers:chown apache:allusers /var/clearos/wordpress/sites/ -R
4 - change permissions to 0660:chmod 0660 /var/clearos/wordpress/sites/ -R
5 - change permissions to 0666 of the one folder:chmod 0666 /var/clearos/wordpress/sites/
6 - in /etc/proftpd.d/flex-21.conf add default access to the CWD command on line 16 then restart proftpd.
7 - (optional), if you want to use a different PHP version in Wordpress and you have the PHP engines app installed, in /etc/httpd/conf.d/app-wordpress.conf, change it to:
Use 9070 for PHP 7.0, 9071 for PHP 7.1 or 9072 for PHP 7.3.Alias /wordpress /var/clearos/wordpress/sites
<Directory /var/clearos/wordpress/sites>
Require all granted
# added by njh
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9073"
</FilesMatch>
</Directory>
You may need to restart httpd (apache) during this somewhere.
With these mods you can directly update Wordpress from its control panel and install plugins. You have to use a user who has FTP access to your flexshare to do the updates.
If you want to hardcode the FTP user, add the following to your site's wp-settings.php:
Adjust the three parameters to suit.define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'host');
The big this is that I have no idea what this does for security. I am only playing round on my LAN. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
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. -
Accepted Answer
-
Accepted Answer
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! -
Accepted Answer
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! -
Accepted Answer
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. -
Accepted Answer
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! -
Accepted Answer
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. -
Accepted Answer
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) -
Accepted Answer
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. -
Accepted Answer
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). -
Accepted Answer
From the Wordpress Requirements page which I think you found, MariaDB 10 only seems to be recommended and not required. -
Accepted Answer
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! -
Accepted Answer
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. -
Accepted Answer
-
Accepted Answer
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. -
Accepted Answer
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. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
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... -
Accepted Answer
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.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »