Migrating from https://github.com/ImageMagick/ImageMagick failed #9092

Closed
opened 2025-11-02 08:29:03 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @wcb33 on GitHub (Jun 20, 2022).

Description

Only ImageMagick fialed.
The log

Migrate repository from https://github.com/ImageMagick/ImageMagick failed: updateRepository: update: Error 1366: Incorrect string value: '\xF0\x9F\xA7\x99\xE2\x80...' for column `gitea`.`repository`.`description` at row 1

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian

How are you running Gitea?

docker

Database

MySQL

Originally created by @wcb33 on GitHub (Jun 20, 2022). ### Description Only ImageMagick fialed. The log ``` Migrate repository from https://github.com/ImageMagick/ImageMagick failed: updateRepository: update: Error 1366: Incorrect string value: '\xF0\x9F\xA7\x99\xE2\x80...' for column `gitea`.`repository`.`description` at row 1 ``` ### Gitea Version 1.16.8 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Debian ### How are you running Gitea? docker ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 08:29:03 -06:00
Author
Owner

@lunny commented on GitHub (Jun 20, 2022):

confirm you are using MySQL with utf8mb4

@lunny commented on GitHub (Jun 20, 2022): confirm you are using MySQL with utf8mb4
Author
Owner

@wcb33 commented on GitHub (Jun 20, 2022):

It need edit by self?
图片

@wcb33 commented on GitHub (Jun 20, 2022): It need edit by self? ![图片](https://user-images.githubusercontent.com/76732400/174543473-870f3e7c-03e6-4094-a088-d22deee0a8a6.png)
Author
Owner

@wcb33 commented on GitHub (Jun 20, 2022):

add this command for mysql , it's OK.

command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']

Thins.

@wcb33 commented on GitHub (Jun 20, 2022): add this command for mysql , it's OK. ``` command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci'] ``` Thins.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9092