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.

Topics - Devanshu

Pages: [1]

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 / 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/

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]