cancel
Showing results for 
Search instead for 
Did you mean: 

Installproblems with Alfresco 2.0 and unattended mode

reisszahn
Champ in-the-making
Champ in-the-making
Hello Users,
I have a problem with the installation on suse 10.2

[root@vmware-alfresco]# ./alfrescocommunity-2.0-linux-x86-install -S
An error has occurred during installation
        An error has occurred during installation
        error renaming "/opt/alfresco/tomcat/shared/classes/alfresco/extension/custom-db-connection.properties.<%ALF_DB%>": no such file or directory
    while executing
"file rename -force $src $dst"
    (procedure "::InstallJammer::actions::RenameFile" line 6)
    invoked from within
"::InstallJammer::actions::$type $obj"
    while executing
"::InstallJammer::ExecuteActions $action  -parent $id -conditions $eval"
    (procedure "::InstallJammer::actions::ExecuteAction" line 6)
    invoked from within
"::InstallJammer::actions::$type $obj"
    while executing
"::InstallJammer::ExecuteActions Silent"
    (procedure "::InstallJammer::InstallMain" line 15)
    invoked from within
"::InstallJammer::InstallMain"
    (procedure "main" line 2)
    invoked from within
"main "
    invoked from within
"if {![info exists ::InstallJammer]} { main }"
    (file "/installkitvfs/main.tcl" line 20997)

Same problem like http://forums.alfresco.com/viewtopic.php?t=5152
but with the final version!
"-DALF_DB=mysql" from that thread doesn't help

Can somebody help me?

Greets Daniel
6 REPLIES 6

forcev
Champ in-the-making
Champ in-the-making
How did you pass the mysql parameter?

./alfrescocommunity-2.0-linux-x86-install -S -DALF_DB=mysql

or

./alfrescocommunity-2.0-linux-x86-install -DALF_DB=mysql -S

reisszahn
Champ in-the-making
Champ in-the-making
both….  :cry:

ALF_DB=hsql doesn't work too

forcev
Champ in-the-making
Champ in-the-making
I've just tried and I'm afraid I get the same errors Smiley Sad

Out of interest, are you trying to use the unattend to install on a headless machine which has no X windows?  If so have you tried using ssh -X ?

reisszahn
Champ in-the-making
Champ in-the-making
Yes, it's in a vmware.
I have installed it on suse 10.2 with kde without any problems..
but the -S doesn't work correctly..
i will not use the kde because the overhead is to much. (with kde=3gb without =1,5gb)
I don't know ssh -x.. Can you explain?

can somebody help me with the unattended installation without x windows?

paulhh
Champ in-the-making
Champ in-the-making
Couple of things - first, we're going to be moving to the latest version of InstallJammer with the next release, which has a console-based install capability, so I hope this will solve the problem going forward.

Currently, all the install does is copy or move configuration files in the installed dir tomcat\shared\classes\alfresco\extension.

The database-specific ones that are used on server startup are:
custom-db-connection.properties
custom-hibernate-dialect.properties

You can see the different db versions of these in there with their DB suffix.  Just copy/move them as needed.

So, write a small script that does the default comandline install, followed by the file switching.

Cheers
Paul.

forcev
Champ in-the-making
Champ in-the-making
paulhh, are there any plans to package Alfresco - rpm / deb? Similar to the likes of Zimbra

I don't know ssh -x.. Can you explain?

can somebody help me with the unattended installation without x windows?

The way I managed to install Alfresco on my production headless server that doesn't have X Windows installed was simple.  Using the -X option it redirects the X session to your machine.

I just ran
ssh -X <server.host.name>
from my workstation (running linux); entered my credentials as normal; ran the installer; and did my selections as if I ran the installer locally within my KDE/GNOME session.  Make sure you run -X and NOT -x, also ensure you run it from within your LAN and not over the WAN this is ssh's own recommendation.

I installed this way and it worked for me, hope it helps.