Symptoms
Site cannot be published, the following error is shown in Sitebuilder Wizard:
The site has been published with errors. Cannot update modules data.
Site can not be opened - 500 internal server error shown.
- If hosted in NG cluster, a bunch of stuck processes for affected sites can be found and a lot of errors in site errors.log:
Error on LVE enter -7 LVE id (webspace_id)
Error on LVE enter -7 LVE id (webspace_id)
Cause
/var/www/vhosts/10/<id>/webspace/httpdocs/data/storage/sb_modules.php-journal
file that was not removed and does not have access permissions.
Resolution
Sitebuilder 4.5 updates SQLite database file sb_modules.php on the publishing host. File sb_modules.php-journal is created by SQLite at the start of a transaction and should be removed upon commit.
If this files were not removed site can not be published.
Find such files:
find /var/www/vhosts -iname 'sb_modules.php-journal' -size 0c
and delete them manually.
To avoid further issues apply solution from KB article #6466