Alfresco Community 3.2 Ubuntu Package Explained
NOTE: This instructions apply to Jaunty Jackalope (9.04). The package is currently being updated for Karmic Koala (9.10).
UPDATED: Added link to CIFS/iptables configuration
UPDATED: Added note about applying amp files.
A couple weeks back we released the Alfresco Community V3.2 for Ubuntu package. The package was developed in conjunction with Canonical. We’ve been working on this for a while, but now have in place a general structure that will enable us to deliver updates to the package in a timely fashion.
Which version of Ubuntu? What is installed?
This initial release is packaged for Ubuntu 9.04 (Jaunty Jackalope). There maybe some back ports coming for older Ubuntu releases but nothing definite at this time. The idea is to make Alfresco Community easy to install, with most functionality available right out of the box. We’ve made a concerted effort to use base packages from the Jaunty distro, only adding ours when needed. The major packages that are installed when Alfresco is installed are: Tomcat 6, Sun Java 6, Mysql 5.1, OpenOffice.org 3 (Headless), ImageMagick, pdf2swf (from swftools — this is our own packaged version of the devel branch. It will be replaced with the next release of swftools when it is updated in the base of the distro).
How Do I Install It?
The alfresco-community package is located in the Ubuntu partner repository. These instructions assume that you are using the command line. You can also use an X-Windows desktop to install alfresco. If you do, some of the steps are a bit different, but the general outline can be grasped from these instructions. So let’s start…
You can add the partner repository by editing /etc/apt/sources.list. You need to uncomment the partner repo:
deb http://archive.canonical.com/ubuntu jaunty partner
deb-src http://archive.canonical.com/ubuntu jaunty partner
Next, you need to add the signed repository key:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E048451D9EE6D873
Refresh the apt cache for the newly added repository:
sudo apt-get update
You can now install Alfresco:
apt-get install alfresco-community
You will be prompted to enter the mysql admin password, to accept the Sun Java license, configure the alfresco database username and password (the default is to choose alfresco/alfresco), allow for the automatic configuration of tomcat.
Once complete, Alfresco Explorer and Alfresco Share will be available by pointing your browser to http://<IP Adresses or DNS Name>:8080/alfresco or http://<IP Adresses or DNS Name>:8080/share
Where does everything get put?
Using one of the default linux installs from www.alfresco.com, you will typically find alfresco installed under /opt/alfresco. By using the default tomcat, shipped with ubuntu, we followed its directory/configuration structure.
/var/lib/alfresco/var/lib/tomcat6/webapps/var/lib/tomcat6/shared/var/log/tomcat6Many of these directories are symbolic links to directories under /usr/share/tomcat6. However, the default tomcat configuration points to the /var/lib/tomcat6 directory.
By using the default tomcat we gain the advantage of an out of the box init script to control start and stop of Alfresco. You can now use /etc/init.d/tomcat start|stop|restart|try-restart|force-reload|status to control or check the status of the tomcat server.
To change the startup parameters of tomcat or those of Alfresco, (ie. memory settings, configuring JMX, etc.) modify the JAVA_OPTS variable in /etc/default/tomcat6.
Tomcat is run using a non-root user. This means that Alfresco cannot open the ports needed for CIFS, FTP, or NFS. Follow the instructions to configure alfresco and iptables to listen on non-standard ports and perform port forwarding. (Look at David Baker’s blog for step by step instructions on how to configure Alfresco CIFs with port forwarding using iptables.) The same use of non standard ports and iptables configurations should be applied to inbound SMTP and IMAP configurations.
Lagniappe
Here are a few other important things to note
AMP Files – One noticeable difference is that there is no apply_amps script. This is an oversight on my part and will be corrected in the next release. Meantime, if you want to apply an AMP, you can download the MMT tool and follow the instructions to install AMPs with MMT. Note: After applying an amp you will need to stop the alfresco server, remove the existing alfresco directory (rm -rf /var/lib/tomcat6/webapps/alfresco) and start alfresco. The new war file which contains the amps will then be deploy
Web Studio & Mobile – Alfresco Web Studio and Alfresco Mobile are not included in the current package. They will be included in the next release.
What does the future hold?
The plan we are discussing would be to provide the core repository and Alfresco Explorer as the central package, with separate packages for share, mobile, web studio, WCM and the filesystem receiver.
We are also open for suggestions. Let us know what you think.
[...] This post was Twitted by jottley [...]
Twitted by jottley
13 Aug 09 at 7:31 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I am using it now on the Karmic alpha, I got the .deb files from the partner repo and they installed perfectly. There are a couple of issues with the packaging of it for Ubuntu though, one is a problem with the E4X Rhino package which means some of the Alfresco Share stuff is broken out of the box https://bugs.launchpad.net/ubuntu/+source/alfresco-community/+bug/304702 the other is that as you pointed out running as the tomcat user it can’t open ports lower than 1024 so CIFS and webDAV are not working. If they were set up to serve on high numbered ports with an init script which runs as root that maps them to the real ports then it would give a better out of the box experience. https://bugs.launchpad.net/ubuntu/+source/alfresco-community/+bug/410375
I put the iptables rule in the tomcat init script, but really it would be better to set up an alfresco init script that just does the remapping (and unmapping on stop) and change the settings in the package to serve stuff on the high ports.
Alan Bell
13 Aug 09 at 11:00 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Alan, thanks for your comment.
I just tested Share looking for the E4X issue you mentioned. I believe I saw it the first time I tried to create a new wiki. I just tested a few other browsers on different OSs and can’t make it happen again. Can you log the issue and the steps to reproduce at http://issues.alfresco.com. That will put it in front of the engineers.
As for the port issues, I hear you. We may see a new alfresco only init script with some other modifications that we are going to try. One of the reasons why it is not there now is concern over conflicting with samba and other apps (FTP, Mail servers, NFS). I wanted to add a conflict between alfresco-community and some of the others, but it was vetoed. I do like the idea, of providing a script that can be run to make the modifications to file-servers-custom and add the iptables rules to be run when the interface comes up. It would need some testing to make sure that a user can specify the actual listening ports to avoid any other conflicts.
Again, great feedback. I’ll add this to my list of things to explorer.
jared
13 Aug 09 at 1:49 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
maybe if the port-mapping init scripts were in a separate package then that package could conflict with Samba and so on. It just seems a real shame not to have a fully featured Alfresco install with all the bells and whistles turned on working out of the box. Reproducing the E4X issue is simply a matter of installing it on a totally fresh Ubuntu Jaunty or Karmic then viewing the Alfresco share home page. The RSS reader pane on the default share page shows the error, as does the blog and wiki. I will have a go at logging the issues on the alfresco tracker and linking the launchpad issues to the upstream ones. It would be good for someone at Alfresco to get the Launchpad notifications for the package.
Alan Bell
13 Aug 09 at 3:25 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
reported them at
https://issues.alfresco.com/jira/browse/ALFCOM-3317
and
https://issues.alfresco.com/jira/browse/ALFCOM-3318
Alan Bell
13 Aug 09 at 3:46 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Good thinking. A separate package is a very good approach.
As for the the E4X bug…what OS are you using to access Share? Do you have any other Java apps running in Tomcat? I am not seeing those errors looking at it from a Mac or Windows.
jared
13 Aug 09 at 5:17 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Thanks for submitting those. The second one should be submitted at Launchpad. So it may be closed by the Engineering team.
I think what I’ll do from now on is take any bugs that are submitted for Alfresco itself at launchpad and submit them. All the bugs related to packaging will/should go to launchpad. Those will be addressed by the Alfresco package team.
jared
13 Aug 09 at 5:23 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I am using Ubuntu to access Share (I don’t use proprietary operating systems much
) but doesn’t the E4X stuff get executed server-side?
Alan Bell
13 Aug 09 at 10:57 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
You are correct. It is a server side issue. Do call it a bit of curiosity.
So I took a moment to re-read the bug. And here is what I’ve found. The rhino package referenced is provided from the distro. We provide our own. It is this distro version that is breaking Share. When the rhino package is installed it is getting referenced in the classpath over ours. Remove the rhino package and all should be well.
jared
14 Aug 09 at 12:25 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hey
Have just installed Alfresco using the package and all is working well. I did have an problem getting cifs to work but got there in the end.
Is there an timeline where I can track the next version.
Thanks for all your work on this.
Chris
Chris
20 Aug 09 at 12:20 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Chris,
It’ll be helpful if you can share what problems you faced and how you got CIFS working??
Mukul
24 Aug 09 at 2:39 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hi,
I’ve installed Alfresco using the package and it worked OK. But I’ve seen that only english language is installed. What should I do to add support for more languages?
amador
1 Sep 09 at 7:36 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Alfresco has several language packs available from the Alfresco Forge. There are links for language pack installation and language pack development from that page.
The language pack properties files for Alfresco Explorer should be installed into /var/lib/tomcat6/shared/classes/alfresco/messages. Those for Alfresco Share should go into /var/lib/tomcat6/shared/classes/alfresco/web-extension. The zip files containing the properties files should expand (using a relative path) into the messages and web-extension directories. Don’t forget that you will need to enable to languages to appear on the Alfresco Explorer login screen by modifying the web-client-config-custom.xml located in /var/lib/tomcat6/shared/classes/alfresco/extension (as described on the language pack installation wiki page). Alfresco Share will use your browser locale setting to choose the appropriate language.
jared
1 Sep 09 at 8:47 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Good start, I think it still needs the alfresco file folder so that you can program rules etc.
Chris
2 Sep 09 at 5:02 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Great work on the DEB package but I’m having problems getting AMPs packages to work.
I’m running 9.04 server and Explorer and Share work but I want Sharepoint protocol as well.
When I install vti-module.amp using the MMT tool it reports success and a list of the alfresco.war file show;
Module ‘org.alfresco.module.vti’ installed in ‘/usr/share/tomcat6/webapps/alfresco.war’
– Title: Vti
– Version: 1.2
– Install Date: Thu Sep 03 13:27:12 BST 2009
– Desription: Alfresco Vti Extension
However, on starting tomcat again the module does not get loaded and the org.alfresco.module.vti directory doesn’t appear below /var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/
Any thoughts?
Regards,
Steve
Steve
3 Sep 09 at 8:08 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Chris. Can you please expound? I’m not sure I understand.
jared
3 Sep 09 at 8:16 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Steve. Sounds like you need to remove the existing alfresco directory under /var/lib/tomcat6/webapps.
Steps:
Stop Alfresco/Tomcat
Remove the alfresco directory (/var/lib/tomcat6/webapps/alfresco)
Start Alfresco
The alfresco.war file will redeploy with the SPP VTI module installed.
Basically what happened is the the vti-module.amp was applied to the war file, but the alfresco directory wasn’t cleaned up. This is one of the things apply_amps.sh script does. I’ll update my post with a note about this.
jared
3 Sep 09 at 8:25 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
BRILLIANT!!
Spot on with the analysis and fix!
Might it be a good idea to add an rm -r /var/lib/tomcat6/webapps/alfresco line into the /etc/init.d/tomcat6 script so that it gets built each start?
Many thanks again.
Steve
Steve
3 Sep 09 at 9:51 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hi, does anybody try to install it at Gandi ?
Brice
4 Sep 09 at 9:42 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I was able to install it and plug with an apache front end to Tomcat with
Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch, and run phpmyadmin. Well.
I don’t understand the main difference between share and alfresco from the content side, I mean documents are added in place and seen (or not) by others.
By the way, with this ubuntu package, can you drag and drop existing documents in a user folder (UFS) and see it inside a content box (alfresco or share) as demonstration shown on Windows ?
Brice
4 Sep 09 at 9:52 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Share and Alfresco are used for different use cases. Both store content in the same repository.
Share is meant for collaboration using wikis, blogs, team calendar, document library, discussion groups, etc. These are all placed in the context of a site (Private, Public and Moderated). We also use Share with the Share Point Protocol integration. Also, the new Records Management Module is also built for Share.
Alfresco Explorer is more of a traditional Document Management interface. If you aren’t after collaboration Explorer is the option to use.
Yes, this version of Alfresco does support the drag and drop to a shared drive functionality. To use CIFS: It requires you to do port forwarding (iptables) since tomcat runs under a non-root user. I’m working on a post that will explain how to configure and provide working example of the port forwarding rules. To use WebDAV. This will work out of the box. Just use your OS’s webdav functionality to provide the shared drive interface.
jared
4 Sep 09 at 11:08 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Does anyone know if the bug listed here: https://issues.alfresco.com/jira/browse/ETHREEOH-2478
Is fixed in the Ubuntu packaged version?
Bob Brodie
4 Sep 09 at 5:25 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
From the bug report, this fix was made about a month after this code release.
jared
4 Sep 09 at 11:21 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I have followed all the instructions, it worked fine for http://localhost:8080/share but for the alfresco it gives me the following error:
type Status report
message
description The requested resource () is not available.
Anyone can help me? Thanks
rafael
6 Sep 09 at 8:04 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
“To use CIFS: It requires you to do port forwarding (iptables) since tomcat runs under a non-root user”
can’t it be done through port/redirectPort properties of a Tomcat Connector ?
Brice
7 Sep 09 at 6:14 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Brice: This may work, I haven’t tried using a tomcat connector to proxy requests to a port opened by a web application running inside of tomcat. You still would need to change the user tomcat is running as for tomcat to be able to open/listen on this lower port. Using iptables to push this to the OS to manage these connections allows you to maintain security by separating this redirect and maintaining Alfresco running as a non-root user.
jared
8 Sep 09 at 10:29 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@rafel Are you able to login to Alfresco Share?
jared
8 Sep 09 at 10:31 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
hiho …
… thx for the workaround of applying the amps …
vti-module now succesfully installed and loaded …
tomcat now is listening on port 7070 …
but how to connect to the “sharepoint” ?
http://ip:7070/alfresco won’t work …
elmuchacho
21 Sep 09 at 7:49 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
You will use the address inside of Word, Excel or Powerpoint. Take a look at Managing Alfresco Content from within Microsoft Office. It is available from the Alfresco Content Community. (Registration Required)
jared
23 Sep 09 at 11:10 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
As you know, CIFS isn’t enabled by default. I had a time trying to get it going, so now that I’ve figured it out I’ve written a short How-To on my website
http://www.davidbaker.cc/?q=node/3
David Baker
30 Sep 09 at 7:53 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@David This is awesome! I just haven’t had a chance to pull something together for a follow up post. I’ll update the post with a link to your blog. Thanks!
jared
30 Sep 09 at 10:32 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I too am experiencing the same issue as rafeal reported. Anyone else see this, or have a workaround/resolution?
Thanks!!
Keith
30 Sep 09 at 6:19 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I tried to install this french package, http://forge.alfresco.com/frs/?group_id=14
but I couldn’t find web-client-config-custom.xml, to activate it, any idea ?
brice
5 Oct 09 at 3:03 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I had to redeploy last alfresco.war from night builds http://dev.alfresco.com/downloads/nightly/dist/alfresco-community-war-3.2.zip
and add /var/lib/tomcat6/shared/classes/alfresco/extension/web-client-config-custom.xml
brice
5 Oct 09 at 9:28 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I get stuck on “how to connect alfresco using ldap authentication”, following http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#LDAP
isn’t tuned for openldap ubuntu implementation !!
https://help.ubuntu.com/community/OpenLDAPServer
does someone can show the simpliest example ?
to login alfresco using ldap1/ldap properties/xml files requires to be able to log through phpldapadmin too ?
here some config I tried :
/etc/ldap/ldap.conf
——————-
ldap_version 3
URI ldap://localhost:389
SIZELIMIT 0
TIMELIMIT 0
DEREF never
BASE dc=my-own-company, dc=com
leave blank SLAPD_CONF= of /etc/default/slapd
used dpkg-reconfigure slapd to initiate
populated with simple ldif, made of uid people
and add some tunning in
/etc/ldap/slapd.d/cn\=config.ldif
such as
olcLogLevel: acl stats
and
# Clear text to allow hashing
password-hash {CLEARTEXT}
# SASL mappings for md5 digest authentication
# Extract the user id and use as the search key
authz-regexp
uid=([^,]*),cn=digest-md5,cn=auth
ldap:///dc=my-own-company,dc=com??one?(uid=$1)
authz-regexp
uid=([^,]*),cn=my-own-company.com,cn=digest-md5,cn=auth
ldap:///dc=my-own-company,dc=com??one?(uid=$1)
should the access part be configured too ?
Brice
10 Oct 09 at 4:18 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I have the same problem as brice and I wanna to know if adding the web-client-config-custom.xml file from the night builds http://dev.alfresco.com/downloads/nightly/dist/alfresco-community-war-3.2.zip works well or not ?
Thanks
RachedTN
11 Oct 09 at 8:28 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@RachedTN: Yes, it reads local tunning (I was able to change language).
About Ldap authentication:
I validate the first step, i.e., getting access to local directory through ldap authentication with apache mechanism.
AuthBasicProvider ldap
AuthLDAPBindDN “cn=admin,dc=my-own-company,dc=com”
AuthLDAPBindPassword “the_admin_password_in_clear_text”
AuthLDAPURL “ldap://127.0.0.1:389/ou=people,dc=my-own-company,dc=com?uid”
AuthLDAPGroupAttributeIsDN on
Require ldap-group cn=a_group_name,ou=groups ,dc=my_own_company,dc=com
AuthType basic
AuthName “secret”
Still not working for alfresco.
Brice
13 Oct 09 at 8:20 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
[...] in a DMS for a while. Alfresco now have native IMAP support. They also offer apt-get installable goodness for januty. It is possible there is some performance issues with the IMAP functionality, but [...]
Alfresco and IMAP — Somewhere out there!
13 Oct 09 at 3:36 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Might someone have a successful instructions for setting FTP?
I am running ipTables and have added a rule:
iptables -t nat -A PREROUTING -p udp –dport 21 -j REDIRECT –to-ports 1121
Thanks
Chris
17 Oct 09 at 2:10 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Chris Have you also updated the file-servers-custom.xml? You need to add an FTP server section changing the port to 1121. See the config settings at http://wiki.alfresco.com/wiki/File_Server_Configuration#FTP_Server_Configuration.
jared
19 Oct 09 at 10:45 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
FTP Service
Add the following to alfresco-global.properties
http://ftp.enabled=true
http://ftp.port=1121
You have to select a port greater than 1024.
Any port less than 1024 is privileged.
Thanks
Chris
19 Oct 09 at 11:58 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Need to change that last post from:
http://ftp.enabled=true
http://ftp.port=1121
to
http://ftp.enabled=true
http://ftp.port=1121
Without the hyperlink
Chris
20 Oct 09 at 12:00 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
You may want to upadte your links from:
http://wiki.alfresco.com/wiki/File_Server_Configuration#FTP_Server_Configuration
Please Note: This article describes configuration methods now outdated in the Alfresco version 3.2 release. For a more up to date description, refer to File Server Subsystem.
to
http://wiki.alfresco.com/wiki/File_Server_Subsystem
Chris
20 Oct 09 at 12:02 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
To change the alfresco port from 8080 to 80 edit the following file:
sudo vi /etc/tomcat6/server.xml
before
<Connector port="8080" protocol="HTTP/1.1"
after
<Connector port="80" protocol="HTTP/1.1"
restart tomcat
sudo service tomcat6 restart
Chris
20 Oct 09 at 4:26 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Chris I guess this is what I get for not paying attention. (Switching back and forth between Alfresco Community and Enterprise can have its toll.)
You are correct Alfresco 3.2 introduces a new Subsystem architecture. So you can modify these values now in the alfresco-global.properties file and not need to make the modifications down in the xml files. (Though the previous config formats are still supported as legacy configuration.)
jared
20 Oct 09 at 4:57 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Forget the last port, this next one is better.
Chris
20 Oct 09 at 4:59 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
hi all
how upgrade this version to 3.2r ??
i try just deploy the alfresco.war but didn’t work !
thanks
kilgad
30 Oct 09 at 6:03 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@kilgad can you elaborate on the steps you took?
jared
30 Oct 09 at 4:33 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
it ’s work ! by this step :
1) stop tomcat
2) rm -R /var/lib/tomcat6/webapps/alfresco
rm -R /var/lib/tomcat6/webapps/share
3) copy the new file (3.2r) alfresco.war and share.war to /usr/share/tomcat6/webapps/
4) start tomcat
that’s work but my alfresco.log say nothing. i am searching why ..
kilgad
31 Oct 09 at 5:08 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I had Alfresco Community working successfully on Ubuntu 9.04 (remarkably easy install, BTW – exactly what’s needed to promote Alfresco).
Did a clean install of Ubuntu 9.10 “Karmic…” (the “real” production version) yesterday, only to find that Alfresco has disappeared from the Karmic repositories. Grrr…
Anyone know when an Alfresco package is likely to be released for Ubuntu 9.10? At present this is a deal-breaker for me trying to run Alfresco on Ubuntu.
Alternatively, is anyone aware of any plans for an Alfresco “live CD”, to ease the process of building Alfresco servers?
Thanks in advance,
englishtim
englishtim
31 Oct 09 at 5:17 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
When can we expect a package for Ubuntu 9.10?
Alexander
1 Nov 09 at 3:16 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hi jared,
the update to 9.10 destroyed the installation.
Are there any plans for 3.2r on 9.10?
friedmar
2 Nov 09 at 9:14 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hi Jared,
can you give someone a prod and get the Karmic partner repository populated please. There is no alfresco-labs in Karmic right now, here is the list of packages in the partner repo:
http://archive.canonical.com/ubuntu/dists/karmic/partner/binary-i386/Packages
and here is what it should look like as it is in Jaunty:
http://archive.canonical.com/ubuntu/dists/jaunty/partner/binary-i386/Packages
Alan Bell
3 Nov 09 at 11:32 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I posted a question about adding a amp file to war file on the alfresco forum. http://forums.alfresco.com/en/viewtopic.php?f=8&t=21688&p=75515#p75515
Thanks
Chris
7 Nov 09 at 3:27 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@kilgad try removing the alfresco and share directories from under /var/lib/tomcat6/work/Catalina/localhost
jared
7 Nov 09 at 11:13 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Alan, @friedmar, @Alexander, @englishtim: Schedule permitting I hope to be able to start working on upgrading the alfresco-community package this week. There are a few changes in karmic that we need to work through plus some additional new processes that we are adding before the package can be approved for release. It is coming, hopefully sooner than later.
jared
7 Nov 09 at 11:20 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Chris posting response
jared
7 Nov 09 at 11:54 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I tried this way of installing Alfresco and hit the following problem. I usually just install tomcat by un taring its directory structure.
Any idea on what I might try next ?
Thanks.
root@ubuntu:~/backups# apt-get install alfresco-community
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
alfresco-community: Depends: tomcat6 but it is not installable
E: Broken packages
Guy Roberts
18 Nov 09 at 11:13 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, if you need any help testing Alfresco on Karmic do give me a shout, I am keen to help get it available.
Alan Bell
25 Nov 09 at 10:52 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Setup a Ubuntu 9.10 server, successfully installed alfresco, then promoptly messed it up. I did a clean reinstall and now I get the same error that a previous user got.
Http Status 404 — The requested resource () is not available.
Don’t really know what to do.
Mike
25 Nov 09 at 5:27 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Any news on this?
the package is starting to show its age since the new releases come with many bug-fixes and new features!
Tom
4 Dec 09 at 11:10 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Works well on Jaunty!
However, you also mention “back ports coming for older Ubuntu releases”.
Are you planning something for Hardy?
Many thanx!
charly
Charly
19 Dec 09 at 12:38 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Can I upgrade ubuntu’spackage to normal Alfresco’s package 3.2r2 ?
PSA
20 Dec 09 at 9:43 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Thanks for the great post. It’s helped me a lot in getting Alfresco running on an Ubuntu 9.10 server.
“Tomcat is run using a non-root user. This means that Alfresco cannot open the ports needed for CIFS, FTP, or NFS.”
NFS runs on 2049, right? 2049 > 1024, so it should not require root permissions to run… or am I missing something?
Obviously, I am missing something, since I am unable to get Alfresco’s NFS server running. I edited the file-servers.xml file to look like:
… cut …
8
50
3049
2049
… cut …
and file-servers.properties has:
nfs.enabled=true
The server is an nfs client, so it already has nfs-common and portmapper installed and running.
What am I missing? What is the secret sauce to enable NFS?
Thanks!
Al
22 Dec 09 at 3:08 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@guy without more detail this one is hard to diagnose
jared
4 Jan 10 at 2:31 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Alan, I think we finally have this sorted. Our partner team is going to take ownership. I’m looking to get an update on the progress. I’ll post back as soon as I know something.
jared
4 Jan 10 at 2:34 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Mike sounds like parts of alfresco weren’t cleaned up. Looking in the webapps directory and remove the alfresco and share directory. Restart alfresco/tomcat and that should fix this issue.
jared
4 Jan 10 at 2:38 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Tom. Our partner team has taken ownership. This will move it out of the pre-sales team—where it will get the love and attention it really needs and deserves.
jared
4 Jan 10 at 2:40 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Charly Back ports become difficult…It is a hope, but it all depends on how likely the it is to see the dependent packages on older releases Namley: Sun Java 1.6 & Tomcat 6. We currently don’t support openJDK6….even though it may run on it. Early releases of openJDK6 weren’t very promising.
jared
4 Jan 10 at 2:45 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@PSA yes it “should” work. The easiest scenario is to take the latest war files apply the RM AMP (if you are looking to use the RM functionality). Otherwise, just take the war files (alfresco.war and share.war) from the latest community release, drop them in, remove the exploded alfresco and share directories and fire it up.
jared
4 Jan 10 at 2:55 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Al Hopefully it is getting plugged into the local portmapper correctly. If Alfresco is coming up all the way without any errors, it maybe a user mapping issue. Take a look at http://wiki.alfresco.com/wiki/File_Server_Subsystem#NFS_Server_Configuration, specifically, the nfs.user.mappings directive. You must preconfigure the list of all users who will be accessing Alfresco via nfs.
jared
4 Jan 10 at 2:59 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
great! really looking forward to testing it on Karmic, and indeed on Lucid!
Alan Bell
4 Jan 10 at 3:12 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Thanks for the info, Jared. Back to testing!
Al
4 Jan 10 at 3:50 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
The install for this works great but how do you start the virtualization server? There’s no virtual_alf.sh startup script.
Shawn
8 Jan 10 at 10:30 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
After I try upgrade to 3.2r2
the log file(/var/log/tomcat6/alfresco.log) didn’t describe startup process or anything but it describe in /tmp/tomcat6-temp/alfresco.log only
PSA
11 Jan 10 at 3:15 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Shawn: The virtualization preview server is not included in the package. Package is a bit more difficult and not something that has been tackled yet. One thing to note, is that it is no longer a dependency for Alfresco WCM. Check out the wiki page on WCM Preview Service.
jared
19 Jan 10 at 9:46 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@PSA: A yes. This happens because we modified the log4j.properties files in the ubuntu package from its default of a relative path (relative to where the start is called, in this case the init script uses the /tmp/tomcat6-temp) to an absolute path. You can easily fix this in the war files before you deploy it:
Unzip the war file in the webapps directory
unzip alfresco.war -d alfrescoopen
WEB-INF/classes/log4j.propertiesModify the
log4j.appender.File.File=alfresco.logline tolog4j.appender.File.File=/var/log/tomcat6/alfresco.logRepeat for share.war
jared
19 Jan 10 at 9:56 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I am having trouble with rules. The rules I put onto spaces are not firing. There is nothing in the logs. If I reapply the rules in a space, the files move according to the rules. The files don’t move on their own. I have 56 rules checking for text in the file name, inbound, and running in the background. Has anyone else seen this before?
Chris
4 Feb 10 at 4:23 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
This inability to fire rules in a space impacting. Has anyone else seen this issue in the alfresco package. Crazy thing is that there is nothing in the logs to support an error.
Chris
9 Feb 10 at 2:45 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Hello…I’m trying to do this on a new server image (9.10, Intel, x64) but the package doesn’t seem to be available. Is it only available for Ubuntu 9.02?
Tim
24 Feb 10 at 3:23 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Tim Yes, it does not currently work on 9.10. An updated package is currently being worked on, but has not yet been released.
jared
24 Feb 10 at 3:31 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I have just completed the install of alfresco community 3.2r2 on 9.10. So far everything works, except that the record management space and dashlet is missing in explorer and space respectively. Any idea as to what I could have done wrong?
courtney
27 Feb 10 at 1:43 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
[...] inoltre qui di seguito alcuni appunti dal blog di Jared Ottley dal quale ho preso spunto per la realizzazione di questa brevissima guida, appunti che ritengo utili [...]
Alfresco 3.2 come pacchetto su ubuntu server 9.04 e 9.10 via repository « giolek.wordpress.com
28 Feb 10 at 9:18 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Courtney: Most likely you haven’t installed the amps that contain the Records Management modules. The “r” signifies that this is the release of Alfresco that supports RM. It does not come pre-installed. Grab the amp files from the community download site. Apply the amps (1 for the alfresco.war file and 1 for the share.war file.) If you have already done this and you still aren’t seeing the RM functionality, you should remove the alfresco and the share directories from under tomcat/work/Catalina/localhost. This will do a bit of cleanup for the updated war file deployments. (I would suggest doing this later either way.)
jared
28 Feb 10 at 10:08 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, I have installed the amps, and the log tells me that the amps are installed. I am a bit lost, removing the alfresco and the share directories under tomcat/Catalina/localhost, where should I put them, or is it that they are not needed in this location?
courtney
28 Feb 10 at 11:20 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@courtney: The work directory is where the compiled JSP pages end up. It is a cache. Removing them, just removes the cached pages. Accessing any jsp pages will recompile the page and add it to the cache.
jared
28 Feb 10 at 11:50 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
how do I locate the tomcat/Catalina/localhost, since it is not a directory.
courtney
28 Feb 10 at 12:47 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Courtney: It is a directory and it looks like I put the wrong path tomcat/work/Catalina/localhost … missed the work part
jared
28 Feb 10 at 4:28 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
jared, I removed the both the alfresco and the share directory, I restarted the alfresco service, but now I am getting an error “safari cannot connect to the server” Is there a workaround?
courtney
28 Feb 10 at 8:07 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, ignore my earlier comment, I am now getting the admin page.
courtney
28 Feb 10 at 8:08 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, I have executed the instruction as suggested by you. However the RM functionality is still missing from the explorer and the shared site.
courtney
28 Feb 10 at 8:13 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@courtney: Try removing the share and alfresco directories from under tomcat/webapps/. (not the .war files) [Stop Alfresco, remove the dirs, start Alfresco] If that does not work, please outline the exact steps you took to install the amp files.
jared
28 Feb 10 at 8:55 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, it still did not work. I am going to remove the amps and reinstall it again.
courtney
1 Mar 10 at 6:31 am edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, I removed the alfresco.war file and directory in removing the record management amps file. This is after stopping the alfresco service. I then proceed to re-install the amps file, by first copying a back-up of my original alfresco.war file which I had saved when I first install Alfresco Community 3.2r2. I installed the shared record management first by using the following command java -jar alfresco-mmt.jar install alfresco-dod5015-unsupported.amp /opt/Alfresco/tomcat/webapps/alfresco.war. I did used the same command for the shared amps.
Now when I performed used the command line /opt# java -jar alfresco-mmt.jar list /opt/Alfresco/tomcat/webapps/alfresco.war I get the following results.
Unable to access jarfile alfresco-mmt.jar
Am I doing something wrong?
courtney
2 Mar 10 at 3:13 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
jared, I retracted my steps and got the alfresco going again. However, record management is still missing. I check the install amps module and this is the response:/opt/Alfresco/rm# java -jar alfresco-mmt.jar list /opt/Alfresco/tomcat/webapps/alfresco.war
Module ‘org_alfresco_module_dod5015′ installed in ‘/opt/Alfresco/tomcat/webapps/alfresco.war’
– Title: DOD 5015 Records Management
– Version: 1.0
– Install Date: Tue Mar 02 22:14:24 EST 2010
– Desription: Alfresco DOD 5015 Record Management Extension
Module ‘org_alfresco_module_dod5015_share’ installed in ‘/opt/Alfresco/tomcat/webapps/alfresco.war’
– Title: DOD 5015 Records Management Client
– Version: 1.0
– Install Date: Tue Mar 02 22:11:59 EST 2010
– Desription: Alfresco DOD 5015 Record Management Share Extension
Any idea?
courtney
2 Mar 10 at 8:26 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Courtney: Yes. I see the problem. The second amp: org_alfresco_module_dod5015_share should be applied against the share.war file not the alfresco.war file.
jared
2 Mar 10 at 8:52 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, I retraced my steps and placed the correct install in the correct place according to your early comment. I also check the installation and this is what is reported:/opt/Alfresco/rm# java -jar alfresco-mmt.jar list /opt/Alfresco/tomcat/webapps/alfresco.war
Module ‘org_alfresco_module_dod5015′ installed in ‘/opt/Alfresco/tomcat/webapps/alfresco.war’
– Title: DOD 5015 Records Management
– Version: 1.0
– Install Date: Wed Mar 03 15:33:39 EST 2010
– Desription: Alfresco DOD 5015 Record Management Extension
root@limcoserver:/opt/Alfresco/rm# java -jar alfresco-mmt.jar list /opt/Alfresco/tomcat/webapps/share.war
Module ‘org_alfresco_module_dod5015_share’ installed in ‘/opt/Alfresco/tomcat/webapps/share.war’
– Title: DOD 5015 Records Management Client
– Version: 1.0
– Install Date: Wed Mar 03 15:31:11 EST 2010
– Desription: Alfresco DOD 5015 Record Management Share Extension
I am still not seeing the record management dashlet or space. Need to know am I using the right installable files?
courtney
3 Mar 10 at 1:51 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Courtney: Yes. This is correct. Stop Alfresco. remove the alfresco and share directories from under tomcat/webapps, remove the same directories from under tomcat/work/Catalina/localhost. Start Alfresco. You should now be able to add the RM Dashlet in share and then create RM sites.
jared
3 Mar 10 at 2:10 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Jared, thanks much, it worked!!!
courtney
3 Mar 10 at 2:18 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
@Courtney: Good to hear
jared
3 Mar 10 at 2:19 pm edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>