Upgrade 11.4.3 -> 11.4.5 all webapps lost

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Tue Sep 01, 2009 8:53 am

Hi,

So I attempted to upgrade from 11.4.3 to 11.4.5 everything went smooth until I tried to log into the SWA or the SAC!! I kept getting 404 errors.... I look around abit and found that there was nothing in /var/opt/scalix/<instance>/tomcat/webapps/ there was nothing there except the ROOT directory. this should have had ./caa ./api ./sac /webapps etc.... where did they go?

how where do these get created? I did some poking at the RPM's but couldn't find anything. at this point I have restored the missing files from backup, but I'm sure that means I'm in some sort of halfway upgraded place....

Thanks in advance for any advice.

Ralph
It's so much easier to suggest solutions when you don't know too much about the problem.

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby ls-al » Tue Sep 01, 2009 12:08 pm

If the RPMs are installed and have the correct version you will have the most luck by running the scalix-installer and use the reconfigure for the webapps.

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Tue Sep 01, 2009 1:05 pm

ls-al wrote:If the RPMs are installed and have the correct version you will have the most luck by running the scalix-installer and use the reconfigure for the webapps.



Hi Thanks for the response, I have tried running the installer and reconfiguring webmail, tomcat and the SAC but with no luck
It's so much easier to suggest solutions when you don't know too much about the problem.

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby ls-al » Tue Sep 01, 2009 4:23 pm

The applications in the webapps directory are deployed by the symlinks to the <app>.xml files in /var/opt/scalix/??/tomcat/conf/Catalina/localhost/.
Usually the installer will take care that the symlinks exist by calling /opt/scalix-tomcat/bin/sxtomcat-webapps ....
Was the first installer run successful or are there errors in /var/log/scalix-installer-<date>.log?

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Tue Sep 01, 2009 7:04 pm

And then there was light....

2009-08-31 23:08:10,474 INFO Modifying Tomcat's scalix-tomcat.conf
2009-08-31 23:08:11,113 INFO Configuring SAC in /var/opt/scalix/m1/caa ...
2009-08-31 23:08:11,238 INFO Mailnode is mail01
2009-08-31 23:08:11,239 INFO Server's existing mailnode is mail01
2009-08-31 23:08:11,522 INFO Configuring / upgrading SAC
2009-08-31 23:08:11,630 INFO Configuring RES in /var/opt/scalix/m1/res/config ...
2009-08-31 23:08:11,631 CRITICAL Operation failed: Web apps config function configure_res failed: determine_server_host() takes exactly 1 argument (0 given)
2009-08-31 23:08:11,631 ERROR Operation failed: Aborting web apps configuration


How do I fix this?
It's so much easier to suggest solutions when you don't know too much about the problem.

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby ls-al » Wed Sep 02, 2009 3:49 am

would check that "hostname -fqdn", /etc/opt/scalix/instance.cfg, /etc/hosts and DNS are talking about the same host.
some of the "best-guess" functions in the installer dont like what they see on your system.

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Wed Sep 02, 2009 7:25 am

ls-al wrote:would check that "hostname -fqdn", /etc/opt/scalix/instance.cfg, /etc/hosts and DNS are talking about the same host.
some of the "best-guess" functions in the installer dont like what they see on your system.



Okay so they disagree.... as scalix is installed on a virtual IP addresss of this host.... is there a way to provide the information to the installer so it isn't guessing?
It's so much easier to suggest solutions when you don't know too much about the problem.

dirk
Scalix
Scalix
Posts: 84
Joined: Fri Mar 16, 2007 6:03 pm
Location: Germany
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby dirk » Wed Sep 02, 2009 8:31 am

If Scalix is not to be installed on the IP that belongs to "hostname" the installer can care of it by using a cli switch.

Code: Select all

Usage: scalix-installer [--cli] [--debug] [--rpmdir=rpm-dir] [--logdir=log-dir] [--instance=inst-name] [--hostname=hostname] [--override-release=id] [--show-release-ids] [--version]

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Fri Sep 04, 2009 10:58 am

Thanks Dirk... that was quite helpful... things seem to be working better after that however things still aren't correct.

The items in /var/opt/scalix/<instance>/tomcat/webapps/ still were not created and I ended up restoring them from backup again. while everything appears to be working they it is still broken.

I am seeing these in the SWA log:

Code: Select all

2009-09-04 09:54:08,080 ERROR [SoapMail.getFolderListRevision:807] Error in getFolderTreeRevision!
java.net.ConnectException: Connection refused
2009-09-04 09:57:35,911 ERROR [SoapMail.fetchMessageHeaders:1428] Reverting to IMAP to fetch headers for for folder INBOX because of an exception:
java.net.ConnectException: Connection refused


and my account keeps getting locked every 10 min or so :shock: :lol:
It's so much easier to suggest solutions when you don't know too much about the problem.

rlshepard
Posts: 34
Joined: Fri Jun 27, 2008 1:23 pm
Location: Overland Park, KS
Contact:

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost

Postby rlshepard » Fri Sep 04, 2009 11:32 pm

rlshepard wrote:Thanks Dirk... that was quite helpful... things seem to be working better after that however things still aren't correct.

The items in /var/opt/scalix/<instance>/tomcat/webapps/ still were not created and I ended up restoring them from backup again. while everything appears to be working they it is still broken.

I am seeing these in the SWA log:

Code: Select all

2009-09-04 09:54:08,080 ERROR [SoapMail.getFolderListRevision:807] Error in getFolderTreeRevision!
java.net.ConnectException: Connection refused
2009-09-04 09:57:35,911 ERROR [SoapMail.fetchMessageHeaders:1428] Reverting to IMAP to fetch headers for for folder INBOX because of an exception:
java.net.ConnectException: Connection refused


and my account keeps getting locked every 10 min or so :shock: :lol:



Ha figured out the account lock out issue, stupid 'test' PC under my desk with Outlook running :oops:
It's so much easier to suggest solutions when you don't know too much about the problem.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 7 guests

cron