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

Pages: [1] 2 3
1
CentOS Configuration / CentOS 10 - support
« on: March 14, 2025, 05:09:57 PM »
Hello,

I want to ask if the platform supports CentOS - 10?
Or should I install CentOS - 9 on the new server?
Please, if you know anything about this, write a comment.

2
Backup / Re: Restore CWP7 pro from weekly.
« on: March 03, 2025, 07:05:36 PM »
Thanks. i fix my problem for about 5 seconds.
I just put the old password to  the user from $config['db_dsnw'].

All work now

3
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 07:04:10 PM »
It was a 5 seconds fix.

I just change the new database password with the old i copy it from the $config['db_dsnw'],.
So simple solution.

4
Backup / Re: Restore CWP7 pro from weekly.
« on: March 03, 2025, 06:10:26 PM »
CWP's internal backup system is good for filesystem-level restores, especially if clients shoot themselves in the foot. Also MySQL (MariaDB) version backups so you can roll back a DB to a previous state. But if you need to roll back the whole system, a snapshot/system image is a better choice. Are you doing snapshots of your VM/VPS/bare metal server?

Well, please how to do this from the console is there a way ? Because does not work from main panel.
I didnt activate New Backup system.
So how to restore DB to previous state ?


5
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 05:25:45 PM »
https://www.alphagnu.com/topic/33-update-cwp-roundcube-mail-version-158-%E2%80%93-control-web-panel/
(change to 1.5.9, current CWP compatible LTS version)

Thank you for trying to help me.
I did what you said and not working.
My only option is now to restore databases and files.


6
Backup / Re: Restore CWP7 pro from weekly.
« on: March 03, 2025, 05:23:45 PM »
Hello, i dont need whole system.
Just databases and user files.
i just need to know how to do it.
Doesn't work from main cwp panel.


Please help me out.

7
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 04:38:21 PM »
This line is on roundcube config file.
$config['db_dsnw'] = 'mysql://ridha_roun288:9pS750@6(g@localhost/ridha_roun288';


8
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 04:34:46 PM »
There was no user added to this database.
https://gyazo.com/c90e7a3a93fcb559b0438e1e88f68505

I added user ridha_roun288 to this database, but it set a new password.
So can at least someone tell me where to set the new password in a propper way ?
It may be a solution.

9
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 04:19:01 PM »
And my every website stopp working :(

Website fixed.

10
Backup / Restore CWP7 pro from weekly.
« on: March 03, 2025, 04:05:13 PM »
Hello,
I did a massive mistakes and i need to restore my files from backup.
I did try from the CWP panel but noting happen.
Is there a way to restore from console or a way i can watch the progress ?

Please my websites stop working.

11
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 03:46:55 PM »
And my every website stopp working :(

12
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 03:45:33 PM »
I used curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash
Then i did try install roundcube again.
Now its even worst.

[root@server src]# tar xf roundcubemail-1.5.8-complete.tar.gz
[root@server src]# cd  roundcubemail-1.5.8
[root@server roundcubemail-1.5.8]# sed -i "s@\/usr\/bin\/env php@\/usr\/bin\/env \/usr\/local\/cwp\/php71\/bin\/php@g" /usr/local/src/roundcubemail-1.5.8/bin/installto.sh
[root@server roundcubemail-1.5.8]# sed -i "s@\php bin@\/usr\/local\/cwp\/php71\/bin\/php bin@g" /usr/local/src/roundcubemail-1.5.8/bin/installto.sh
[root@server roundcubemail-1.5.8]# bin/installto.sh /usr/local/cwpsrv/var/services/roundcube
PHP Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: cannot open shared object file: No such file or directory)) in Unknown on line 0
Target installation already in version 1.5.8. Do you want to update again? (y/N)
y
Copying files to target location..../
installto.sh
.htaccess.new
done.

NOTICE: New .htaccess file saved as .htaccess.new.

Running update script at target...
PHP Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: cannot open shared object file: No such file or directory)) in Unknown on line 0
Executing database schema update.
ERROR: SQLSTATE[HY000] [1045] Access denied for user 'ridha_roun288'@'localhost' (using password: YES)
ERROR: Failed to connect to database
All done.
[root@server roundcubemail-1.5.8]#

13
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 02:52:55 PM »
The thing i, this is a database name -> ridha_roun288 not an user.
Or maybe initial install create this user with same name as the database.

14
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 02:45:53 PM »
Have you updated your config to reflect the correct username, password -- DB credentials? -

I have not.
I uploaded just database. When uploaded original database  there was no error on ridha_roun288

Haven't touch anything.

15
MySQL / Re: Help restore rouncube mysql.
« on: March 03, 2025, 02:43:00 PM »
 Import has been successfully finished, 21 queries executed. (mysql.initial.sql)
Error

SQL query: Copy

-- Table structure for table `session`

CREATE TABLE `session` (
 `sess_id` varchar(128) NOT NULL,
 `changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
 `ip` varchar(40) NOT NULL,
 `vars` mediumtext NOT NULL,
 PRIMARY KEY(`sess_id`),
 INDEX `changed_index` (`changed`)
) ROW_FORMAT=DYNAMIC ENGINE=INNODB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

MySQL said: Documentation
#1046 - No database selected

That is with phpmyadmin.

Pages: [1] 2 3