Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup needs _temp folder - included in zip file? #184

Open
lollett opened this issue Feb 14, 2024 · 1 comment
Open

Backup needs _temp folder - included in zip file? #184

lollett opened this issue Feb 14, 2024 · 1 comment

Comments

@lollett
Copy link

lollett commented Feb 14, 2024

Using the Windows version from a clean install you cannot create a backup from within the web browser - you receive the message "*** BACKUP ERROR ***"false""

In order to get the backup function to work you need to create a folder called:
x:\tmp
or
x:\multiotp\_temp
note: I couldn't find any mention of these temp folders in the documentation.

Might help new users if a _temp folder is added to base directory in the zip?

Otherwise could the tmp backup location be changed to x:\multiotp\windows\config
(The restore function puts cfg files in here and file naming don't seem to clash)

multiotp.server.php:

case mb_strtoupper("BackupConfig",'UTF-8'):
                            $tmp  = '/tmp';
to 
                            $tmp  = '/conf';
@multiOTP
Copy link
Owner

Hello,
Oups, this will be corrected in 5.9.7.2 order to use the system temporary folder
regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants