Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:06
    mmnaseri commented #5358
  • Oct 22 21:36
    starsareintherose commented #5358
  • Oct 22 01:12
    weblate synchronize #336
  • Oct 22 00:16
    mmnaseri commented #5358
  • Oct 21 18:10

    bourvill on multiplatform

    Fix save context (compare)

  • Oct 21 17:39
    weblate synchronize #336
  • Oct 21 17:37
    weblate synchronize #337
  • Oct 21 17:37
    weblate synchronize #1212
  • Oct 21 17:37
    weblate synchronize #5391
  • Oct 21 17:37
    weblate synchronize #5391
  • Oct 21 17:37
    weblate synchronize #336
  • Oct 21 12:55
    bourvill labeled #370
  • Oct 20 18:48
    fdw commented #266
  • Oct 20 17:02
    norweeg commented #266
  • Oct 20 16:02
    fdw commented #266
  • Oct 19 15:12
    jtagcat opened #370
  • Oct 19 13:21
    SagnikSRHUSE opened #272
  • Oct 19 04:42
    cheywood commented #1198
  • Oct 19 04:11
    weblate synchronize #1212
  • Oct 19 03:36
    weblate opened #1212
goodelyfe
@goodelyfe
I'm getting
500: Internal Server Error

An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT w0_.id AS id_0 FROM "wallabag_entry" w0_ WHERE w0_.user_id = ? AND w0_.is_starred = 1 GROUP BY w0_.id ORDER BY w0_.starred_at DESC' with params [1]: SQLSTATE[HY000]: General error: 1 no such column: w0_.starred_at").
Dmitriy Bogdanov
@di72nn
@nicosomb can you check why wallabag.it can't handle the creation of an annotation longer than 1000 characters (answers with HTTP 500) even though it should be able to handle 10k: wallabag/wallabag#3093
ploc
@ploc:matrix.gresille.org
[m]
I'm looking for documentation about the default created admin user on a fresh install of Wallabag. Can we set its login somewhere?
ploc
@ploc:matrix.gresille.org
[m]
How do we know what parameter can we pass to the create user fos cli? login, email, password, what else?
Edmund Kasprzak
@ekasprzak

Hi, I think there's some issue with exporting articles service (using app hosted by you/wallabag).
I'm trying to export my unread articles into epub so having this url:
https://app.wallabag.it/export/unread.epub?search_entry%5Bterm%5D=

and it ends with :
504 Gateway Time-out
nginx/1.14.2

Jez (he/him)
@jez:petrichor.me
[m]
I've only ever been able to export single articles from app.wallabag.it: trying to export more than that has timed out every time I've tried it.
I think ultimately the solution will be to switch from generating the export on the fly during the request and instead create a background export job that can be queued and then downloaded by the user when it's done, but I'm not really familiar with the source and how it's currently done.
Edmund Kasprzak
@ekasprzak
yup, exporting single article works. For multiple - it's been working for last few months that I;ve been using it - it stopped working yesterday or a day before
kdecherf
@kdecherf:matrix.org
[m]
Edmund Kasprzak
@ekasprzak
and I use it almost every day so it's not like sometimes it works and sometimes not - definitelly sth happened yesterday/day before yesterday
Edmund Kasprzak
@ekasprzak
Could you just let me know if someone is going to take a look on that (not pushing or demanding anything of course, it just breaks my daily routine with reading articles on ebook reader so I would like to know if I need to switch to another service for some time or maybe just some nginx server needs to be restarted and it will work back soon) ?
kdecherf
@kdecherf:matrix.org
[m]
@ekasprzak: for the async export feature there's no work planned for now but I may consider it in the future. For the error seen on app.wallabag.it there may be an infra change or a workaround available to the admin of the service, nicosomb
tandy
@tandy1000:matrix.org
[m]
I just retried trying to install wallabag, I used this guide https://www.garron.me/en/linux/install-wallabag-ubuntu-nginx-sqlite.html
it works kinda but .css / .js / assets dont load
i've found a bunch of people with the same issue but havent found a fix yet
domain_name: 'http://127.0.0.1:8010'
^ from app/config/parameters.yml
and the nginx conf port is 8010 too
Edmund Kasprzak
@ekasprzak
small update on "not being able to export multiple articles" - it only affects unread export. No problem with exporting to epub whole starred or some specific tag section. Nginx gateway timeout 504 happens ONLY when trying to export unread section.
kdecherf
@kdecherf:matrix.org
[m]
@ekasprzak: how many unread articles do you have?
Edmund Kasprzak
@ekasprzak
Tried going that road too and did attempts to export unread when I left there only 1 article (multiple attempts) and still nging 504 so I dont think that's the case here
hmm, looks like I was happy too soon - exporting starred (containing just 10 articles) is not working anymore. But I was able to export it 3 times (10 articles every time) and now it just stopped working. It's like I'm overloading some buffer or sth...
Exporting some tag still works - but I guess after few attempts it will start to fail also
Edmund Kasprzak
@ekasprzak
definitelly some infra-related issue
tandy
@tandy1000:matrix.org
[m]
i realised my problem, i had to set the domain_name to my servers public hostname
server.local
ploc
@ploc:matrix.gresille.org
[m]
Can anyone tell me what is the file site-credentials-secret-key.txt about?
kdecherf
@kdecherf:matrix.org
[m]
ploc: this is the secret key used to encrypt site credentials in the database (site credentials are used for paywalled content on some websites)
Edmund Kasprzak
@ekasprzak
Hi, any news on nginx 504 Gateway Time-out when trying to export multiple articles (eg. https://app.wallabag.it/export/unread.epub?search_entry%5Bterm%5D=) ?
ghostjoad
@ghostjoad:matrix.org
[m]
Hi, I have just setup wallabag on my VPS, but there is something strange in the setup. With this docker-compose.yml, whatever I put in SYMFONYENVDATABASE_NAME, SYMFONYENVDATABASE_USER or SYMFONYENVDATABASE_PASSWORD, the only login recognized is always "wallabag", with password "wallabag". What am I missing ?
1 reply
kdecherf
@kdecherf:matrix.org
[m]
Baptiste Demoulin: this is the default wallabag user that is created during installation, the three variables you mention are unrelated to that
after the installation you can create another admin user using the default user
Baptiste Demoulin
@ghostjoad:matrix.org
[m]
OK thanks !
kdecherf
@kdecherf:matrix.org
[m]
And don't forget to remove or disable the user wallabag after you created your account :)
Baptiste Demoulin
@ghostjoad:matrix.org
[m]
Thanks for your help, I was getting confused with all these parameters. Now it works :) !
月季花中的星辰
@starsareintherose
I configure it with php7.4 and nginx, also I use nginx7.4-fpm on my ArchLinux, I use AUR to install it. The nginx configure is almost the same as offial docs. But when I visit it, it shows No input file specified.
月季花中的星辰
@starsareintherose
My configure file
```

[root@archlinux ~]# cd /etc/nginx/
[root@archlinux nginx]# cd sites-enabled
[root@archlinux sites-enabled]# cat read.conf
server {
listen 80;
server_name read.malacology.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name read.malacology.net;
root /usr/share/webapps/wallabag;
ssl_certificate /etc/nginx/web_ssl/read/1_read.malacology.net_bundle.crt;
ssl_certificate_key /etc/nginx/web_ssl/read/2_read.malacology.net.key;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;

location / {
    # try to serve file directly, fallback to app.php
    try_files $uri /app.php$is_args$args;
}
location ~ ^/app\.php(/|$) {
    # if, for some reason, you are still using PHP 5,
    # then replace /run/php/php7.0 by /var/run/php5
    fastcgi_pass unix:/run/php74-fpm/php-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    # When you are using symlinks to link the document root to the
    # current version of your application, you should pass the real
    # application path instead of the path to the symlink to PHP
    # FPM.
    # Otherwise, PHP's OPcache may not properly detect changes to
    # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
    # for more information).
    fastcgi_param  SCRIPT_FILENAME  $realpath_root$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    # Prevents URIs that include the front controller. This will 404:
    # http://domain.tld/app.php/some-path
    # Remove the internal directive to allow URIs like this
    internal;
}
# return 404 for all other php files not matching the front controller
# this prevents access to other php files you don't want to be accessible.
location ~ \.php$ {
    return 404;
}

}

Johannes
@jrabensc:matrix.org
[m]
why do you don't use the official nginx config from the documentation?
and how did you install wallabag exactly?
are you able to run other php scripts?
月季花中的星辰
@starsareintherose
I just follow the official configure, but I need to TLS configure which is absent, therefore, I add SSL section, and others are almost the same as others, I also configure freshrss, which is okay to run the PHP script.

[root@archlinux sites-enabled]# cat rss.conf
server {
listen 80;
server_name rss.malacology.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name rss.malacology.net;
root /usr/share/webapps/freshrss;
ssl_certificate /etc/nginx/web_ssl/rss/1_rss.malacology.net_bundle.crt;
ssl_certificate_key /etc/nginx/web_ssl/rss/2_rss.malacology.net.key;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
location / {
index index.php index.html index.htm;
}

location ~ [^/].(php|html|htm)(/|$) {

    location ~ \.php$ {
    # 404
    try_files $fastcgi_script_name =404;

    # default fastcgi_params
    include fastcgi_params;

    # fastcgi settings
    fastcgi_pass            unix:/run/php74-fpm/php-fpm.sock;
    fastcgi_index            index.php;
    fastcgi_buffers            8 16k;
    fastcgi_buffer_size        32k;

    # fastcgi params
    fastcgi_param DOCUMENT_ROOT    $realpath_root;
    fastcgi_param SCRIPT_FILENAME    $realpath_root$fastcgi_script_name;
    #fastcgi_param PHP_ADMIN_VALUE    "open_basedir=$base/:/usr/lib/php/:/tmp/";
}

}

I install via AUR (ArchLinux), which makes wallbag install under /usr/share/webapps/wallabag
I change the owner of wallbag files to root and no extra modification for AUR (https://aur.archlinux.org/packages/wallabag/)
@jrabensc:matrix.org That's all.
Johannes
@jrabensc:matrix.org
[m]
I would recommend to not use the AUR package. Just do exactly as the docs point out and you should be fine.
maybe you could try to run it without ssl first