Hodžův blog

24 Čvc

HowTo: Nextcloud – Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

# mysql -u root -p
MariaDB [(none)]> use nextcloud;
MariaDB [nextcloud]> set global innodb_large_prefix=on;
MariaDB [nextcloud]> set global innodb_file_format=Barracuda;
MariaDB [nextcloud]> quit;
# sudo -u www-data php occ maintenance:repair

Leave a Reply

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme