Thanks for the answers - doing a fresh install, than importing the
backup via Setup-GUI and updating database tables afterwards was working
without error.
Migrating to 16.x from 1.8x worked for me so far when I 'just’
restored the backup without dropping the database (this means : when >
freshly installed the 16.x, when it’s completely fresh, go to the
/setup and restore the data from a backup made in 1.8.x- this can
take A LONG TIME on some machines depending on how much data is
there - but i (as a trial) restored 2 instances that way, even from
2 ‘single domain’ installs to one ‘multi domain’ install)
@Lukasz Sokol:
Can you please provide some more information on your way to create one
new multi domain server from two single instance backups?
I think about splitting my existing system into two domains via
importing the (modified) backup twice and deleting some of the users for
each new domain…
Thanks,
S. Seide
Yes :
-
first, when installed fresh, you go to the Header Setup, as header admin,
and create as many database instances as you need (when installed, it shows one already in,
so you need to create as many as you think you need) - each with their own
database name, and database user/password combination;
-
then your /etc/apache2/conf.d/egroupware (or a corresponding Apache .conf file for your
distribution - I used Debian 7 / Wheezy here) need to be edited to add the 2 disparate domains
and restart Apache;
-
then back to setup - you will see the domain choice there above the management username field - select the one you want;
-
you need to go through the setup steps for each domain including database creation and editing the configuration;
- in the ‘edit your current configuration’ step, pay attention to
"Enter the location of EGroupware’s URL." field - needs to be set up appropriately for each domain
EXACTLY as you got it in the apache conf file for the vhost.
-
and in the last steps of the above, ‘just’ restore your db backup to each domain.
This lets you access your 2 disparate egw domains as
https://your.server.address/egroupwarefirstdomain
and
https://your.server.address/egroupwareotherdomain
and still needs to have access to
https://your.server.address/egroupware - in fact , it probably is advised so,
as you select your domain at this point when logging in as ‘normal user’.
(I wrote this in a post to this group/mailing list on 30/03/17 10:04 : )
Quote:
"
in /etc/apache2/conf.d/egroupware file I have added:
this makes EGroupware available for all vhosts
Alias /egroupware /usr/share/egroupware
to run 2 disparate domains
Alias /egroupwaredomain1 /usr/share/egroupware
Alias /egroupwaredomain2 /usr/share/egroupware
and in each domain’s setup (through config admin) :
“Enter the location of EGroupware’s URL.” : /egroupwaredomain1
and
"Enter the location of EGroupware’s URL." : /egroupwaredomain2
now when I log in to one (e.g. select domain 1)
then go to /egroupware/login again and select domain2,
I now have 2 concurrent views of disparate set of data open in nearby tabs logged in as a different username into each one;
Which seems to be AMAZING if it is THIS simple. Hope I did not omit something important?"
(emphasis on the last question)…
(I still don’t really know how would I need to configure this to have access of like
https://firstvps.myserver.address/egroupware and
https://othervps.myserver.address/egroupware … this info is somehow sparse to find)
Hope this helps,
also you’re doing it at your own risk and all that the steps above seemed to have worked for me, but YMMV.
Kind Regards
Lukasz
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users