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

Pages: 1 2 [3] 4
31
Information / Re: Love the panel, but...
« on: January 27, 2022, 02:11:10 PM »
I have a load of bugs and feature requests to add, but I have also  noticed there is not much activity at https://bugs.control-webpanel.com/

I am on the free tier so I don't expect support but I can report all of the issues I find etc.. if they will get looked at.

p.s. CWP has great potential but is a little rough around the edges.

32
Backup / Re: Can you add automatic backup to Amazon s3 and Wasabi?
« on: January 21, 2022, 12:18:33 PM »
+1

33
@namaste

Just a thought, can you re-apply the DKIM for the untrusted domain using:

Email --> DKIM Manager --> Add DKIM & SPF --> Add DKIM

34
I am not what your instructions above mean :(

I am using CWP as my name servers.

I am sending emails from my server.

These are example domains I am using (obviously) but both ns1 and ns2 resolve to my CWP servers real IP address. 31.x.x.x

The keys and records for DKIM are never created for ns1.mydomain.com or ns2.mydomain.com

The DNS zones are also not updated  with SPK/DKIM even though the Dkim & SPF mananger say they have been with green ticks.

Is this intentional because the nameservers are assumed to never send emails?

35
hi

My 2 nameservers which are run on my CWP server are eg:

  • ns1.mydomain.com
  • ns2.mydomain.com

I have DKIM and SPF enables and running and all my other domains including the hostname for the server have all green ticks in the DKIM & SPF Manager.

I looked in the following files/locations and found no reference to the nameserver domains

  • TruestedHosts File Location: /etc/opendkim/TrustedHosts
  • SigningTable File Location: /etc/opendkim/SigningTable
  • KeyTable File Location: /etc/opendkim/KeyTable
  • User Keys Files Location: /etc/opendkim/userkeys/

The Domains shown in the DKIM & SPF manager for the nameservers do not have entries for the following but still show as green
  • v=DKIM1
  • v=spf1


So my questions are:
  • Is this normal?
  • Is this a bug or should i report a feature request to get the nameserver scripts add these records in
  • Can I add these in manually for the time being and is there any instructions out there on how to generate the keys? Add the entries should be easy to do manually unless there is a script that does it all


36
CentOS-WebPanel GUI / Duplicate CWP root CRONs
« on: December 27, 2021, 04:25:01 PM »
Hi

I did a fresh install of CWP a few months ago and I have turned most of the options on. I am now configuring the crons to be quiet, but I noticed that there were some duplicate crons. I also did a fresh install of CWP on a test server about a week ago and this only has 2 crons in it.

Can someone tell me
  • What the default crons on a new install should be with everything turned on?
  • When CWP updates itself can it add cronjobs in and not remove old ones?
  • Which Crons should I remove?

List of crons on my live machine

you can see the duplicate entries for cron_autossl_all_domains.php however running at different times.
Code: [Select]
56 17 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
0 0 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php
33 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
00 01 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php

A newly installed CWP

Code: [Select]
22 16 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
0 0 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php

Thanks for any help

37
CentOS-WebPanel Bugs / Re: Github for Bugs and Features
« on: December 27, 2021, 12:37:24 PM »
Awesome, just registering now.

The bugs forum should be made read only and a sticky put at the top. I would assume the same for features.

The domain centos-webpanel.com does not have SPF configured so will go in a lot of people's SPAM folders and also subject to Grey Listing by cPanel servers (and others)

38
Other / Automatically subscribe forum posters
« on: December 27, 2021, 10:23:41 AM »
When I post to a thread I would like to be automatically subscribed because sometimes I forget to to tick the box and this is a standard way of doing things.

thanks

39
CentOS-WebPanel Bugs / Github for Bugs and Features
« on: December 27, 2021, 10:21:45 AM »
Will CWP Team consider using Github for tracking bugs and features. It would make it easier to search to see if something has already reported and issue.

thanks

40
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 05:57:09 PM »
  • can you access the usernames from phpmyadmin? Try creating databases in this.
  • The users should only be for the databases, mail I think is stored as files? You should just be able to copy the whole email repo from one account to another (FTP or file manager). https://doc.dovecot.org/admin_manual/migrating_mailboxes/
  • is it an issue with the username starting with an underscore? I am sure i read somewhere the underscore is an invalid character to start the username
  • Is it a permissions thing?

If i think of anything else I will let you know.

41
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 04:52:53 PM »
I found an easy way to delete the users

  • Goto (CWP Admin --> SQL Services --> phpMyAdmin --> Users Tab)
  • Select the users you don't want
  • Scroll down to 'Remove selected user accounts'
  • Click Go

This will delete the mysql users with no issue. Doing this by the SSH will have the same outcome.

@Radical Redemption: thansk for the feedback.

42
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 04:35:37 PM »
Any chance you can give me the MySQL commands, I am a little new to Linux and I want to make sure I do the right thing.

It could be a issue with how the GUI checks the supplied command before running the command line.

43
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 04:32:26 PM »
Hi

I have a very similiar issue. When i imported my accounts it created multiple users for the same database but the only difference was the allowed host.

I can see these users in the CWP admin MySQL manager and when i try and delete them I get the error

Code: [Select]
Error
Invalid System User

Did you find a solution?

thanks

44
Installation / Re: No way to backup CWP settings?
« on: December 22, 2021, 12:59:36 PM »
Hi,

I know this is an old topic but it is still valid.

I would like to see an option in the GUI to backup the servers settings and it would be better if this could be made part of the 'NEW Backup beta'. Perhaps where you select 'By account' or 'Per Package' you could have another option called 'Server Settings'

To backup I would have to goto (CWP Admin --> SQL Services --> phpMyAdmin) and export the tables root_cpmigrations and root_cwp.

Questions

  • I am not sure about root_cpmigrations, Does this need backing up or is it a temporary holding location?
  • Do we not need to backup the folder /etc/ aswell for all the other plugin/package settings?
  • Is there anything else that needs backing up?

A wiki article would be great :)

Thanks

45
MySQL / Configure InnoDB as default engine but my.cnf is empty
« on: December 19, 2021, 04:15:07 PM »
I want to use InnoDB as my default database engine because it is more resilient to crashes and other things.

I know I can just add the following to my.cnf file

Code: [Select]
default-storage-engine=InnoDB
But I also need to configure the InnoDB engine.

However I expected all of the InnoDB database (and other) settings to be present in my.cnf but the file is practically blank.

I dont know if this is a bug.

Code: [Select]
#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]
 
#
# include *.cnf from the config directory
#
!includedir /etc/my.cnf.d



  • Should this file have some default settings in it?
  • is the default database engine setup by CWP InnoDB or is it MyISAM?
  • Does anyone have a my.cnf configured with InnoDB settings?

I am not an expert in database architecture.

I think this file should be updated by the CWP team with some basic settings. I do understand there are many different setups but a baseline would be useful. Xampp and cPanel manage to do this.

Any help would be appreciated (explanations/my.cnf file/tutorial on what next)

shoulders

Pages: 1 2 [3] 4