Open ghost opened 2 years ago
Can you help me? I tried to create a new keepass file with only 2 lines, I even tried importing a CSV file.
Obviously nothing works in import.
I gave all the rights to the /var/www/ folder to the user www-data, it's a test server, I can give you control of the server if you wish:
chown -R www-data:www-data /var/www
find /var/www -type d -print0 | xargs -0 chmod -t,a-rwxs,u+rwx
find /var/www -type f -print0 | xargs -0 chmod -t,a-rwxs,u+rw
My installation method is detailed under this link: https://wiki.slemoal.fr/index.php/Teampass
Page on which it happened
index.php?page=import
Steps to reproduce
1.Select keepass
Expected behaviour
Import keepass xml data
Actual behaviour
error message: Can't read the files!
Server configuration
Operating system: Linux TeamPass 5.4.78-2-pve #1 SMP PVE 5.4.78-2 (Thu, 03 Dec 2020 14:26:17 +0100) x86_64
Web server: Apache/2.4.38 (Debian)
Database: 5.5.5-10.3.31-MariaDB-0+deb10u1
PHP version: 7.4.27
Teampass version: 3.0.0.10
Teampass configuration file:
Updated from an older Teampass or fresh install: Fresh install
Client configuration
Browser: Chrome - 97.0.4692.99
Operating system: Windows - 64bits
Logs
Web server error log
Teampass 10 last system errors
Log from the web-browser developer console (CTRL + SHIFT + i)
POST /sources/import.queries.php HTTP/1.1 Host: 10.10.10.228 Connection: keep-alive Content-Length: 176 sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97" Accept: / Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest sec-ch-ua-mobile: ?0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 sec-ch-ua-platform: "Windows" Origin: https://10.10.10.228 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: cors Sec-Fetch-Dest: empty Referer: https://10.10.10.228/index.php?page=import Accept-Encoding: gzip, deflate, br Accept-Language: fr Cookie: KEY_teampass_session=xMfHFnyT82FJJ5UTWFfSYnDNDfHDenzDa9gTH8T8EJ0tt3LGYDpurFnjGFiyJ661C7H93tT3jShNOJNcTo8b5w%3D%3D; teampass_session=hfrnll2bp7mdgbenbb7p0ggror; 34739abba55363c52f801bb460c4a38b68d2fe08decf54c07d=9876cfaac9f4e7324c076ae9651fec238055d2c6c45f7e040b
Insert the log here and especially the answer of the query that failed. R731YTc3NzdDBd45pdrQAzv6NczBYy9u04uD16fawyM+U6nTqqEsh7Z10WhwCSWK