YunoHost / issues

General issue tracker for the YunoHost project
72 stars 8 forks source link

Cannot import wallabag v1 articles into wallabag v2 #923

Closed yunohost-bot closed 6 years ago

yunohost-bot commented 7 years ago
Original Redmine Issue: 923

Author Name: Gofannon


Hello,

  1. Issue detail

When importing my "wallabag 1 export file" to "wallabag 2.3.3" (see pic 1), yunohost shows the error 413 Request entity too large (pic 2)

  1. Debug process

After checking the wallabag nginx documentation and the web, I added the following to my nginx :

  vim /etc/nginx/conf.d/myDomain.d/wallabag2.conf

  location / {
  [...]
    client_max_body_size 10M;
  [...]

After a nginx reload and a new import, I got the php error 500: Internal Error (pic 3) and a clue about "upload_max_filesize"

I had to add the following to the php configuration and reload php5-fpm


vim /etc/php5/fpm/pool.d/wallabag2.conf

[...]
php_value[upload_max_filesize] = 50M
php_value[post_max_size] = 50M

See yunohost example package or other php config :

root@yunohost:# grep -R upload_max /etc/php5/fpm
./pool.d/sonerezh.conf:;php_value[upload_max_filesize] = 50M
./pool.d/kanboard.conf:php_value[upload_max_filesize] = 10G
./pool.d/nextcloud.conf:php_value[upload_max_filesize] = 10G
./pool.d/roundcube.conf:php_value[upload_max_filesize] = 10G
./php.ini:upload_max_filesize = 2M

Now, I get a 504 Gateway Time-out in my browser (pic 4).

I will try with the cli import to see if it runs better : https://doc.wallabag.org/en/user/import/#import-via-command-line-interface-cli

yunohost-bot commented 7 years ago
Original Redmine Comment

Author: JimboJoe


Can you please try to reproduce your issue with the new version of wallabag2 that just became official? Thanks!

yunohost-bot commented 7 years ago
File Attachment

Author: Gofannon

File: 2_nginx_error.png (9.41 KB)

yunohost-bot commented 7 years ago
File Attachment

Author: Gofannon

File: 1_import_file.png (47.39 KB)

yunohost-bot commented 7 years ago
File Attachment

Author: Gofannon

File: 3_after_nginx_fix.png (23.71 KB)

yunohost-bot commented 7 years ago
File Attachment

Author: Gofannon

File: 4_new error.png (8.49 KB)

alexAubin commented 6 years ago

Old app issue, probably not relevant anymore...