Skip to content

Instantly share code, notes, and snippets.

@Strubbl
Strubbl / fix.md
Last active January 30, 2017 19:33 — forked from nicosomb/fix.md
Fix for wallabag 2.2 and SQLite

After upgrading wallabag to 2.2, if you use SQLite for database, you may have a blank page or an internal server error (error 500). It can be due to migrations which failed.

The migrations which failed are migrations which try to create new columns on tables.

To fix this problem, please execute these commands on your webserver:

    php bin/console doctrine:migration:execute 20161024212538 -e=prod
    php bin/console doctrine:migration:execute 20161106113822 -e=prod
$(function){
loader = setInterval( function(){
jQuery('#bodyContent').load( window.location.href + '#bodyContent' );
/*
* use '#bodyContent>*' selector for getting just the contents of #bodyContent
* but not the #bodyContent itself
* in addition: this will strip the script element as well, since we use a selector ;-)
*/
}, 300000 );
});