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

2 bugs after upgrade to 2.0.5 #2140

Closed
fodiator opened this issue Jun 8, 2016 · 5 comments
Closed

2 bugs after upgrade to 2.0.5 #2140

fodiator opened this issue Jun 8, 2016 · 5 comments

Comments

@fodiator
Copy link

fodiator commented Jun 8, 2016

Issue details

Please provide issue details here.
Remember, this is not a place to ask questions. For that, go to http://gitter.im/wallabag/wallabag.

Environment

  • wallabag version (or git revision) that exhibits the issue:
    2.0.5
  • How did you install wallabag? Via git clone or by downloading the package?
    package
  • Last wallabag version that did not exhibit the issue (if applicable):
    2.0.3
  • php version:
    PHP 7.0.7-4+deb.sury.org~trusty+1 (cli) ( NTS )
  • OS:
    ubuntu server 14.04
  • type of hosting (shared or dedicated):
    shared
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL):
    SQLite

Steps to reproduce/test case

upgraded as described in https://www.wallabag.org/pages/download-wallabag.html
(copied data-dir and config, cleared /var/cache)
restarted Apache2
calling Wallbag results in a white page

var/apache2/error.log gives: [:error] [pid 8015] [client 192.168.1.5:58442] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to create the cache directory (/var/www/walla2.0.5/var/cache/prod)\n' in /var/www/walla2.0.5/var/bootstrap.php.cache:2523\nStack trace:\n#0 /var/www/walla2.0.5/var/bootstrap.php.cache(2484): Symfony\\Component\\HttpKernel\\Kernel->buildContainer()\n#1 /var/www/walla2.0.5/var/bootstrap.php.cache(2273): Symfony\\Component\\HttpKernel\\Kernel->initializeContainer()\n#2 /var/www/walla2.0.5/var/bootstrap.php.cache(2304): Symfony\\Component\\HttpKernel\\Kernel->boot()\n#3 /var/www/walla2.0.5/web/app.php(28): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#4 {main}\n thrown in /var/www/walla2.0.5/var/bootstrap.php.cache on line 2523

Several directories in ...2.0.5/var/cache could not be created automativalle and have thrown similar errors. I created them manually so 2.0.5 is running now

Bug2 affects the tag-list, please have a look at this http://clip.fastcast.at/screenshot.png screenshot. I do think it is self-explaining.

Kind regards

@j0k3r
Copy link
Member

j0k3r commented Jun 8, 2016

The duplication of tag could be related to an import? If yes, it's a known bug: #1981

Regarding cache permission, you might chmod 777 on the cache directory.

@fodiator
Copy link
Author

fodiator commented Jun 8, 2016

I would suspect it as a lack of security to chmod 777 a directory on a public availabe web-server?

@tcitworld
Copy link
Member

chmod 755 might do.

@yzaguirre
Copy link

You might want to change the folder owner to the apache2 user and group, like this:

chown www-data:www-data -R /var/www/walla2.0.5

or change the permissions like mentioned in the comments above.

@j0k3r
Copy link
Member

j0k3r commented Sep 30, 2016

This issue is fairly old and there hasn't been much activity on it. Closing, but please re-open if it still occurs.

@j0k3r j0k3r closed this as completed Sep 30, 2016
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

4 participants