nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.68k stars 547 forks source link

File `$filename_seckey` already exists and cannot be renamed. Please do it by yourself and click on button Launch. #3937

Open lordtesting opened 1 year ago

lordtesting commented 1 year ago
### Steps to reproduce 1. During Installation I received the error "File `$filename_seckey` already exists and cannot be renamed. Please do it by yourself and click on button Launch." 2. steps followed for installation are "Commands Used: apt-get install apache2 apache2-utils mariadb-server mariadb-client php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline php7.4-bcmath php7.4-curl php7.4-fpm php7.4-gd php7.4-xml php7.4-gmp php7.4-mbstring -y nano /etc/php/7.4/apache2/php.ini max_execution_time = 60 date.timezone = Asia/Kolkata systemctl restart apache2 mysql create database teampass; grant all privileges on teampass.* to teampass@localhost identified by "password"; flush privileges; exit; apt-get install git -y cd /var/www/html/ git clone [https://github.com/nilsteampassnet/TeamPass.git chown -R www-data:www-data TeamPass chmod -R 775 /var/www/html/TeamPass nano /etc/apache2/sites-available/teampass.conf ServerAdmin admin@example.com DocumentRoot /var/www/html/TeamPass ServerName ip address of machine Options FollowSymlinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/teampass_error.log CustomLog ${APACHE_LOG_DIR}/teampass_access.log combined a2ensite teampass systemctl restart apache2 systemctl status apache2" 4. ### Expected behaviour Tell us what should happen It is supposed to be installed ### Actual behaviour Tell us what happens instead but the error "File `$filename_seckey` already exists and cannot be renamed. Please do it by yourself and click on button Launch." pops up ### Server configuration **Operating system**: Debian 11 **Web server:** apache2 **Database:** mariaDB **PHP version:** 7.4 **Teampass version:** 3.0.10 **Teampass configuration file:** ServerAdmin admin@example.com DocumentRoot /var/www/html/TeamPass ServerName ip address of machine Options FollowSymlinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/teampass_error.log CustomLog ${APACHE_LOG_DIR}/teampass_access.log combined
nilsteampassnet commented 1 year ago

@lordtesting This issue was ffixed in latest commit

sithius82 commented 1 year ago

@nilsteampassnet to my pity - I have the same issue. The installation I've tried was just today.

Server configuration

Operating system: AlmaLinux 8 with latest possible updates. Web server: apache2 2.4.37-56 Database: mariaDB 10.3.39 PHP version: 8.2 Teampass version: 3.0.10

Other variables are the same. tp_install_1 tp_install_2

WebxDES commented 1 year ago

Fresh install getting this error on the latest commit now during the database setup... everything shows fine though.

image

lordtesting commented 1 year ago

Screenshot 2023-11-14 115225 Hi @nilsteampassnet Did a fresh install just now with latest commit and I'm also receiving the same error

nilsteampassnet commented 1 year ago

@WebxDES @lordtesting @roccodelux Did some changes in latest commit. Please give a try

WebxDES commented 1 year ago

@WebxDES @lordtesting @roccodelux Did some changes in latest commit. Please give a try

Just tried again with a fresh install on Ubuntu 22.04 LTS with PHP7.4 and it failed again with the same error.