cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu install issues, or bugs?

loonsailor
Champ in-the-making
Champ in-the-making
I installed labs 3.0b on ubuntu 8.04.  It works pretty well, which is kind of amazing considering that it's an 800Mhz, 512MB system (a new one shows up next week).  However, there are a few issues, and I'm not sure whether they're install problems or bugs.  Just for completeness, and for the next guy, I'll note a couple of things that I've already fixed.  I'm currently using the built-in derby database, rather than mySql.  (is there a good reason to switch soon?) 

The error messages are from alfresco.log.  I'm not sure if there are other logs that I should be checking. 

[size=125]1. pdf2swf[/size]
I was getting an error about pdf2swf:
 ERROR [org.alfresco.repo.content.transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer: 
Execution result:
   os:         Linux
   command:    pdf2swf -V
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
I installed swftools (with synaptics) and no longer get this error.


[size=125]2. OpenOffice / file conversion[/size]
I'm having problems with OpenOffice.  I was getting this error:
ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed: 
Execution result:
   os:         Linux
   command:    "/usr/bin/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:////usr/local/Alfresco" -nologo -headless -nofirststartwizard -nocrashrep -norestore
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program ""/usr/bin/soffice"": java.io.IOException: error=2, No such file or directory
I modified tomcat/shared/classes/alfresco/extension/bootstrap/openoffice-startup-context.xml, fixing the line that starts soffice so that it's now
<value><![CDATA[/usr/bin/soffice "-accept=socket…
The error is no longer logged, but I still get the following warning message:

09:20:30,494 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
I wouldn't worry about the warning, except that I can't seem to do a .doc to .pdf conversion, and I suspect that the lack of connection to OpenOffice is the reason.  When I try to convert name.doc to a pdf (show details / run action / transform and copy content) it makes a file called name.pdf, but it's still a word file, of identical size to the original.  It seems that the file is just being copied and rename instead of being transformed.


[size=125]3. Info / details bug[/size]
Those first two seem like installation problems, but the last thing seems like a bug to me.  Clicking the "details" icon from the "information" box doesn't work.  When I'm browsing the space, click "i" then click the "details" icon, it goes to a blank page.  When I'm looking at a file with the "My Spaces List" widget in my dashboard and I click "i" then "details", a new firefox tab appears, then instantly disappears.  However, when I click the "details" icon beneath the file while browsing the space (rather than from the information box) it works fine.

Thanks, in advance, for any help with these issues.  Of course, the nicest thing will be when the slfresco ubuntu package is complete, and all will magically just work!
11 REPLIES 11

womer
Champ in-the-making
Champ in-the-making
Just a comment and a huge thank you… this corrected my issues with open office.

Thanks!


I've fixed the Openoffice / file conversion problem.  There seems to be a bug in tomcat/shared/classes/alfresco/extension/bootstrap/openoffice-startup-context.xml.  I modified the CDATA line, removing all the quotes which were screwing it up, and opening soffice.bin directly.  It now reads
 <value><![CDATA[/usr/lib/openoffice/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////usr/lib/openoffice -nologo -headless -nofirststartwizard -noc
rashrep -norestore]]></value>

File conversion works fine now, and there are no openoffice-related error or warning messages.

The info box problem, that I listed as problem #3 in my original post, persists.  Does anybody else have this problem?  Is it fixed in the enterprise version?

Also, I've written an init.d startup script.  I'll add it as a separate post.

mr_adthinh
Champ in-the-making
Champ in-the-making
install alfresco ubuntu 8.10