Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:40

    j0k3r on npm_and_yarn

    (compare)

  • 04:40

    j0k3r on master

    Bump sass from 1.52.3 to 1.53.0… Merge pull request #5875 from w… (compare)

  • 04:40
    j0k3r closed #5875
  • 04:28
    dependabot[bot] synchronize #5875
  • 04:28

    dependabot[bot] on npm_and_yarn

    Bump sass from 1.52.3 to 1.53.0… (compare)

  • 04:28
    dependabot[bot] edited #5875
  • 04:24
    dependabot[bot] synchronize #5875
  • 04:24
    dependabot[bot] edited #5875
  • 04:24

    dependabot[bot] on npm_and_yarn

    Bump sass from 1.52.3 to 1.53.0… (compare)

  • 04:24
    dependabot[bot] edited #5875
  • 04:19

    j0k3r on master

    Bump eslint-webpack-plugin from… Merge pull request #5874 from w… (compare)

  • 04:19

    j0k3r on npm_and_yarn

    (compare)

  • 04:19
    j0k3r closed #5874
  • 04:19
    dependabot[bot] edited #5875
  • 04:18

    j0k3r on master

    Bump sass-loader from 13.0.0 to… Merge pull request #5876 from w… (compare)

  • 04:18

    j0k3r on npm_and_yarn

    (compare)

  • 04:18
    j0k3r closed #5876
  • 02:22
    dependabot[bot] labeled #5876
  • 02:22
    dependabot[bot] labeled #5876
  • 02:22
    dependabot[bot] opened #5876
月季花中的星辰
@starsareintherose
[root@archlinux ~]# cd /var/lib/wallabag/var/logs/
[root@archlinux logs]# ls
prod.log
[root@archlinux logs]# ls -o
total 12
-rw-r--r-- 1 http 11035 Jul 27 14:08 prod.log
[root@archlinux logs]# chmod -R 777 prod.log
[root@archlinux logs]# ls
prod.log
[root@archlinux logs]# ls -o
total 12
-rwxrwxrwx 1 http 11035 Jul 27 14:08 prod.log
now no error log, but the web is still not well
Johannes
@jrabensc:matrix.org
[m]
Not well?
月季花中的星辰
@starsareintherose
still show this
Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
月季花中的星辰
@starsareintherose
2021/07/29 00:56:41 [error] 319#319: *127 FastCGI sent in stderr: "PHP message: PHP Warning: SessionHandler::read(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_k7bhnpdf5s73k7n4u90ljcvtve, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 48" while reading response header from upstream, client: 47.241.89.31, server: read.malacology.net, request: "GET /js/routing?callback=fos.Router.setData HTTP/2.0", upstream: "fastcgi://unix:/run/php74-fpm/php-fpm.sock:", host: "read.malacology.net", referrer: "https://read.malacology.net/login"
New error log
when I input the password and user, it return back to the login page
2021/07/29 01:04:05 [error] 319#319: 167 FastCGI sent in stderr: "PHP message: PHP Warning: SessionHandler::read(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_7s7lceadu9le3plpoce33q237d, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 48PHP message: PHP Warning: SessionHandler::write(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_7s7lceadu9le3plpoce33q237d, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 64PHP message: PHP Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /usr/share/webapps/wallabag/var/sessions/prod) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 266" while reading response header from upstream, client: 120.192.37.36, server: read.malacology.net, request: "POST /login_check HTTP/2.0", upstream: "fastcgi://unix:/run/php74-fpm/php-fpm.sock:", host: "read.malacology.net", referrer: "https://read.malacology.net/login"
2021/07/29 01:04:05 [error] 319#319:
167 FastCGI sent in stderr: "PHP message: PHP Warning: SessionHandler::read(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_7s7lceadu9le3plpoce33q237d, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 48PHP message: PHP Warning: SessionHandler::write(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_7s7lceadu9le3plpoce33q237d, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 64PHP message: PHP Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /usr/share/webapps/wallabag/var/sessions/prod) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 266" while reading response header from upstream, client: 120.192.37.36, server: read.malacology.net, request: "GET /login HTTP/2.0", upstream: "fastcgi://unix:/run/php74-fpm/php-fpm.sock:", host: "read.malacology.net", referrer: "https://read.malacology.net/login"
2021/07/29 01:04:05 [error] 319#319: *167 FastCGI sent in stderr: "PHP message: PHP Warning: SessionHandler::read(): open(/usr/share/webapps/wallabag/var/sessions/prod/sess_7s7lceadu9le3plpoce33q237d, O_RDWR) failed: Permission denied (13) in /usr/share/webapps/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 48" while reading response header from upstream, client: 120.192.37.36, server: read.malacology.net, request: "GET /js/routing?callback=fos.Router.setData HTTP/2.0", upstream: "fastcgi://unix:/run/php74-fpm/php-fpm.sock:", host: "read.malacology.net", referrer: "https://read.malacology.net/login"
月季花中的星辰
@starsareintherose
when I grant the private to it, it shows "HTTP ERROR 500"
ploc
@ploc:matrix.gresille.org
[m]

I've just finished to develop an ansible role and playbook that offer to install Wallabag. I'm trying to follow the best practices of ansible playbooks and to make each task idempotent. I have a problem with a task that is changing the default password of the default user already created (user: wallabag, password: wallabag). This task is indeed idempotent, but is always reported as changed.

I'm trying to find a solution to avoid this task to be reported as changed each time. The only way I can imagine is to delete this default user. Is it possible to delete this default wallabag user, as it is an admin user? And by the way, I can't find any way to delete a user using the default console commands.

月季花中的星辰
@starsareintherose
500: Internal Server Error
Unable to write in the "/usr/share/webapps/wallabag/web/uploads/import" directory.
When I try to import the json, it shows this information
月季花中的星辰
@starsareintherose
2021/08/10 03:14:48 [error] 53746#53746: *1 FastCGI sent in stderr: "PHP message: PHP Warning: mkdir(): Permission denied in /usr/share/webapps/wallabag/vendor/friendsofsymfony/jsrouting-bundle/Extractor/ExposedRoutesExtractor.php on line 174" while reading response header from upstream, client: 47.241.99.23, server: read.malacology.net, request: "GET /js/routing?callback=fos.Router.setData HTTP/2.0", upstream: "fastcgi://unix:/run/php74-fpm/php-fpm.sock:", host: "read.malacology.net", referrer: "https://read.malacology.net/import/wallabag-v2"
slkjf84lkj
@slkjf84lkj_twitter
Hello
It seems there is a missed feature on the self-hosted version. I see the site credential feature on the official site but not on my server.
Am I right?
1 reply
The Doctor
@virtadpt
@starsareintherose When you try to import stuff into Wallabag, it has to write the file to a temporary directory. In your case that temp directory is /usr/share/webapps/wallabag/web/uploads/import
If you're running Wallabag under Apache, Apache has to be able to write to that directory. The way to make that happen is to chown /usr/share/webapps/wallabag/web/uploads/import to the Apache user (apache:apache or httpd:httpd, whatever it is on your server). ps aux | grep [h]ttpd or ps aux | grep [a]pache will tell you which it needs to be.
If you're running Nginx + PHP-FPM, /usr/share/webapps/wallabag/web/uploads/import has to be owned by the PHP-FPM user. ps aux | grep [p]hp will tell you what user that has to be.
Then, just do a sudo chown -R <whoever it has to be> /usr/share/webapps/wallabag/web/uploads/import and try importing again.
月季花中的星辰
@starsareintherose
Actually, it belongs the http, which is the php-fpm user.
[root@archlinux ~]# cd /usr/share/webapps/wallabag/web/uploads/
[root@archlinux uploads]# ls -o
total 4
drwxr-xr-x 2 http 4096 Jul 25 23:17 import
TimeWalker
@timewalker:foxden.party
[m]
Hey 👋
I have troubles with some sites where they use Cloudflare's captcha test. If I try to save an article then the only thing I get is the captcha check. I'm self-hosting so I've been wondering if there are ways to make it "trustworthy" enough to not get funnelled into that check
kdecherf
@kdecherf:matrix.org
[m]
TimeWalker hello, unfortunately this kind of issue is quite difficult to work around
TimeWalker
@timewalker:foxden.party
[m]
Yeah, I just looked around some more and found the issue 1399 which more or less talks about that
Cook1e_mr
@cook1e_mr:matrix.org
[m]
Hi All, i am having trouble connecting wallabag to postgresql database can someone offer guidance. i am installing in k3s using ranchers UI to configure. This is my yaml https://pastebin.com/3JyCNXRm.
the log shows this error TASK [postgresql db] bin dev entrypoint.sh etc home lib media mnt opt proc root run sbin srv sys tmp usr var An exception occurred during task execution. To see the full traceback, use -vvv. The error was: psycopg2.OperationalError: fe_sendauth: no password supplied fatal: [localhost]: FAILED! => {"changed": false, "msg": "unable to connect to database: fe_sendauth: no password
I dont understand why as im passing the password into the container
TimeWalker
@timewalker:foxden.party
[m]
Not on rancher, just normal docker, but I also have POSTGRES_USER and POSTGRES_PASSWORD environment variables
Cook1e_mr
@cook1e_mr:matrix.org
[m]
yeah but is that, just not for the stack?
so to pass to the postgres container?
TimeWalker
@timewalker:foxden.party
[m]
No, that is for the wallabag container I don't see that one in your yaml
Except I'm misunderstanding something 😀
Cook1e_mr
@cook1e_mr:matrix.org
[m]
its not there. i had it but that wasnt working either
so i removed it
but lets put it back in
and see what happens
ok get a different error now
let me look at that for a minute
Cook1e_mr
@cook1e_mr:matrix.org
[m]
Hi, still having problems https://pastebin.com/tJYmXaEf it seems to be saying it cant authenticate to the DBs
Cook1e_mr
@cook1e_mr:matrix.org
[m]
Hi, i have managed to work my way through a number of errors, however I am now getting the attached. https://pastebin.com/tknbr4Bt Does anyone know what configurations i need to change in the postgres DB to resolve this?
TimeWalker
@timewalker:foxden.party
[m]
Did you run /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction? The database does not get created automatically at first run. You have to run a command for it
2 replies
Cook1e_mr
@cook1e_mr:matrix.org
[m]
that maybe what i am missing
TimeWalker
@timewalker:foxden.party
[m]
Also as a precaution, I had issues with Android throwing error 500 and other setData errors. I had it fixed by going into the docker container at /var/www/wallabag and running chown -R nobody:nobody bin app/config vendor data web var to fix this from this issue link: wallabag/docker#145
TimeWalker
@timewalker:foxden.party
[m]
No, I don't recall seeing it in the docs. I had found it in a Github issue
Cook1e_mr
@cook1e_mr:matrix.org
[m]
well it is now in my notes, thanks
you don't happen to know how to migrate the sqlite db to postgres do you?
TimeWalker
@timewalker:foxden.party
[m]
Sorry, I don't know. When I installed the server, I immediately used postgres
1 reply
Cook1e_mr
@cook1e_mr:matrix.org
[m]
i assume in pgloader it will be something like load database
from sqlite:///data/wallabag/data/db.sqlite3
into postgresql://wallabag:PASSWORD@postgresql:5432/vaultwarden
WITH data only, include no drop, reset sequences
EXCLUDING TABLE NAMES LIKE '__diesel_schema_migrations'
ALTER SCHEMA 'wallabag' RENAME TO 'public'
;