Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. How to make a totally clean re-install?

How to make a totally clean re-install?

Added by Piotr F almost 5 years ago

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


Replies (2)

RE: How to make a totally clean re-install? - Added by Johan Bouduin almost 5 years ago

if possible: start with a brand new vps.

if not:

  1.  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 
  1. remove the apache and ssl configurations.
  2. remove the database from postgres (drop database)
  3. remove the user openproject from postgres (drop user)
  4. uninstall postgres
  5. 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

RE: How to make a totally clean re-install? - Added by Piotr F almost 5 years ago

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

  • (1 - 2/2)
Loading...