# How to clear an installation to restart the wizard

**URL:** <https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714>\
**Category:** Installation Issues\
**Created:** [April 30, 2020, 10:34am UTC](https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714 "2020-04-30T10:34:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponce](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ponce/32/656_2.png) [@ponce](https://community.passbolt.com/u/ponce)\
**Post date:** [April 30, 2020, 10:34am UTC](https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714/1 "2020-04-30T10:34:37Z")

</div>

**Checklist**  
[X] I have read intro post: [About the Installation Issues category](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
[X] I have read the tutorials, help and searched for similar issues  
[X] I provide relevant information about my server (component names and versions, etc.)  
[] I provide a copy of my logs and healthcheck  
[X] I describe the steps I have taken to trouble shoot the problem  
[X] I describe the steps on how to reproduce the issue

Hi,

sorry if I’m opening a new topic but I wasn’t able to find clear information on the matter (could be my fault).

I have installed passbolt on Debian 10 following the installation instructions in the docs: I hadn’t an ssl certificate or a domain name for my host and it was in a private network so at first I installed it in http and with an ip address.  
later I got a domain name and a valid ssl certificate, so I configured the virtual host and ssl on nginx and edited accordingly /var/www/passbolt/config/passbolt.php.  
now it seems I cannot login into my account anymore: I tried reinstalling the browser plugin to point at the domain name but it doesn’t seem to recognize my serverkey\_private.asc file anymore.  
as I had added only a few test entries (because of the http) I would like to start from scratch, clearing the database and eventual configuration files/gpg keys but I would like to have a confirmation on what precisely has to be cleared to be able to restart from the configuration wizard…  
thanks in advance for your help!

Matteo

---

<div class="post-metadata">

**Author:** ![remy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/remy/32/17_2.png) [@remy](https://community.passbolt.com/u/remy)\
**Post date:** [April 30, 2020, 10:42am UTC](https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714/2 "2020-04-30T10:42:57Z")

</div>

Hello @ponce,

If the domain name changed (because of protocol change), you can follow the recovery process to link your account to the new domain. You can go to [https://yourdomain.com/recover](https://yourdomain.com/recover) and follow the process, it should work without having to reinstall.

However if you want to restart the wizard you need to:

- Delete the file located in your passbolt directory: `config/passbolt.php `
- Make sure `config` directory is writable
- Delete or create a new database instance
- You can also delete the keys from the keyring (optional)

That should be able to trigger the installation wizard.

---

<div class="post-metadata">

**Author:** ![ponce](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ponce/32/656_2.png) [@ponce](https://community.passbolt.com/u/ponce)\
**Post date:** [April 30, 2020, 1:16pm UTC](https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714/3 "2020-04-30T13:16:15Z")

</div>

thanks remy!

I have done like you noted, and I had to clear also the private and public keys from the passbolt/config/gpg/ (I left alone /home/www-data/.gpg) or the checks made as a first step from the wizard failed.  
for some reason regenerating a new server key failed (date seem to be ok on both client and server) but I imported the old serverkey\_private.asc so all was dandy: also, I haven’t got a similar problem when generating a gpg key for the admin user.

thanks again for your help!

Matteo

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [May 5, 2020, 1:16pm UTC](https://community.passbolt.com/t/how-to-clear-an-installation-to-restart-the-wizard/2714/4 "2020-05-05T13:16:18Z")

</div>

Closed on May 5, 2020, 1:16pm UTC

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
