-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying script creating database with wrong charset that causing internal error in web interface #77
Comments
Hello, Can you try the new testing ? Thanks |
I did execute the command: Command line output:
Debug output: After install nothing happened. |
Hello, What is the result of the command |
The default MySQL server character set and collation are latin1 and latin1_swedish_ci , but you have to specify character sets according to official documentation I mentioned in first post https://manual.seafile.com/deploy/using_mysql/#prepare-mysql-databases and edit file in repo "scripts/install" https://github.com/YunoHost-Apps/seafile_ynh/blob/testing/scripts/install (line 98, 99, 100) |
Maybe you can try to backport on your install this fix on your instance to see if it fix the issue. The file that I modified is in |
Describe the bug
According to log file https://paste.yunohost.org/raw/keguceqobi a deploying script creating database with wrong charset. As a result uploading files with diacritic or cyrillic in names using the web interface causing an error
{"error": "Internal error. "}
Files without diacritic or cyrillic in names are not affected. Also, files uploaded using seafile client are uploaded correctly.
Context
Steps to reproduce
yunohost app install seafile
or
yunohost app install https://github.com/YunoHost-Apps/seafile_ynh/tree/testing --force
or by web browser:
su root
mysql
SHOW DATABASES;
SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = "ccnetdb";
SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = "seafiledb";
SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = "seahubdb";
Result of all 3 commands will be
latin1
Expected behavior
Detailed manual by deploying seafile with mysql is located here
Logs
https://paste.yunohost.org/raw/keguceqobi
The text was updated successfully, but these errors were encountered: