You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Talk in Nextcloud 18 in WebGUI form 8.0.7 to 8.0.8 using this URL: https://[Server]/index.php/settings/apps/installed/spreed
Get Error Message:
Expected behaviour
Update Talk from 8.0.7 to 8.0.8
Actual behaviour
Error Message received:
Original Text:
Es ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden.
An exception occurred while executing 'CREATE INDEX tp_session_id ON oc_talk_participants (session_id)': SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Translation of the first two sentences:
An error occured during the request, We cannot proceed.
mysql -u root -p
[PW]
show variables like 'innodb_file_format';
SET GLOBAL innodb_file_format=Barracuda;
show variables like 'innodb_file_format';
show variables like 'innodb_file_per_table';
-> is on.
exit
cd /var/www/nextcloud
sudo -u www-data php occ maintenance:mode --on
systemctl mysql restart
mysql -u root -p
[PW]
ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
exit
Steps to reproduce
Expected behaviour
Update Talk from 8.0.7 to 8.0.8
Actual behaviour
Error Message received:
Original Text:
Es ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden.
An exception occurred while executing 'CREATE INDEX tp_session_id ON oc_talk_participants (session_id)': SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Translation of the first two sentences:
An error occured during the request, We cannot proceed.
-> I configured the server to use Barracuda DB format
https://docs.nextcloud.com/server/18/admin_manual/configuration_database/mysql_4byte_support.html
These are the commands I used
mysql -u root -p
[PW]
show variables like 'innodb_file_format';
SET GLOBAL innodb_file_format=Barracuda;
show variables like 'innodb_file_format';
show variables like 'innodb_file_per_table';
-> is on.
exit
cd /var/www/nextcloud
sudo -u www-data php occ maintenance:mode --on
systemctl mysql restart
mysql -u root -p
[PW]
ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
exit
sudo -u www-data php occ config:system:set mysql.utf8mb4 --type boolean --value="true"
sudo -u www-data php occ maintenance:repair
https://strobelstefan.org/?p=7501&unapproved=2923&moderation-hash=c942fc7ad2d783f7f59e400aa2dd8f46#comment-2923
$ sudo mysql -u root -p
MariaDB [(none)]> use nextcloud;
MariaDB [nextcloud]> set global innodb_large_prefix=on;
MariaDB [nextcloud]> set global innodb_file_format=Barracuda;
$ sudo -u www-data php occ maintenance:repair
cd /var/www/html/nextcloud
sudo -u www-data php occ maintenance:mode --off
Alle Antelope mit diesem Befehl ändern
ALTER TABLE
nextcloud
.oc_tablename
ROW_FORMAT=DYNAMIC, ALGORITHM=COPY;also:
ALTER TABLE
nextcloud
.oc_accounts
ROW_FORMAT=DYNAMIC, ALGORITHM=COPY;ALTER TABLE
nextcloud
.oc_activity
ROW_FORMAT=DYNAMIC, ALGORITHM=COPY;ALTER TABLE
nextcloud
.oc_activity_mq
ROW_FORMAT=DYNAMIC, ALGORITHM=COPY;ALTER TABLE
nextcloud
.oc_addressbookchanges
ROW_FORMAT=DYNAMIC, ALGORITHM=COPY;Check if now all tables are in Barracuda format. ... Everything is fine now.
Server configuration detail
Operating system: Linux 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64
Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)
Database: mysql 10.1.44
PHP version:
7.4.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, json, exif, mysqli, pdo_mysql, apc, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 18.0.3 - 18.0.3.0
Updated from an older Nextcloud/ownCloud or fresh install: 18.0.2
Where did you install Nextcloud from: https://nextcloud.com/
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: Ionos Blockstorage for data
Are you using encryption: true
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Operating system: Windows 10 Pro (not relevant to the issue)
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: