#1845  Cant access my new site
Closed
Ter opened 2 weeks ago

I have migrate onedev site from a windows server to docker. After I created my images and run container, I upgraded as upgrade guid, than restore database. Now the container can run, but cant access. And this is server.log's content: io.onedev.server.OneDev Maintenance in progress, waiting...

Robin Shen commented 2 weeks ago

Delete file maintenance in OneDev directory and try again.

Ter commented 2 weeks ago

Thanks, It has ran after I deleted maintenace.  But, when I migrate, I forgot to change my database. And I change it to mysql now, and there is a new issue: when I try to restore database, it throw some exceptions as below: Incorrect string value: '\xE5\xAD\x98\xE6\x94\xBE...' for column 'o_description' at row 1

Ter changed title 2 weeks ago
Previous Value Current Value
Cant access my new siter
Cant access my new site
Robin Shen commented 2 weeks ago

Please make sure your mysql database is using UTF8 encoding.

Robin Shen changed state to 'Closed' 2 weeks ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1845
Please wait...
Page is in error, reload to recover