[KeeWeb] Password manager

Hello, thx @spooknik !! Did you downgrade your Yunohost installation to resolve it ?

No, I am still on 3.3.4 (not sure if I can downgrade?)

I used the custom web app , then transferred (via sftp) the contents of the install package to the root of the web app. It’s not so elegant, but it works until the official app can be fixed.

Edit: Linked the wrong package

I reproduce myself, nginx says “[error] 3520#3520: *4 open() "/var/www/keeweb/app/js/app.js" failed (2: No such file or directory)”
Indeed, this file doesn’t exist.

This package use the version 1.6.3 of keeweb, but there was recently updates on this app.
Maybe using a more recent version could fix that issue.
What’s strange by the way is that this issue wasn’t there before, and nothing change on this package since…

Anyway, I’m not the maintainer of this app. I just worked on it because I wanted to use it.
Fell free to update this package. Also, if one of you want to maintain this app or make any PR on it, don’t hesitate to ask for permissions on this repo.

I’ve forked the repo on Github and am updating it with this source. It’s the official download recommended by the author for self hosting. It’s much simpler than the package being downloaded now.

We’ll see how it goes, web apps aren’t really my forté.

Edit @martoni35 If you want you can try to install this version and tell me if it works for you. It’s working for me on 3.3.4

1 Like

Hello,

Your fork is nice in 3.3.4 :
image

Everything is OK !!
Only one mistake, yunohost is down with Firefox but OK in private…and OK with Chrome since this app add… :frowning:

martoni

1 Like

Just tested, loaded my keepassx file (on nextcloud :wink: ).

Seems OK for now

@martoni35 Not sure what the problem is. Maybe you can try to clear the browser cache? I tried in firefox and chrome, both work fine for me.

@Shnoulle Good to hear, let me know if any problems come up.

Hello,

@spooknik
First step, I cleared my browser and i closed it : nothing better.
Then, i turned off my computer and nothing better.
With a mode private with the same browser, it’s work !! And with Chrome, it’s work !

martoni

Hi @spooknik, I have tried with your repository.

  • The installation works
  • The app loads correctly and works for local files
  • I still have “network error” when I try to load the WebDAV path

I have installed the app on the root of my subdomain -> do you think it could be related to the problem ?
I have installed the app as a private app -> do you think it could be related to the problem ?

Hello, thanks for letting me know.

My first guess would be no to both because I don’t think it would make a difference. But i’ll test both just in case.

Something to try might be using the webdav on the official app and see if that works. If yes, then your webdav setup is correct and the problem is with our keeweb. If no, then perhaps it could point to a problem your webdav setup.

Eitherway, I will do some of my own testing and report back.

Edit: Initially I was having similar problems with ‘network error’ and then a ‘401’ error. But now it seems to be working find for me. The app is installed as not public. I’m using Nextcloud for webdav and used the following link: https://example.com/nextcloud/remote.php/webdav/Database.kdbx then I enter my username and password.

Edit2: You don’t actually need to enter your user name and password to load the database from webdav. Yunohost should already have that figure out.

Hi everyone,

I dig this topic as i encounter the same problem.

I’m on the last version og Yunohost on my RPI3B+. I install Keeweb in private application.
My Nextcloud is on another server and i have the version 15.0.7.

But i have the network error 401 too. When i look up the console debug with F12 in my browser, i have this message : http://www.myndd_on_yunohost.com/ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I try to google this message and it seems there is a workaround by changing the htaccess or the virtual host in apache/niginx but i’m a little bit lost.

I try the nextcloud-keeweb third app in nextcloud and i have the same message. So i believe i need to change something on my nextcloud server regarding CORS but i don’t know what is the best way to do it.

On nextcloud’s server, i’m on apache and i try to add in the virtual host file a line with
“Header set Access-Control-Allow-Origin https://www.myndd_on_yunohost.com/”

But it doesn’t work as well.

Does anyone could help me on this ?

Bonjour,

J’essaie d’installer Keeweb, mais j’ai une erreur. Mais impossible de comprendre.
https://paste.yunohost.org/raw/gufeboxuho

Merci de votre aide.

Hello,

Est-ce que ton nginx fonctionne bien ? Certaines recherches et/ou fichiers semblent poser problème…

2019-06-18 07:13:19,259: WARNING - See "systemctl status nginx.service" and "journalctl -xe" for details.
2019-06-18 07:13:19,260: DEBUG - + false
2019-06-18 07:13:19,261: WARNING - -- Logs begin at Wed 2019-06-12 07:40:01 UTC, end at Tue 2019-06-18 07:13:19 UTC. --
2019-06-18 07:13:19,264: DEBUG - + ynh_exit_properly
2019-06-18 07:13:19,265: WARNING - Jun 18 07:13:18  systemd[1]: Reloading A high performance web server and a reverse proxy server.
2019-06-18 07:13:19,266: DEBUG - + local exit_code=1
2019-06-18 07:13:19,267: WARNING - Jun 18 07:13:19  nginx[9254]: nginx: [emerg] BIO_new_file("/etc/yunohost/certs/mvpartenaires.fr/crt.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/yunohost/certs/mvpartenaires.fr/crt.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2019-06-18 07:13:19,270: DEBUG - + '[' 1 -eq 0 ']'
2019-06-18 07:13:19,271: WARNING - Jun 18 07:13:19 systemd[1]: nginx.service: Control process exited, code=exited status=1

martoni

Merci,

J’avoue ne pas savoir, comment voir ?