2021-08-06 18:03:18
2021-08-03 19:36:21
2021-08-03 19:33:32
176431
Hello !Friendica Support,
I tried to switch to the current develop, but it seems this did not work.
There was no output from bin/console dbstructure update, but when I run
and now running dots for a few minutes.
but
So I am sure something is wrong...
I tried to switch to the current develop, but it seems this did not work.
There was no output from bin/console dbstructure update, but when I run
bin/console postupdate
, I get:Überprüfe ausstehende Update-Aktionen
ALTER IGNORE TABLE `contact` DROP INDEX `dfrn-id`, DROP INDEX `issued-id`, MODIFY `duplex` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', MODIFY `site-pubkey` text COMMENT 'Deprecated', MODIFY `issued-id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Deprecated', MODIFY `dfrn-id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Deprecated', ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the contact url', MODIFY `aes_allow` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', MODIFY `ret-aes` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', ADD INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
Fehler 4047 beim Update der Datenbank aufgetreten
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
ALTER IGNORE TABLE `apcontact` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the apcontact url', ADD UNIQUE INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
Fehler 4047 beim Update der Datenbank aufgetreten
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
ALTER IGNORE TABLE `delayed-post` ADD `wid` int unsigned COMMENT 'Workerqueue id', ADD INDEX `wid` (`wid`), ADD FOREIGN KEY (`wid`) REFERENCES `workerqueue` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
Fehler 4047 beim Update der Datenbank aufgetreten
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
ALTER IGNORE TABLE `event` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the event uri', ADD INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
Fehler 4047 beim Update der Datenbank aufgetreten
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
ALTER IGNORE TABLE `fcontact` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the fcontact url', ADD UNIQUE INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
Fehler 4047 beim Update der Datenbank aufgetreten
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
Erledigt.
Ausstehende Post-Updates ausführen
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
and now running dots for a few minutes.
but
bin/console dbstructure dryrun
gives me:ALTER IGNORE TABLE `contact` DROP INDEX `dfrn-id`, DROP INDEX `issued-id`, MODIFY `duplex` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', MODIFY `site-pubkey` text COMMENT 'Deprecated', MODIFY `issued-id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Deprecated', MODIFY `dfrn-id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Deprecated', ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the contact url', MODIFY `aes_allow` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', MODIFY `ret-aes` boolean NOT NULL DEFAULT '0' COMMENT 'Deprecated', ADD INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
ALTER IGNORE TABLE `apcontact` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the apcontact url', ADD UNIQUE INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
ALTER IGNORE TABLE `delayed-post` ADD `wid` int unsigned COMMENT 'Workerqueue id', ADD INDEX `wid` (`wid`), ADD FOREIGN KEY (`wid`) REFERENCES `workerqueue` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
ALTER IGNORE TABLE `event` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the event uri', ADD INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
ALTER IGNORE TABLE `fcontact` ADD `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the fcontact url', ADD UNIQUE INDEX `uri-id` (`uri-id`), ADD FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE;
So I am sure something is wrong...
utzer (on squeet.me)
bin/console dbstructure update
again, which now shows:... show more
bin/console dbstructure update
again, which now shows:Thanks for any help.
cc @Admin (of friendica.utzer.de)@utzer
Michael Vogel
•InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
This is something with your system or the database. A quick search returned this here:
https://dba.stackexchange.com/questions/256427/unable-to-create-tables-with-row-format-compressed
utzer (on squeet.me)
•not using compressed, is that possible?
Michael Vogel
•utzer (on squeet.me)
bin/console dbstructure update
give nothingin/console dbstructure dryrun
gives:... show more
bin/console dbstructure update
give nothingin/console dbstructure dryrun
gives:and
bin/console postupdate
gives:utzer (on squeet.me)
Michael Vogel
•Please execute the SQL commands from the "dryrun" line by line in the MySQL console and report the errors.
utzer (on squeet.me) likes this.
utzer (on squeet.me)
•utzer (on squeet.me)
•utzer (on squeet.me)
Michael Vogel
•Hans Wolters likes this.
utzer (on squeet.me)
•According to this: https://blog.basilgohar.com/2019/11/10/upgrade-mariadb-table-row-formats-to-dynamic/
I did this:
and got no output, when I replace Compact with Dynamic in that query I get some list:
... show more
According to this: https://blog.basilgohar.com/2019/11/10/upgrade-mariadb-table-row-formats-to-dynamic/
I did this:
and got no output, when I replace Compact with Dynamic in that query I get some list:
Hans Wolters
•-> FROM information_schema.INNODB_SYS_TABLES
-> WHERE ROW_FORMAT IN('Redundant', 'Compact')
-> AND NAME NOT IN('SYS_DATAFILES', 'SYS_FOREIGN', 'SYS_FOREIGN_COLS', 'SYS_TABLESPACES', 'SYS_VIRTUAL', 'SYS_ZIP_DICT', 'SYS_ZIP_DICT_COLS');
Empty set (0.010 sec)
not here
utzer [Friendica] likes this.
utzer (on squeet.me)
•Hans Wolters
•utzer (on squeet.me)
read this again:
and got no output, when I replace Compact with Dynamic in that query I get some list:
😜
utzer (on squeet.me)
•I still get a white screen for death and I get many of this in my php error log:
... show more
I still get a white screen for death and I get many of this in my php error log:
I am back on stable and the database backup were both stable when I did the backup.
utzer (on squeet.me)
•I am back on stable and the database backup were both stable when I did the backup.I am back with the restored database from stable branch, restored together with the webroot.
As I wrote before I had to upgrade PHP, which is now 8.0.9 and was 7.x before, also mariadb was upgraded. So it is complicated.
utzer (on squeet.me)
•Michael Vogel
•utzer (on squeet.me)
•Michael Vogel
•utzer (on squeet.me)
•Hans Wolters
•Hans Wolters
•https://mariadb.com/kb/en/innodb-page-compression/
utzer (on squeet.me)
Michael Vogel
•Hans Wolters
•Hans Wolters
•I do hope they are not using it, it would be a penalty. The error you posted show you are using a compressed format. Did you create the database with defaults like this?
utzer (on squeet.me)
•utzer (on squeet.me)
•utzer (on squeet.me)
•For some reason I can not convert them. Anyone knows what the @ tables are and how to get them converted to Dynamic?
Michael Vogel
•`contact-relation`
utzer (on squeet.me) likes this.
utzer (on squeet.me)
•-
instead of the@002d
, maybe that is clear for you, but not for a N00b like me.utzer [Friendica]
•Michael Vogel likes this.
Michael Vogel
•utzer [Friendica] likes this.
utzer [Friendica]
•Michael Vogel likes this.