User Details
User Details
- User Since
- Jun 30 2019, 6:54 PM (362 w, 2 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Lkmorlan [ Global Accounts ]
Apr 16 2022
Apr 16 2022
Restricted Application added a project to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists: Performance-Team.
Today I was unable to rename a page. It was trying to insert into the logging table but that failed because log_id is NOT NULL but no default was set. I suspect it was caused by the same thing as my comment above, the wrong schema making some updates fail. (I rarely move pages, so I wouldn't notice until now.) The fix was this:
Apr 25 2020
Apr 25 2020
Lkmorlan added a comment to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists.
Solved: In my case, several sequences, functions, and a type where in schema "mediawiki" while the rest was in schema "public". I moved everything to "public" and the update script worked perfectly. Example commands:
Jun 30 2019
Jun 30 2019
Lkmorlan added a comment to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists.
I am seeing this error upgrading from 1.27 LTS to 1.31 LTS. PHP 7.2, PostgreSQL 9.6.14.
