Content
How to make a totally clean re-install?
Started July 31, 2020 10:44 · 2 replies · 2 participants
Hello,
I need to remove literally all OpenProject files, config and so on from VPS (Debian 10), and then make a clean install.
Cannot find anything in the guide.
Would be very grateful for any clues.
Best,
Piotr
if possible: start with a brand new vps.
if not:
- uninstall openproject. For me that would be using the packet manager (apt) everything and check what is left from the following file-structure (this is the filestructure from my very first openproject installation, that was mysql and apache)
/etc/openproject
├── addons
│ ├── apache2
│ │ └── includes
│ │ ├── server
│ │ │ ├── 00_repositories_perl.conf
│ │ │ └── placeholder.conf
│ │ └── vhost
│ │ ├── api.conf.old
│ │ ├── assets.conf
│ │ ├── compression.conf
│ │ ├── expiration.conf
│ │ ├── git_smart_http.conf
│ │ ├── ssl.conf
│ │ └── sys.conf
│ └── mysql
├── conf.d
│ ├── database
│ ├── memcached
│ ├── other
│ ├── server
│ └── smtp
└── installer.dat
/opt/openproject (main install directory)
/usr/bin/openproject (-rwxr-xr-x 1 root root)
/var/db/openproject
├── backup
│ ├── attachments-20190219135355.tar.gz
│ ├── attachments-20190513133146.tar.gz
│ ├── conf-20190219135355.tar.gz
│ ├── conf-20190513133146.tar.gz
│ ├── git-repositories-20190219135355.tar.gz
│ ├── git-repositories-20190513133146.tar.gz
│ ├── mysql-dump-20190219135355.sql.gz
│ └── mysql-dump-20190513133146.sql.gz
├── files
│ └── attachment
│ └── file
│ ├── 1
│ ├── 10
│ │ └── ico_transparent.png
│ ├── 11
│ │ └── jira-rest-plugin.wadl
│ ├── 2
│ ├── 3
│ ...
│ ├── 8
│ │ └── rockavaria_cr.jpg
│ └── 9
└── git
├── sw-ngl-basetypes.git
├── sw-ngl-doc.git
├── sw-ngl.git
...
└── www.git
├── branches
├── config
├── description
├── HEAD
├── hooks
│ ├── applypatch-msg.sample
│ ├── commit-msg.sample
│ ├── fsmonitor-watchman.sample
│ ├── post-update.sample
│ ├── pre-applypatch.sample
│ ├── pre-commit.sample
│ ├── prepare-commit-msg.sample
│ ├── pre-push.sample
│ ├── pre-rebase.sample
│ ├── pre-receive.sample
│ └── update.sample
├── info
│ └── exclude
├── objects
│ ├── info
│ └── pack
└── refs
├── heads
└── tags
/var/log/openproject/*.log
- remove the apache and ssl configurations.
- remove the database from postgres (drop database)
- remove the user openproject from postgres (drop user)
- uninstall postgres
- remove the users and groups 'postgres' and 'openproject' (userdel -r and groupdel)
That's all I can think of. But again, if possible start with a clean VPS.
have fun...
Johan
Hi Johan,
Thanks a lot.
Yes, starting a new VPS is always a solution. :)
Thank you for the scheme.
This is a bit of a flaw, the lack of software 'uninstall' which removes everything, along with dependencies.
Cheers,
Piotr