I was doing a completely blank install. New empty database and new d8beta2 files. All files and the root dir owned by apache (who runs the httpd also). Initial setup runs great, I choose "Deutschland" as region and german language.
So far everything went fine.
Then I activated all modules from core except
- Activity tracker
- Ban
- Statistics
- Syslog
and all modules from the fields section. Also REST and serialization.
Fine.
Then I went to update.php. Drupal told me, there are about 8 updates needed. I run the update and got the following (german) error message:
Ein AJAX-HTTP-Fehler ist aufgetreten.
HTTP-Rückgabe-Code: 500
Im Folgenden finden Sie Debugging-Informationen.
Pfad: /update.php/batch?id=6&op=do_nojs&op=do
Statustext: Internal Server Error
Antworttext: {}
What means that there was a http 500 returned and an empty JSON result.
More information on the error page was:
The update process was aborted prematurely while running update #0 - Update entity definitions in system.module. All errors have been logged. You may need to check the watchdog database table manually.
And in the watchdog i find this:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'revision_log' in 'where clause': SELECT COUNT(*) AS expression FROM (SELECT DISTINCT t.nid AS nid, 1 AS expression FROM {node_field_data} t WHERE (revision_log IS NOT NULL ) LIMIT 1 OFFSET 0) subquery; Array ( ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->countFieldData() (Zeile 1757 von /var/www/vhosts/d8/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Maybe this error arises because off my empty node table. I'll try to setup some content.
Best regards,
Rainer from proxiss
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Auswahl_009.png | 390.73 KB | zuernbernhard |
Comments
Comment #1
proxiss commentedBoha, now I tried to add a "page" content and got this:
So I'll restore my blank install and start over again.
Comment #2
proxiss commentedOk, I restored back to the blank install with the modules activated as described above.
Then I added a "page" -> worked.
Then I visited the reports and found that I should update.php.
There was
And finally it failed like above. But this time I can insert new "page" nodes.
Regards
Rainer fro proxiss
Comment #3
NagareHoshi commentedTry to change the default language in Configuration>Regional settings and relogin to english interface.
I had the same problem, but when I changed the language to english, everything worked fine.
Comment #4
sachbearbeiter commentedsame problem - changed back to english - updating was successful - thanks for the tip ...
but i would say: this is a major problem ...
Comment #5
FrenchBarbu commentedHi,
Same problem here. All works fine until i do the updates.
Comment #6
fgmActually, the update appears to be successful, but the need for an update is still present with the same changes being requested when the default language is reset to non-english (french in my case).
On (site)/en/update.php/selection :
But on (site)/fr/update.php/selection :
Comment #7
大鹏 commentedi have the same problem , I changed the language to english,it's works.
Comment #8
beatnbite commentedI had the same problem with Drupal 8 beta 3 (Russian selected during installation).
Added English and made it the default language - the problem has gone away.
Comment #9
pavelculacov commentedSame problem with russian language, english no update available.
But if I update site in english and no update available, and change back to russian, Site will work stable ?!?! Who know?
Comment #10
pavelculacov commentedI tested some interesting.
Install drupal 8 minimum module.
If enable module(taxonomy) in other language, not in english, for example russian, default language is russian . And run update.php i have updates in both languages(english and russian) and error is the same.
Comment #11
amateescu commentedDuplicate of #2363099: Using translated field definition descriptions in entity schema results in different schema definitions, resulting in update.php changes.
Comment #12
daniel wentsch commentedSame problem with German as a default language. Switching to English, running updates and then switching back to German seemed to work.
Update: I was wrong. Soon after switching back to German as a default language again there were updates available that failed with above said AJAX error.
Comment #13
zuernbernhard commentedIn SqlContentEntityStorage::countFieldData the wrong table is used ... (see Screenshot).