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

Pages: 1 ... 22 23 [24] 25 26 ... 99
346
CentOS 7 Problems / Re: Lost roundcube database
« on: December 19, 2024, 10:02:57 PM »
If you follow this guide to update to 1.5.9 (change all references from 1.5.8 to 1.5.9):
https://www.alphagnu.com/topic/33-update-cwp-roundcube-mail-version-158-%E2%80%93-control-web-panel/
The roundcube tarball comes with:
/SQL/mysql.initial.sql

347
How to / Re: Increase /root Partition in CWP?
« on: December 18, 2024, 08:08:46 PM »
Consider periodically looking at your log files and truncating them to zero bytes:
https://blog.alphagnu.com/how-to-clean-all-log-files-in-cwp-control-webpanel-to-gain-disk-space/

Or better still, set up logrotate to keep them at a manageable size.

348
Apache / Re: Stop Apache from opening file
« on: December 18, 2024, 08:04:46 PM »
I think you're on the right track, but maybe set it more broadly?
Code: [Select]
DefaultType application/octet-stream
Or did you try the Content-Disposition header?
Code: [Select]
<filesMatch "^([^.]+)$">
Header set Content-Disposition "attachment"
</filesMatch>

349
CentOS 7 Problems / Re: Lost roundcube database
« on: December 18, 2024, 07:58:01 PM »
Do you have backups enabled? If so, you should have sqldumps available to restore:
Code: [Select]
ls -al /backup/mysql/dailySo you should have something like this:
Code: [Select]
-rw-r--r--. 1 root root   591608 Dec 16  2021 roundcube.sql
-rw-r--r--. 1 root root   251495 Dec 18 03:29 roundcube.sql.gz

350
CentOS-WebPanel Bugs / Re: CentOS 9 stream CWP installation problem
« on: December 17, 2024, 06:19:47 PM »
Going back to your thread title, hopefully you are not trying to use CentOS 9 Stream... We are recommending AlmaLinux 9 for production server use!

351
Sorry, I'm still in the conservative EL8 camp. Maybe I can spin up an EL9 VM and give it a go, but you're still ahead of me...

352
CentOS-WebPanel Bugs / Re: CentOS 9 stream CWP installation problem
« on: December 16, 2024, 04:57:08 PM »
Start over with a fresh installation and run CWP migration to move the sites over. (It will be faster than trying to troubleshoot a broken installation.)

353
How to / Re: Increase /root Partition in CWP?
« on: December 16, 2024, 12:34:39 AM »
I'm not sure I could give you a boilerplate recipe you could blindly follow... I think this is a case where you really, actually need to know what you are doing.

354
How to / Re: Increase /root Partition in CWP?
« on: December 14, 2024, 07:01:50 PM »
One system I manage uses traditional partitions, therefore fdisk and growpart are needed:
https://thelinuxcode.com/extend-xfs-filesystem-linux-without-lvm/


But other systems I manage use LVM, so this is a good guide:
https://sleeplessbeastie.eu/2020/04/22/how-to-expand-an-existing-xfs-filesystem-on-lvm-logical-volume/

355
How to / Re: Increase /root Partition in CWP?
« on: December 14, 2024, 04:28:49 AM »
I have to do this periodically when my customers run their disk usage up -- constant upward growth in disk space due to never emptying trash, hoarding e-mails, etc. That's a decent guide you posted, but more details can be necessary. Good to test on a local copy before you commit to doing it on a remote VM. And yes, always snapshot first, and/or a full backup image of your VM!

356
Updates / Re: Notification: Available updates - SECURITY ISSUE
« on: December 13, 2024, 04:32:08 PM »
Sing with me now:
99 bugs in the software... you take one down, fix it around, 105 bugs in the software...

357
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: December 10, 2024, 10:18:21 PM »
I would just follow Sandeep's full set of steps in the linked forum post. (It will remove MariaDB 10.4 and should take you to 10.11.9).

358
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: December 10, 2024, 07:43:27 PM »
Oh, and I am referencing from my notes that you should do a full reboot of the server after the MariaDB upgrade. Since CWP also lives in the DB, it gets a little confused (postfix, roundcube are also DB-reliant).

359
CentOS-WebPanel GUI / Re: Document Root of Main Domain
« on: December 10, 2024, 07:41:24 PM »
Yes, you must edit the Apache vhost conf (or Nginx if you use that).
Webserver Settings > WebServer Conf Editor > Apache tab > /usr/local/apache/conf.d/vhosts/
Then set it as immutable so it doesn't get blown away on a future update:
Code: [Select]
chattr +i /usr/local/apache/conf.d/vhosts/blah.com.ssl.conf(One of my customers runs a Drupal scaffold install, so their site root is /home/user/public_html/web -- so I set this for them in the Nginx vhost conf file.)

360
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: December 10, 2024, 02:50:46 PM »
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/#comment-25
Probably your missing step is:
Code: [Select]
systemctl stop mariadb mysql mysqld
systemctl disable mariadb
rpm --nodeps -ev MariaDB-server
And note that 10.10 is already EOL. You should look to 10.11 LTS -- good through Feb 2028:
https://endoflife.date/mariadb

Pages: 1 ... 22 23 [24] 25 26 ... 99