Multiple Seafile instances on one machine

As @daniel.pan noted, this is not recommended and not supported “out-of-the-box” with seafile.

However it is possible:

  1. You need to run the instances under different user ids.
  2. You need to change all seafile scripts so pgrep/pkill will work correctly: s/pgrep/pgrep -u $(id -u)/ and s/pkill/pkill -u $(id -u)/
  3. During install you need to choose different ports for all seafile instances.
  4. During install you need a separate database for all seafile instances.
  5. Don’t forget to apply 2. to the new code before updating an instance!

HTH and again: This is not recommended!