Comments (9)
Hi @ganomi, @NorbertBerlin & @arnowelzel, thanks for all the context & details you sent here!
I'm looking on it, I hope I will be able to send a PR today 😄
from nextcloud-keeweb.
I will have a look into that later and try to reproduce this problem.
from nextcloud-keeweb.
nextcloud 28 generate the link : https://yourserver.example/apps/keeweb/?open=/filepath/myDb.kdbx
this link works correct: https://yourserver.example/nextcloud/index.php/apps/keeweb/?open=/filepath/myDb.kdbx
the difference is nextcloud/index.php/ (nextcloud is the path, where nextcloud is installed)
from nextcloud-keeweb.
nextcloud 28 generate the link : https://yourserver.example/apps/keeweb/?open=/filepath/myDb.kdbx
this link works correct: https://yourserver.example/nextcloud/index.php/apps/keeweb/?open=/filepath/myDb.kdbx
the difference is nextcloud/index.php/ (nextcloud is the path, where nextcloud is installed)
In this case, .htaccess
is not updated properly.
Edit: I verified this issue and can confirm, that the generated URLs are not correct, if Nextcloud is not using the URL path /
. However a the moment I don't have any idea what is causing this.
@florian-forestier Can you have a look into this as well? It seems the frontend script somehow always assumes /
as base URL path, even if the real path is /index.php
or /nextcloud/
.
from nextcloud-keeweb.
Some more findings.
Base URL of Nextcloud:
https://myserver.example/nextcloud/
WebDAV URL presented by Nextcloud:
https://myserver.example/nextcloud/remote.php/dav/files/username/file.kdbx
File passed to KeeWeb, when trying to open it:
https://myserver.example/apps/keeweb/?open=/file.kdbx
The file path /file.kbdx
is corrent, since it is in the root folder of the user. However https://myserver.example/nextcloud/apps/keeweb
is not correct, since the base path of Nextcloud is https://myserver.example/nextcloud/
and not https://myserver.example/
I just checked Draw.io which was also updated recently to support Nextcloud 28. Draw.io works fine, also when Nextcloud is not in the root path. Maybe this can help, also see https://github.com/jgraph/drawio-nextcloud/tree/v3.0.2
from nextcloud-keeweb.
When using index.php in the URL it may not work, but I don't know why. Please check, that you don't have index.php in the URL:
- Add the following setting to
config/config.php
:'htaccess.RewriteBase' => '/'
- Run the following OCC command to update
.htaccess
:php occ maintenance:update:htaccess
So the URL of KeeWeb should be like this: https://yourserver.example/apps/keeweb/
from nextcloud-keeweb.
Having the same issue after upgrading to Nextcloud 28.
My server is running under https://yourserver.example/nextcloud/
Therefore i set 'htaccess.RewriteBase' => '/nextcloud'
Now index.php is not part of the path anymore but it is still not working because /nextcloud/ is not part of the path. The currently constructed path is https://yourserver.example/apps/keeweb/?open=/KeyPass.kdbx
Any quick tips?
from nextcloud-keeweb.
Try it with rewrite base "/nextcloud/" including the trailing slash.
from nextcloud-keeweb.
I tried both variants. Unfortunately same negative result. Made sure to regenerate htaccess and also restarted php-fpm and apache each time.
from nextcloud-keeweb.
Related Issues (20)
- Compatibility with Nextcloud 25 HOT 6
- Keeweb leading to blank page HOT 9
- Nextcloud-keeweb no longer accepting my password even though it is correct HOT 4
- administrator (global) settings (enhancement) HOT 1
- Kein Zugang mehr zu KeePass-Datei nach update durch keeweb HOT 2
- Autoload path not allowed HOT 26
- Status of the project and new maintainers needed HOT 12
- 0.6.13 throws "Could not resolve OCA\\Keeweb\\Controller\\PageController" HOT 7
- Could not resolve PageController Class HOT 1
- Updated to 0.6.13 and app doesn't launch anymore "Internal Error" HOT 1
- KW doesn't save last opened files HOT 3
- The entire interface glitches out HOT 4
- Internal server error HOT 3
- Incompatibility of KeyWeb App with Nextcloud 28 prevents upgrade of KeyCloud HOT 3
- [BUG] It does not work in Nextcloud 28 HOT 2
- Nextcloud keepass
- Undefined constant OCA\Keeweb\Migration\RegisterMimeType trace during Update attempt to Nectcloud 28 HOT 12
- Wrong KDBX file path in Keeweb when file is favorited
- Error on upgrade from NC v27 to v28 when updating KeeWeb app HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-keeweb.