Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: senindiaonline on October 10, 2021, 05:19:18 AM
-
After last update cwp user panel starts a critical login issue. actually the issue can be bypassed by a techy user but all our customers are not so techy right?
lets discus,
Starts login by visiting https://server.example.com:2083/login/?acc=logon
Login gone smoothly and success full,
but after login its redirects to https://server.example.com/cwp_e3d7396697272981/user/ instead of https://server.example.com:2083/cwp_e3d7396697272981/user/
And the catch is if I just manually edit the url with :2083 then dashboard comes up and cwp user panel can be used. but our customers can't do that right they all are not a tech gig.
-
Hello
Please run this and try to login, and tell me what errors you see
tail -f /usr/local/cwp/php71/var/log/php-fpm*.log
-
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "NOT ICE: PHP message: PHP Notice: Undefined index: url in /usr/local/cwpsrv/var/ser vices/users/index.php on line 0"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "NOT ICE: PHP message: PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find t emplate "index.html" (looked into: /usr/local/cwpsrv/var/services/users/cwp_them e). in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php:226"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "Sta ck trace:"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#0 /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php(143): Twig_Lo ader_Filesystem->findTemplate('index.html')"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#1 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(269): Twig_Loader_F ilesystem->getCacheKey('index.html')"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#2 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(345): Twig_Environm ent->getTemplateClass('index.html')"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#3 /usr/local/cwpsrv/var/services/twig/lib/Twig/Environment.php(288): Twig_Environm ent->loadTemplate('index.html')"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#4 /usr/local/cwpsrv/var/services/users/index.php(0): Twig_Environment->render('ind ex.html', Array)"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: "#5 {main}"
[14-Oct-2021 08:31:39] WARNING: [pool senindi] child 4527 said into stderr: " t hrown in /usr/local/cwpsrv/var/services/twig/lib/Twig/Loader/Filesystem.php on l ine 226"
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-apprefer.log <==
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-bulkextr.log <==
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-cwpsrv.log <==
[10-Oct-2021 13:47:52] [pool cwpsrv] pid 24372
script_filename = /usr/local/cwpsrv/htdocs/admin/admin/index.php
[14-Oct-2021 08:30:44] [pool cwpsrv] pid 2539
script_filename = /usr/local/cwpsrv/htdocs/admin/admin/index.php
[0x00007f894e41fdd0] shell_exec() /usr/local/cwpsrv/htdocs/resources/admin/inclu de/functions/func_system.php:0
[0x00007f894e41fd40] ssh_exec() /usr/local/cwpsrv/htdocs/resources/admin/include /functions/func_system.php:0
[0x00007f894e41f980] autoSSL_HostnameV2() /usr/local/cwpsrv/htdocs/resources/adm in/include/functions/func_system.php:0
[0x00007f894e41e9f0] Hostname_SetNew() /usr/local/cwpsrv/htdocs/resources/admin/ modules/change_hostname.php:0
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-cwpsvc.log <==
[0x00007f8b71421a10] doImport() /usr/local/cwpsrv/var/services/pma/libraries/cla sses/Controllers/ImportController.php:635
[0x00007f8b7141e480] index() /usr/local/cwpsrv/var/services/pma/libraries/classe s/Routing.php:187
[0x00007f8b7141e140] callControllerForRoute() /usr/local/cwpsrv/var/services/pma /index.php:18
[26-Sep-2021 14:28:04] [pool cwpsvc] pid 27523
script_filename = /usr/local/cwpsrv/var/services/pma/index.php
[0x00007f1f33a21d90] extract() /usr/local/cwpsrv/var/services/pma/libraries/clas ses/Plugins/Import/ImportSql.php:130
[0x00007f1f33a21a10] doImport() /usr/local/cwpsrv/var/services/pma/libraries/cla sses/Controllers/ImportController.php:635
[0x00007f1f33a1e480] index() /usr/local/cwpsrv/var/services/pma/libraries/classe s/Routing.php:187
[0x00007f1f33a1e140] callControllerForRoute() /usr/local/cwpsrv/var/services/pma /index.php:18
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-dhrubajy.log <==
[14-Jul-2021 19:02:29] [pool dhrubajy] pid 21256
script_filename = /usr/local/cwpsrv/var/services/users/dhrubajy/dhrubajy/index.p hp
[0x00007f81f7e21510] curl_exec() /usr/local/cwpsrv/var/services/user_files/modul es/cwp_framework/legacy/ApliUser.php:0
[0x00007f81f7e21220] sencurl() /usr/local/cwpsrv/var/services/user_files/modules /letsencrypt/index.php:0
[0x00007f81f7e20e30] addSSL() /usr/local/cwpsrv/var/services/user_files/modules/ letsencrypt/index.php:0
[0x00007f81f7e20c10] router() /usr/local/cwpsrv/var/services/user_files/modules/ letsencrypt/index.php:0
[0x00007f81f7e20b90] __construct() /usr/local/cwpsrv/var/services/user_files/mod ules/letsencrypt.php:0
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-dhruba.log <==
script_filename = /usr/local/cwpsrv/var/services/users/dhruba/dhruba/index.php
[0x00007fb7f5824740] shell_exec() /usr/local/cwpsrv/var/services/user_files/modu les/filemanager.php:0
[10-Aug-2021 12:59:16] [pool dhruba] pid 3225
script_filename = /usr/local/cwpsrv/var/services/users/dhruba/dhruba/index.php
[0x00007f8b71422d00] curl_exec() /usr/local/cwpsrv/var/services/user_files/modul es/cwp_framework/legacy/ApliUser.php:0
[0x00007f8b71422a10] sencurl() /usr/local/cwpsrv/var/services/user_files/modules /domains/index.php:0
[0x00007f8b71422480] addSubDomain() /usr/local/cwpsrv/var/services/user_files/mo dules/domains/index.php:0
[0x00007f8b71422260] router() /usr/local/cwpsrv/var/services/user_files/modules/ domains/index.php:0
[0x00007f8b714221c0] __construct() /usr/local/cwpsrv/var/services/user_files/mod ules/subdomains.php:0
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-lyricspa.log <==
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-rucciin.log <==
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-senindi.log <==
[0x00007f003e0249c0] parsePrimaryExpression() /usr/local/cwpsrv/var/services/twi g/lib/Twig/ExpressionParser.php:92
[0x00007f003e024710] getPrimary() /usr/local/cwpsrv/var/services/twig/lib/Twig/E xpressionParser.php:45
[0x00007f003e024320] parseExpression() /usr/local/cwpsrv/var/services/twig/lib/T wig/TokenParser/If.php:31
[0x00007f003e023eb0] parse() /usr/local/cwpsrv/var/services/twig/lib/Twig/Parser .php:166
[0x00007f003e023740] subparse() /usr/local/cwpsrv/var/services/twig/lib/Twig/Par ser.php:79
[0x00007f003e0230c0] parse() /usr/local/cwpsrv/var/services/twig/lib/Twig/Enviro nment.php:512
[0x00007f003e022fe0] parse() /usr/local/cwpsrv/var/services/twig/lib/Twig/Enviro nment.php:544
[0x00007f003e022e00] compileSource() /usr/local/cwpsrv/var/services/twig/lib/Twi g/Environment.php:363
[0x00007f003e022a10] loadTemplate() /usr/local/cwpsrv/var/services/twig/lib/Twig /Environment.php:288
[0x00007f003e022980] render() /usr/local/cwpsrv/var/services/users/index.php:0
==> /usr/local/cwp/php71/var/log/php-fpm-slowlog-ssinfosy.log <==
[0x00007f1efce21c10] router() /usr/local/cwpsrv/var/services/user_files/modules/ letsencrypt/index.php:0
[0x00007f1efce21b90] __construct() /usr/local/cwpsrv/var/services/user_files/mod ules/letsencrypt.php:0
[20-Sep-2021 13:37:35] [pool ssinfosy] pid 6078
script_filename = /usr/local/cwpsrv/var/services/users/ssinfosy/ssinfosy/index.p hp
[0x00007f1efce22360] curl_exec() /usr/local/cwpsrv/var/services/user_files/modul es/cwp_framework/legacy/ApliUser.php:0
[0x00007f1efce22070] sencurl() /usr/local/cwpsrv/var/services/user_files/modules /letsencrypt/index.php:0
[0x00007f1efce21e30] renewDomain() /usr/local/cwpsrv/var/services/user_files/mod ules/letsencrypt/index.php:0
[0x00007f1efce21c10] router() /usr/local/cwpsrv/var/services/user_files/modules/ letsencrypt/index.php:0
[0x00007f1efce21b90] __construct() /usr/local/cwpsrv/var/services/user_files/mod ules/letsencrypt.php:0
This is what I have got after running the command tail -f /usr/local/cwp/php71/var/log/php-fpm*.log
-
Hello there
Please write a support ticket (Free) and make mention of this ticket, I will gladly help you solve it
-
Hello there
Please write a support ticket (Free) and make mention of this ticket, I will gladly help you solve it
Hello Jose. I have the same issue, what should I do?
-
make sure you are on the latest version of cwp
-
make sure you are on the latest version of cwp
I am on the latest version 0.9.8.1094 and even performed the cwpsrv_rebuild_user_conf but still the issue persists.
-
Please create a billet and reference this forum hilo
-
Please create a billet and reference this forum hilo
Done. Support Ticket # 934424