Quantcast
Channel: Forums | InterWorx CP
Viewing all 900 articles
Browse latest View live

Can't generate private key

$
0
0
Hi all,

When clicking the generate private key button, the following error box pops up:

Quote:

"A System error has occurred
replyCode: 500
replyText: Generic Server Issue
replyData:
null"
Any idea how to get this fixed?

Regarding sub-domain

$
0
0
Hi,
How can I get Target directory of sub-domain using siteworx API's. Please show me one example for the same.

Thank you,
kiran

Regarding siteworx package

$
0
0
Hi,

How can I check SiteWorx Package details of currently logged in user (including package name) using SiteWorx API.
Please show me one example.


Thank you,
kiran upadhya

Regarding Files and Directory

$
0
0
Hi,
I have one php file & I wanted to run that file using interworx control pannel (ex: keeping my php file in some directory & calling that file ), how can I do that ?. What are the steps I have to follow & Please show me one example or documentation link.


Thank you,
kiran

(Mass) Import fails with DB error

$
0
0
Hi all, can anyone shed light on this error: ---Quote--- Failure Homedir: /home/domain, FTP account was imported : account, Database was imported : wp123, DB Error: unknown error GRANT SUPER ON *.* TO `import`@`%` [nativecode=1133 ** Can't find any matching row in the user table], Reverting...

Interworx Smarty update

$
0
0
Hi John, I'll test disabling it later. Right now I am more worrying about last nights IW update, as all our interworx panels are down :(

Some problem with Smarty afaict.

anybody else seing this?

Regarding .tpl file in plugin

$
0
0
Hi,
How can I perform API call (written in php) inside .tpl file ? I have following php code inside .tpl file & If I'm trying to run below code its showing this error 'A system error has occurred. Please try your request again in a few minutes. '.
Its because of SoapClient call. I don't know the proper way to use SoapClient inside the .tpl file, so please suggest me one good example.

{php}
class Test
{
public function authenticate($api_controller, $action, $input=null)
{
$key = array( ’email’ => ’siteworx@siteworx.com’,
’password’ => ’siteworxpass’,
’domain’ => ’example.com’ );
$client = new SoapClient( 'https://%%SERVERNAME%%:2443/soap?wsdl' );
if (!$input) {
$response = $client->route($key, $api_controller, $action);
}
else {
$response = $client->route($key, $api_controller, $action, $input);
}
return $response;
}


public function getSize()
{
$action = 'listAccountDetails';
$api_controller = '/siteworx/overview';
$response = $this->authenticate($api_controller, $action);
return $response['payload']['remaining_diskspace'];
<!-- It will return disk size ex 500MB -->
}
}
$control_panel = new Test();
print_r($control_panel->getSize());
{/php}




Thank you,
kiran

Softaculous sometimes has problems cloning sites + Solution

$
0
0
Hi all,

just wanted to let you know about an issue I have cleared with the Softcaulous support in case somebody else encounters this:

Here's our ticket:
Quote:

We have several servers runnning Softaculous and encounter a problem with wordpress cloning since a while. The problem occurs during the checking phase, the cloning process says "Checking the submitted data" and then gets stuck at exactly 95%, on all servers I have tested. We are running Soctaculous on Centos 6.9 or 7.3 machines with the latest Interworx panel.
and here's what they found:
Quote:

We were able to debug the issue.

Softaculous executes on /home/interworx/bin/php binary of Interworx panel. But this binary does not have user access. When commands such as clone, auto backup, auto upgrade, etc are executed as user, Softaculous step down as user and executes these commands.

Due to this, user does not have access to this binary in clone, hence we make use of the default php binary of the server.

Now on your server, both the binaries have a different PHP version and both require different ionCube Loaders to decode the files. This is causing the issue as Softaculous files are encoded according to the version of /home/interworx/bin/php binary and in clone, executed with a different binary having a different version which requires different version of ionCube Loader.

We'll make a fix for this in which we'll ask users about the PHP binary to be used. But this will take some time. Till then, please make both the PHP binaries on same PHP version and then check.
So, either keep your php on 5.6.30 (which is the current php-iworx version) or wait for a softaculous update if you also have this issue.

Cheers,
Michael

Lowering only specific DNS records TTL

$
0
0
Hi all,

there is this very old but still valid (I hope) great post about how to lower the TTL for all DNS records prior to a migration: http://forums.interworx.com/threads/...=9815#post9815

I am not a SQL guy at all, so my question is instead of
Code:

UPDATE dns_records SET ttl=200;
I would like to only change those TTL value, that are still on the default of 43200 seconds.

I know there is the CASE statement for SQL, but I can't write the correct SQL statement. In natural language it would be:
Code:

Update all DNS-Records to 200 IF they currently are 43200 ELSE do nothing
Can anybody help me with the correct statement?

Thanks,
Michael

Can't Get CLI To Work Properly

$
0
0
I'm trying to list all the zones from Siteworx CLI. I also need to add a bunch of A records. Here's the result:

Code:

siteworx -u -n -v -c Dns -a records --zone_id 72 -o json 
iw_action_name : This input is required

In that example I'm trying to list all the records for zone 72. What am I doing wrong? I try -h and it's not giving me any insight. Like I said, I also need to add A records. I have to do this all in non-interactive mode (-n).

Regarding InterWorx CLI

$
0
0
Hi,
I have installed 'interworx-cli' & logged in as siteworx user in shell, how can I get INTERWORX API KEY. What is the exact command which we need to enter in-order get INTERWORX API KEY.


In detail:
----------
When I logged in as a nodeworx, I will enter this command to get INTERWORX API KEY --> nodeworx -u -n -c APIKey -a listApikey
When I logged in as a siteworx then what is the command I need to enter to get INTERWORX API KEY ?


Thank you,
kiran

Regarding Plugin

$
0
0
Hello,


I have created the plug-in & after activating its not functioning properly. In the error log (/home/interworx/var/log/error.log) its showing below error, can you please tell me what error it is ? & also please suggest the solution for the same.


[Tue Jun 13 09:07:59 2017] [info] [client 172.17.0.2] Connection closed to child 0 with standard shutdown (server 172.17.0.2:2443)
[Tue Jun 13 09:07:59 2017] [info] [client 172.17.0.2] Connection to child 7 established (server 172.17.0.2:2443)
[Tue Jun 13 09:07:59 2017] [info] Seeding PRNG with 144 bytes of entropy
[Tue Jun 13 09:07:59 2017] [info] Initial (No.1) HTTPS request received for child 7 (server 172.17.0.2:2443)
[Tue Jun 13 09:08:00 2017] [error] [client 172.17.0.2] ERROR: /chroot/bin is a symlink, please point to the real directory
[Tue Jun 13 09:08:00 2017] [error] [client 172.17.0.2] ERROR: /chroot/bin is a symlink, please point to the real directory
[Tue Jun 13 09:08:00 2017] [error] [client 172.17.0.2] ERROR: /chroot/bin is a symlink, please point to the real directory
[Tue Jun 13 09:08:00 2017] [error] [client 172.17.0.2] ERROR: /chroot/bin is a symlink, please point to the real directory
[Tue Jun 13 09:08:00 2017] [error] [client 172.17.0.2] ERROR: /chroot/bin is a symlink, please point to the real directory




Regards,
kiran

Mail queue list manager

$
0
0
Hi!


My problem is that as I click the Mail queue list manager button, only a white sheet is loaded, the content is not. How to fix the problem?

setup cron using php -f (or g)

$
0
0
Hi

I thought I would post over setting up a cron path, so users find it easier as follows:
php -f /chroot/home/siteworx-name/yourdomain.url/html/path/to/cron.php
(you do not have to use /chroot, and some may not have /chroot, so maybe better to use /home/siteworx-name/yourdomain.url/html/path/to/cron.php)
so, if you need to setup a cron, and shown /usr/bin/php -f, please use above
I hope that helps a little
Many thanks
John

Automatic Update broke Interworx

$
0
0
Hello,

since last night our interworx CP isn't working anymore and shows the following error messages when being accessed:

Code:

FILE: /usr/local/interworx/include/Env/Abstract.php
LINE: 618
MESSAGE:

Uncaught IWorx_Exception_NotLoggedIn: Authentication Error (NodeWorx)

#0 /usr/local/interworx/include/Env/Abstract.php(603): Env_Abstract->_checkSession('NodeWorx')
#1 /usr/local/interworx/include/IW.php(274): Env_Abstract->getNodeWorxSession()
#2 /usr/local/interworx/include/View/Smarty/Nodeworx.php(45): IW::NW()
#3 /usr/local/interworx/include/Env/HTML.php(209): View_Smarty_Nodeworx->__construct('index')
#4 /usr/local/interworx/include/Ctrl/Abstract.php(65): Env_HTML->initView()
#5 /usr/local/interworx/include/Ctrl/Nodeworx/Abstract.php(45): Ctrl_Abstract->__construct()
#6 /usr/local/interworx/include/Ctrl/Nodeworx/Error.php(43): Ctrl_Nodeworx_Abstract->__construct()
#7 [internal function]: Ctrl_Nodeworx_Error->__construct()
#8 /usr/local/interworx/include/FrontController.php(345): ReflectionClass->newInstance()
#9 /usr/local/interworx/include/FrontController.php(147): FrontController->_invokeAction('Ctrl_Nodeworx_E...', 'unknownError', 'Syntax error in...')
#10 /usr/local/interworx/include/FrontController.php(252): FrontController->_route('Ctrl_Nodeworx_E...', 'unknownError', 'Syntax error in...')
#11 /usr/local/interworx/include/FrontController.php(123): FrontController->_handleUnknown(Object(SmartyCompilerException))
#12 /usr/local/interworx/html/index.php(37): FrontController->route('Ctrl_Nodeworx_I...', 'index')
#13 {main}

Since we didn't change anything at night it seems that automatic updates crashed everything.

I already wrote to the helpdesk but I often it takes very long until someone responds and since this problem could affect multiple Interworx-Users I decided to post this here too.

Kind regards,

Alexander Rusa

Multi PHP config

$
0
0
Hi,
After checking IW v6.x I want to know where are saved config files for each php version?

NodeWorx System Error

$
0
0
I haven't made any changes to InterWorx and have just let the updates auto install. But yesterday when I tried to login to NodeWorx I was getting a System error. I can't remember exactly what it was because NodeWorx isn't loading up anymore after doing a server reboot. But it had something to do with not being able to write to the disk. I've been using caching to the disk for one of the websites (through WordPress) and that seemed to increase in size rapidly on disk and went past the maximum I set for the SiteWorx account. I can only assume based on this I have run out of disk space?

I also disabled root login for SSH through InterWorx so I can't login with root to view logs and make some space. Is there any way to re-enable the root login for SSH?

Details:
CentOS 7.2

I've got the option to boot into rescue mode with Ubuntu and switch to root user. But I can't seem see any of the InterWorx content after I re-mount all the drives that it allows me to re-mount.

Apologies if this has already been covered off somewhere else but I did try a search but couldn't find any topic with this issue. Any help is appreciated.

Setup and use MultiPHP, including ioncube

$
0
0
Hi


Kudos to Justec and Interworx for developing multi php.


To use multi PHP versions in Interworx v6.0.4, you need to first install versions of PHP


yum install php54
yum install php55
yum install php56
yum install php70
yum install php71


restart apache


to use ioncube for the different versions, you need to download the ioncube files, and extract or transfer them (using php7 as example and please change your directories to those your server uses, but take note if 32 or 64 bit, if 32 bit it is lib, lib64 for 64 bit)


first


vi /etc/opt/remi/php70/php.d/ioncube.ini


;Enable ioncube extension module
zend_extension = /opt/remi/php70/root/usr/lib64/php/modules/ioncube_loader_lin_7.0.so


save


copy ioncube_loader_lin_7.0.so to /opt/remi/php70/root/usr/lib64/php/modules


restart apache


set a siteworx account to php 7, create a phpinfo.php file, and upload to hosting root, then reference phpinfo.php to check for ioncube (see pics)


do the same for all versions of php you have installed, changing the directories as required.


The exception are as follows:


if using php5.6, you can set siteworx to system php, so it uses php5.6 already setup or you can create as above


PHP7.1, from what I have read quickly, there does not appear to be a working ioncube at this time, but guess they will be working on this. Sorry if I am wrong.


I hope that helps a little


Many thanks


John
Attached Images
   

Hard Drive Failing - Need Game Plan Help

$
0
0
I have my main iworx server and my DNS cluster. I'm getting message in my main server console that "Your hard drive is failing" along with "Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors"

On the server is installed iworx with litespeed web server and cloudlinux. I have cloud backups of all accounts going off the server every night at midnight. I need to migrate to a safe server immediately! What's the quickest way to move all my settings from this server to the new one?

News & Announcements

$
0
0
Hi all,

Is it normal that I can't see any threads in "News & Announcements"? Just one sticky, nothing else...?!?

I just got back from a little time out and today I realized, that we are now at IW version 6.04. 6? rly? wtf? Why is/was there no big news, no party, nothing? Why 6 and not 5.2? I mean, MultiPHP is awesome but I am still suprised about the jump.
And I am surprised about the stealthy way this update happened.


Or is there someplace else where you all read about this and I am missing all the fun?

Cheers,

Michael
Viewing all 900 articles
Browse latest View live