Closed Xaekai closed 4 years ago
Your database probably defaulted to utf8mb4
for this column, which would require 4 bytes per character maximum.
CyTube's schema is careful to only declare utf8mb4
on columns that explicitly need it (and shorten indexes on those columns to 227 chars).
Adding t.charset('utf8');
to the top of the table generator for media_metadata_cache
may fix it.
Affirmative. Local issue resolved. Issue should close on merger of PR.
To any who come to this later, don't forget to
npm run-script build-server
The only open PR right now is concerning CSS selectors on the userlist; did you intend to submit another PR to fix this?
Sure. I shall claim the task.
Fresh Ubuntu 18.04 LTS on Amazon EC2 Node package is Erbium (v12 LTS) from Nodesource repo [node v12.16.2 / npm v6.14.4] MariaDB is repo default: 10.1.44-MariaDB-0ubuntu0.18.04.1
In addition to this, the server does not detect the malformed database if started again.