Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Devanshu

Pages: [1]
Can you do this operation in 2 steps -- 1) move it to /backups and then 2) move it to the sub-directory?

Yes I can move this way. But not directly to sub folder as mentioned in original post.
And in the confirmation dialog when we move file like you said, the double slash is also not there like shown in the dialog when file is moved to sub folder.

In fact, this is not a new problem. It is prevailing since quite long in CWP and remains unaddressed unfortunately.


There is a bug in the CWP file manager that if we try to move a file to a sub folder, it does not moves.
I have created zip of my sub folder installed Wordpress site at root folder itself.
Now when I try to move or copy this file in a sub folder, it does not move or gets copied there.

Refer snapshot below

PHP Selector / Re: PHPFPM 8.1.15 not getting build and activated
« on: May 02, 2023, 04:04:37 AM »
Is anyone else facing this issue. I am using Pro version.

Somehow, I suppose this is a bug as this sort of problem I faced long time back also. It would be nice if CWP support start considering this as bug rather than a paid support requirement. Taking these kind of issues as bug will only help in making the product better and more stable.

PHP Selector / Re: PHPFPM 8.1.15 not getting build and activated
« on: February 27, 2023, 04:54:30 AM »
PHP-FPM 7.4 (exact version 7.4.33) got installed. But it seems CWP does have some issue with PHP version 8 onwards. Even the normal PHP 8 onwards is not getting build. I have installed CWP pro 4-5 times on a fresh Digital ocean droplet on centos 8 and tried to install and activate PHP-FPM 8.1 latest version same number of times but have not been successful.

Note that, this problem is faced by me in free version of CWP also and that is why I opted for pro version. The PHP Version Switcher in free version does not work. It is not able to compile version 8 properly and not able to switch the php version 8.1.x

I think the CWP tech support team must look into this issue.

PHP Selector / PHPFPM 8.1.15 not getting build and activated
« on: February 26, 2023, 05:36:54 PM »
I am using pro version of CWP in centos 8 on digital ocean droplet. I installed CWP using command
sh cwp-el8-latest -p 8.1 -s yes
, thinking that it will install CWP with phpfpm 8.1 latest version.

But it did not do so. On dash board, I see as  PHP version: 5.6.37.
Secondly, In the PHP FPM selector, against PHP-FPM 8.1, I see "Not INstalled".

I tried to rebuild PHP FPM selecting 8.1.15, and it fails again as shown in log

Transaction Summary
Install 2 Packages

Total download size: 1.3 M
Installed size: 4.0 M
Downloading Packages:
(1/2): libsodium-1.0.18-2.el8.x86_64.rpm 673 kB/s | 162 kB 00:00
(2/2): libsodium-devel-1.0.18-2.el8.x86_64.rpm 3.3 MB/s | 1.1 MB 00:00
Total 1.4 MB/s | 1.3 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libsodium-1.0.18-2.el8.x86_64 1/2
Installing : libsodium-devel-1.0.18-2.el8.x86_64 2/2
Running scriptlet: libsodium-devel-1.0.18-2.el8.x86_64 2/2
Verifying : libsodium-1.0.18-2.el8.x86_64 1/2
Verifying : libsodium-devel-1.0.18-2.el8.x86_64 2/2

libsodium-1.0.18-2.el8.x86_64 libsodium-devel-1.0.18-2.el8.x86_64

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28505 100 28505 0 0 25565 0 0:00:01 0:00:01 --:--:-- 25587
/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.1/ line 9: /opt/alt/php-fpm81/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.1/ line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.1/ line 14: /opt/alt/php-fpm81/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /

Build Completed

Error:Can't add notification!

It seems there is some bug in CWP and is not able to install properly on centos 8.

Installation / PHP Version Switcher v2 not changing version
« on: December 05, 2021, 10:04:26 AM »
By default the version of PHP set is 5.6.37.
When I try to change the version to 7.4.26, the process does not gets complete. I have set it up on digital ocean. tried with centos 7 and centos 8 stream. But same problem happens. Following is the log.

#define PHP_SODIUM_ZSTR_TRUNCATE(zs, len) do { ZSTR_LEN(zs) = (len); } while(0)
/usr/local/src/libsodium-2.0.23/libsodium.c:4160:5: note: in expansion of macro 'PHP_SODIUM_ZSTR_TRUNCATE'
     PHP_SODIUM_ZSTR_TRUNCATE(msg, (size_t) msg_real_len);
/usr/local/src/libsodium-2.0.23/libsodium.c:4161:18: error: subscripted value is neither array nor pointer nor vector
     ZSTR_VAL(msg)[msg_real_len] = 0;
make: *** [Makefile:181: libsodium.lo] Error 1


And if I redo the above step of setting php version to 7.4.26 by deselecting the modules "sodium" and "argon2", I get following in log file. And on dashboard, still default php is shown as 5.6.37.

tail -f /var/log/php-rebuild.log
See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20131226/
Installing header files:           /usr/local/include/php/

Thanks @locvfx for this suggestion.
Although your solution may be time consuming in case of large email box sizes but it sounds interesting!

I will try to explore it out definitely along with some other options.

But one suggestion for CWP Support! I believe, this must be a very common and indispensable requirement for any user who is coming from cPanel paradigm. The support should at least provide a well documented and really detailed instruction with snapshots on how to do manual email migration. Feel quite disappointed as I am using Pro version of CWP.

Thanks for your tip.

I know this question has been asked previously in this forum. I referred the topic to manually import the email. But it did not work.

I believe the steps mentioned are not complete and does not clearly explain the purpose of steps. For example the step of running rsync command. When I ran the command, I got error in ssh panel as " No such file or directory". CWP support should mention that before running this command, one needs to create directory at target location.

Can someone on this forum please provide detailed exact steps to migrate ONLY emails from cPanel to CWP.

Also cPanel create mail folder at home directory of user but when I created email account from CWP, it created the mail folders in var folder. The account user will not have access to this var folder. And suppose my client wants to configure something at folder level for his emails, how would he get access to the email folders created in var folder.

I need urgent help on this. Kindly help.


Pages: [1]