Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating 2x? #2007

Closed
gerroon opened this issue May 2, 2016 · 17 comments
Closed

Updating 2x? #2007

gerroon opened this issue May 2, 2016 · 17 comments

Comments

@gerroon
Copy link

gerroon commented May 2, 2016

Hi

Can you please add updating for 2.x? I just did copy over to upgrade to 2.0.3 then all I was getting empty pages in the browser after the upgrade from 2.0.0 to 2.0.3

thanks

@nicosomb
Copy link
Member

nicosomb commented May 2, 2016

Hello @gerroon!

Is this documentation enough https://www.wallabag.org/pages/download-wallabag.html ?

@nicosomb
Copy link
Member

nicosomb commented May 2, 2016

I think #2011 will fix this issue.

@gerroon
Copy link
Author

gerroon commented May 2, 2016

@nicosomb

Thanks, but all I am again gettingis blank page after upgrade ;( If I revert back my site works again.

I am using apache (with a custom port) with sqlite

@gerroon
Copy link
Author

gerroon commented May 2, 2016

Hi

PLease check this error log for wallabag. I hope it helps

https://paste.debian.net/678948/

@tcitworld
Copy link
Member

Your webserver needs to own the directory where wallabag is installed and you need write access too.

@gerroon
Copy link
Author

gerroon commented May 2, 2016

@tcitworld

It is owned by www-data (on Debian). As I said, this web site works as is befoire the upgrade

@gerroon
Copy link
Author

gerroon commented May 2, 2016

Here are the permissions

drwxr-xr-x 5 www-data www-data 4.0K May 2 10:07 app/
drwxr-xr-x 2 www-data www-data 4.0K May 2 10:15 bin/
-rw-r--r-- 1 www-data www-data 3.3K May 2 10:07 build.xml
-rw-r--r-- 1 www-data www-data 400 Apr 11 19:54 Capfile
-rw-r--r-- 1 www-data www-data 6.4K May 2 10:07 CHANGELOG.md
-rw-r--r-- 1 www-data www-data 271 Apr 11 19:54 .composer-auth.json
-rw-r--r-- 1 www-data www-data 4.5K May 2 10:07 composer.json
-rw-r--r-- 1 www-data www-data 212K May 2 10:07 composer.lock
-rwxr-xr-x 1 www-data www-data 1.6M Apr 11 19:55 composer.phar*
-rw-r--r-- 1 www-data www-data 1.1K Apr 11 19:54 COPYING.md
-rw-r--r-- 1 www-data www-data 282 Apr 11 19:54 CREDITS.md
drwxr-xr-x 4 www-data www-data 4.0K Apr 11 19:54 data/
drwxr-xr-x 6 www-data www-data 4.0K Apr 11 19:54 docker/
-rw-r--r-- 1 www-data www-data 1.4K Apr 11 19:54 docker-compose.yml
drwxr-xr-x 5 www-data www-data 4.0K Apr 11 19:54 docs/
-rw-r--r-- 1 www-data www-data 182 Apr 11 19:54 .editorconfig
-rw-r--r-- 1 www-data www-data 138 Apr 11 19:54 Gemfile
-rw-r--r-- 1 www-data www-data 758 Apr 11 19:54 Gemfile.lock
drwxr-xr-x 8 root root 4.0K May 2 10:07 .git/
drwxr-xr-x 2 www-data www-data 4.0K Apr 11 19:54 .github/
-rw-r--r-- 1 www-data www-data 609 Apr 11 19:54 .gitignore
-rw-r--r-- 1 www-data www-data 1.1K Apr 11 19:54 phpunit.xml.dist
-rw-r--r-- 1 www-data www-data 1.3K May 2 10:07 README.md
-rw-r--r-- 1 www-data www-data 2.8K Apr 11 19:54 RELEASE_PROCESS.md
-rw-r--r-- 1 www-data www-data 553 Apr 11 19:54 .scrutinizer.yml
drwxr-xr-x 3 www-data www-data 4.0K Apr 11 19:54 src/
-rw-r--r-- 1 www-data www-data 1.6K May 2 10:07 .travis.yml
drwxr-xr-x 5 www-data www-data 4.0K May 2 10:15 var/
drwxr-xr-x 49 www-data www-data 4.0K May 2 10:15 vendor/
drwxr-xr-x 4 www-data www-data 4.0K Apr 11 19:59 web/

@gerroon
Copy link
Author

gerroon commented May 2, 2016

@tcitworld
Btw are saying that based on looking at the error log I posted above?

@tcitworld
Copy link
Member

Yup, it says The directory "/var/www/wallabagII/var/cache/prod/annotations" is not writable. Try chmod 755 -R /var/www/wallabagII/

@gerroon
Copy link
Author

gerroon commented May 2, 2016

@tcitworld

I am sorry to say but that did not help at all. Also is it not dangerous to 755 the whole wallabag directory in the first place?

EDIT:

Here is a newer error log
https://paste.debian.net/hidden/dd2dd5ac/

@tcitworld
Copy link
Member

The access write error is gone. Can you try to reinstall now ?
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
php bin/console wallabag:install --env=prod

@gerroon
Copy link
Author

gerroon commented May 2, 2016

[Doctrine\DBAL\Exception\TableNotFoundException]
An exception occurred while executing 'DELETE FROM wallabag_craue_config_setting':
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

sudo -u www-data php bin/console wallabag:install --env=prod 6.67s user 0.36s system 31% cpu 22.637 total

@gerroon
Copy link
Author

gerroon commented May 3, 2016

Any recommendation?

@nicosomb
Copy link
Member

nicosomb commented May 3, 2016

Hello @gerroon !
No need to post a new message 8 hours after your last one ;-)
Github issues are here to report bugs, or to propose new features.

We have a chat for support, you can talk with us about your problems here https://gitter.im/wallabag/wallabag

@nicosomb nicosomb closed this as completed May 3, 2016
@gerroon
Copy link
Author

gerroon commented May 3, 2016

@nicosomb

I am not sure if I understand your point. Are you saying that this is not a bug or an issue with the upgrade process?

@gerroon
Copy link
Author

gerroon commented May 24, 2016

Guys I really need help with this. I am stuck with upgrading to 2.0.4 ;(

Step 3 of 5. Administration setup.
Would you like to create a new admin user (recommended) ? (Y/n)n
Step 4 of 5. Config setup.

[Doctrine\DBAL\Exception\TableNotFoundException]
An exception occurred while executing 'DELETE FROM wallabag_craue_config_setting':
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag2.wallabag_craue_config_setting' doesn't exist

@gerroon
Copy link
Author

gerroon commented May 24, 2016

Nevermind, I reinstalled it from scratch and imported an older database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants