To this day I have not encountered any problems.
And thanks to Nuxwin for the latest release !!
To this day I have not encountered any problems.
And thanks to Nuxwin for the latest release !!
So I looked again into the database and found that there were way to many fields with the utf8_general_ci collation to do it manually. So I opted out of the idea to do it manually and decided to try an automated way and watch out for any errors.
I did some reading and found a lot of opinions that apart from special characters (like the german ß / ss ) changing the collation from utf8_general_ci to utf8_unicode_ci should not be troublesome, since the field contents should stay the same (this is different than changing the collation from latin_xxx to utf8 often brings a lot of problems). So I went for it and tried it.
For now, I have not found any errors the site seems to be working properly AND I can use the LetsEncryptPlugin without any problems! I will continue to test the sites and i-mscp for any erros and will report back.
For others facing the same problem:
I found some nice posts on stackoverflow and finally this site (http://georgepavlides.info/con…abase-to-utf8_general_ci/)
1. I created a copy of the database (database_change)
and did the following in pma' sql query window
Note: the last string 'database_change' is the database name
This then will produce a sql command list to change the collation for every table/field in database
I copied this and entered it into another sql query window. The query affected 11 tables.
The the whole database was in utf8_unicode_ci collation. I then renamed the original database to 'database_backup' and renamed 'database_change' to 'database'
Thanks again for your help and input.
And yes as previously stated, we have been carrying the database for quite some time :D. Since the migration was a long time ago, I had forgotten.
I will change the collations manually and report back in a few days.
Best regards!
Thanks again for the fast answer.
To clarify:
- the ispcp global collation is utf8_unicode_ci
- letsencrypt table's collation is utf8_unicode_ci
- all other tables (admin, autoreplies_log, config, custom_menus, domain..., web_software_options) are utf8_general_ci
I hope the structure is clear now. And unfortunately, I do think that this collides with what you stated in your initial response about the collations
edit:
I looked into the tables and it seems that in all subtables there are varchar fields that use the utf8_general_ci collation and some that use utf8_unicode_ci.
When creating a structure only database dump, the fields using utf8_unicode_ci are stated explicitly as utf8_unicode_ci. The tables collation is just marked as utf8.
As an example you find the dump for the domain table.
hi,
thanks for the fast answer!
here is further info:
we currently (still) use imscp 1.37 on debian 7.11 (wheezy) with mysql 5.5.52.0 installed.
the database dump for let's encrypt showed (info is not complete, but should suffice I hope).
Unfortunately I must admit, that although the iscp table's 'global' collation is utf8_unicode_ci, all subtables but letsencrypt are set to utf8_general_ci. This may be due to the fact, that we have been carrying this db for quite some time...
Thanks again.
Hi all,
I am using i-MSCP 1.3.7 with Let's Encrypt 1.2. After installing and activating it, I switch to a customer panel -> domains -> Let's Encrypt and get:
Although I very well understand the error massage, I do not know wether it is a good idea to just log into PMA and change the collation. I have received this error also in the previous version.
Right now, I cannot use the plugin and need to run Certbot manually. I would like to change that and would appreciate your help.
Thanks in Advance!