Issue 19464 - Upgrade / update process broken
Summary: Upgrade / update process broken
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 20:38 UTC by Unknown
Modified: 2003-11-05 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-09-11 20:38:32 UTC
I've been using OpenOffice technology since StarOffice 4 in an 
multiuser installation. I have never been able to upgrade from one 
version to the next one without problems. 
 
I use a multiuser installation of OpenOffice.org. I had 
OpenOffice.org 1.1rc1 installed and wanted to upgrade to 1.1rc4 
 
1. I started the installation with ./setup -net 
-upgrade:/usr/local/opt/OpenOffice.org which is advised in the 
setup guide. After some screens the installation program asks me 
where to install OpenOffice.org. What to do now? I cancelled the 
installation because I was sure, that the installation program did 
not want to do an update. Why did I cancel the installation? First, 
because the installation program clearly asked for a 
installationdirectory and not for a directory with the old 
installation. Second, the default path in the input box was 
/opt/OpenOffice.org1.1.0 and not my installation directory. And 
third, I did not expect such question at all. 
 
2. I started my second attempt with ./setup -net. Surprisingly the 
installation program asked me, if I wanted to update my 
installation. I went through the upgrade and thought everything is 
fine. But then I asked me: How did the installation program know, 
where the old installation lied? I think it took it from 
/root/.sversionrc. But this is wrong, wrong and dangerous. The 
installation programm has to ask which directory to use for the 
upgrade or use the directory from the -update option. But never 
ever use the .sversionrc. Who has ever stated that the user who 
updates an Openoffice.org installation also used the old one? 
 
3. But the real crap began when I wanted to upgrade my first user. 
The setup guide states, that you only have to start one application 
and the setup programm will update the installation without 
changing the configuration files. But this is a lie. The setup 
programm asked for a installation directory and wanted to start a 
new workstation installation. I am sure, because it wanted to have 
the users personal data typed in. An update does not ask for this. 
To sum it up, I did not manage to do a update of the users 
installation. I did it like the 500 times before: The user got a new 
installation and a new configuration. 
 
 
I have only two users besides me and one can manage to make a 
new configuration each time a new version is released. But think 
about a company: 
 
OpenOffice.org is not qualified for business use. 
 
The solution is: 
 
1. The installation program always has to ask for an upgrade 
directory unless the admin uses the -update option. 
2. An update facility for a workstation installation has to be 
implemented.
Comment 1 Olaf Felka 2003-10-02 11:23:31 UTC
"./setup -net -upgrade:/usr/local/opt/OpenOffice.org" is not what is
written in setup guide: It should have been 'update'. And you have to
write the complete path to RC1.
I don't see what's dangerous in using the sversion file for detecting
an updateable OOo version? As long as we have no GUI to point the
installation to a previous installed office there is no other way. And
normally a user doesn't have more than one version on his computer.
After updating RC1 with 1.1.0 final on the server side I've started my
./soffice of the previous workstation installation: The update for the
workstation will start.
For OOo 1.1.0 we won't change the behaviour. For OOo we will change to
 native installer, with all possibilities of these tools.
Comment 2 Olaf Felka 2003-10-02 11:23:53 UTC
Closed.
Comment 3 Unknown 2003-10-06 17:17:36 UTC
I used -update instead of -upgrade as stated in the setup guide. 
However I tried to update from RC4 to 1.1 which failed the same way. 
 
./setup -net -update:/usr/local/opt/OpenOffice.org 
 
did not work at all. The installation routine still asks me for a 
path, although the full path is already given. Additionaly it asks 
me wheather it should replace files of the old installation. This 
behaviour is completly wrong. 
 
At least one gets several message boxes with errors like:  
 
No resource: Error message not available Function: 'PatchFontsDir' 
Line: 79 
Comment 4 Olaf Felka 2003-10-06 22:08:17 UTC
RC4 can't be updated by 1.1.0 final. These versions are nearly identical. Identic OOo 
versions can't be updated.
Comment 5 Olaf Felka 2003-11-05 15:14:53 UTC
Invalid