Projet

General

Profil

Install on 4.2.f show no indication that beCPG Project is installed

Ajouté par Trevor Townsend il y a presque 10 ans

Alfresco CE 4.2.f installed on Ubuntu Server 12.04.4_64 in VMware Workstation under W7U64.

I've installed the 4 amp files from this file: http://sourceforge.net/projects/becpg-community/files/becpg-community-1_6_a/becpg-1.6.0-20140407-1124-becpg-project.zip/download
I followed the other thread here to switch from SOLR to LUCENE.
After following the instructions for installing the <core> and <project> amps, I re-start Alfresco and browse to Share.
There is no indication of bdCPG being installed - no menu beside Admin Tools; nothing.
Catalina.out shows no errors.

May I have some suggestions? I would very much like to use your tool!

Many thanks,
Trevor


Réponses (9)

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Philippe Quéré il y a presque 10 ans

Hello,

Have you looked in the folder $SERVER/webapps/alfresco/WEB-INF/classes/alfresco/module that you have theses folders : becpg-core and becpg-project-core ?

Also, have you patched the file project-context.xml ?
You can download it in the folder patch on SourceForge:
http://sourceforge.net/projects/becpg-community/files/becpg-community-1_6_a/Patch/

Regards,

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Trevor Townsend il y a presque 10 ans

Salut Philippe,

Those folders are not there. I installed exactly following the instructions.
I did not apply the patch because I could not find documentation on how to apply it/where is goes.

Here is some information about what files/folders are on my system (Ubuntu 12.04)

root@server:/opt/alfresco-4.2.f$ updatedb
root@server:/opt/alfresco-4.2.f$ locate project-context.xml
root@server:/opt/alfresco-4.2.f$

root@server:/opt/alfresco-4.2.f# locate becpg
/opt/alfresco-4.2.f/amps/becpg-core-1.6.0.amp
/opt/alfresco-4.2.f/amps/becpg-project-core-1.6.0.amp
/opt/alfresco-4.2.f/amps_share/becpg-project-share-1.6.0.amp
/opt/alfresco-4.2.f/amps_share/becpg-share-1.6.0.amp
/opt/alfresco-4.2.f/postgresql/lib/libecpg.a
/opt/alfresco-4.2.f/postgresql/lib/libecpg.so
/opt/alfresco-4.2.f/postgresql/lib/libecpg.so.6
/opt/alfresco-4.2.f/postgresql/lib/libecpg.so.6.4
/opt/alfresco-4.2.f/postgresql/lib/libecpg_compat.a
/opt/alfresco-4.2.f/postgresql/lib/libecpg_compat.so
/opt/alfresco-4.2.f/postgresql/lib/libecpg_compat.so.3
/opt/alfresco-4.2.f/postgresql/lib/libecpg_compat.so.3.4

Merci beaucoup,
Trevor

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Philippe Quéré il y a presque 10 ans

If you don't have these folders then amp are not installed correctly.
Have you removed folders $SERVER/webapps/alfresco and $SERVER/webapps/share after installing amp ?

Regards,

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Trevor Townsend il y a presque 10 ans

Salut Philippe,

No, I did not remove them. When I started Alfresco, this was the folder structure:

root@c3ishare:/opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module# ls -la
total 52
drwxr-xr-x 11 root root 4096 Apr 23 11:42 .
drwxr-xr-x 29 root root 12288 Apr 23 11:01 ..
drwxr-xr-x 2 root root 4096 Apr 23 11:01 backup
drwxr-xr-x 6 root root 4096 Apr 23 11:01 becpg-core
drwxr-xr-x 6 root root 4096 Apr 23 11:01 becpg-project-core
drwxr-xr-x 3 root root 4096 Apr 23 11:01 org.alfresco.extension.alfresco-bulk-filesystem-import
drwxr-xr-x 3 root root 4096 Apr 23 11:01 org.alfresco.integrations.google.docs
drwxr-xr-x 10 root root 4096 Apr 23 11:01 org_alfresco_module_rm
drwxr-xr-x 3 root root 4096 Apr 23 11:01 org.alfresco.module.vti

1 - Should I remove them?
2 - Where does the patch go?

I'll re-test and come back with the results.

Cheers,
Trevor
drwxr-xr-x 3 root root 4096 Apr 23 11:01 projects
drwxr-xr-x 2 root root 4096 Apr 23 11:01 sample
rw-r--r- 1 root root 0 Apr 23 11:42 share.log

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Philippe Quéré il y a presque 10 ans

You don't need to remove alfresco and share webapp since amps seem to be installed.

Since you are on linux, patch is not necessary.
By the way, project-context.xml can be found under becpg-project-core (if you do a search).

Regards,

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Trevor Townsend il y a presque 10 ans

For other reasons, I had to revert to a pre-becpg install in my VM (so no becpg files/folders anywhere).
I then tried to install becpg Project, but, again - no evidence of the install.

Again, I followed the instructions exactly. Here are the steps I took:

- move appropriate core and share .amp files to amps/ and amps_share/ respectively;
- Following best-practices, I deleted $SERVER/tomcat/webapps/alfresco and $SERVER/tomcat/webapps/share directories;
- run alfresco-mmt.jar from bin and piped output to logfiles for each of the 4 .amp files;
- did "watch ls-la /opt/alfresco/tomcat/webapps" while running alfresco-mmt.jar and observed that no folders were created;

Have I done anything incorrectly?

Merci,
Trevor

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Trevor Townsend il y a presque 10 ans

EDIT: I have very strange results, see below. I am unsure how to proceed from here to a working becpg project installation.

The becpg amps appear to be installed, but no folder were created as Philippe indicates that they should.

root@server:/opt/alfresco-4.2.f/bin# java -jar alfresco-mmt.jar list ../tomcat/webapps/alfresco.war
Module 'becpg-project-core' installed in '../tomcat/webapps/alfresco.war'
- Title: beCPG Project Core
- Version: 1.6.0
- Install Date: Tue Apr 22 11:23:14 EDT 2014
- Description: beCPG Project
Module 'becpg-core' installed in '../tomcat/webapps/alfresco.war'
- Title: beCPG Core
- Version: 1.6.0
- Install Date: Tue Apr 22 11:22:53 EDT 2014
- Description: BeCPG repository
Module 'org_alfresco_module_rm' installed in '../tomcat/webapps/alfresco.war'
- Title: Records Management
- Version: 2.1
- Install Date: Sun Apr 20 05:20:57 EDT 2014
- Description: Alfresco Record Management Extension
Module 'org.alfresco.integrations.google.docs' installed in '../tomcat/webapps/alfresco.war'
- Title: Alfresco Google Docs Integration
- Version: 2.0.4
- Install Date: Thu Apr 03 21:27:22 EDT 2014
- Description: Alfresco Docs Integration
Module 'org.alfresco.extension.alfresco-bulk-filesystem-import' installed in '../tomcat/webapps/alfresco.war'
- Title: Alfresco Bulk Filesystem Import v1.3.1 (for Alfresco v4.0, v4.1 and v4.2)
- Version: 1.3.1
- Install Date: Thu Apr 03 21:27:16 EDT 2014
- Description: Alfresco Bulk Filesystem Import tool. Provides high performance bulk loading of content from the server's filesystem into Alfresco.
Module 'org.alfresco.module.vti' installed in '../tomcat/webapps/alfresco.war'
- Title: Vti
- Version: 1.3
- Install Date: Thu Apr 03 21:27:08 EDT 2014
- Description: Alfresco Vti Extension, provides Sharepoint protocol
root@server:/opt/alfresco-4.2.f/bin# ../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/

...and...

root@server:/opt/alfresco-4.2.f/bin# java -jar alfresco-mmt.jar list ../tomcat/webapps/share.war
Module 'becpg-project-share' installed in '../tomcat/webapps/share.war'
- Title: beCPG Project Share
- Version: 1.6.0
- Install Date: Tue Apr 22 11:24:05 EDT 2014
- Description: beCPG Project Share UI
Module 'becpg-share' installed in '../tomcat/webapps/share.war'
- Title: beCPG Vault Share
- Version: 1.6.0
- Install Date: Tue Apr 22 11:23:49 EDT 2014
- Description: beCPG Share designer ui
Module 'org_alfresco_module_rm_share' installed in '../tomcat/webapps/share.war'
- Title: Alfresco Record Management Share Extension
- Version: 2.1
- Install Date: Sun Apr 20 05:21:15 EDT 2014
- Description: Alfresco Record Management Share Extension
Module 'org.alfresco.integrations.share.google.docs' installed in '../tomcat/webapps/share.war'
- Title: Alfresco / Google Docs Share Module
- Version: 2.0.4
- Install Date: Thu Apr 03 21:27:47 EDT 2014
- Description: The Share side artifacts of the Alfresco / Google Docs Integration.
root@server:/opt/alfresco-4.2.f/bin#

root@server:/opt/alfresco-4.2.f/bin# ls -la ../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module
total 40
drwxr-xr-x 8 root root 4096 Apr 20 05:23 .
drwxr-xr-x 29 root root 12288 Apr 20 05:23 ..
drwxr-xr-x 3 root root 4096 Apr 20 05:23 org.alfresco.extension.alfresco-bulk-filesystem-import
drwxr-xr-x 3 root root 4096 Apr 20 05:23 org.alfresco.integrations.google.docs
drwxr-xr-x 10 root root 4096 Apr 20 05:23 org_alfresco_module_rm
drwxr-xr-x 3 root root 4096 Apr 20 05:23 org.alfresco.module.vti
drwxr-xr-x 3 root root 4096 Apr 20 05:23 projects
drwxr-xr-x 2 root root 4096 Apr 20 05:23 sample
root@server:/opt/alfresco-4.2.f/bin#

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par Philippe Quéré il y a presque 10 ans

Hello,

Steps to install are:
  1. Stop alfresco server.
  2. Apply amps (your alfresco.war and share.war are good if we look at what "java -jar alfresco-mmt.jar list" returns)
  3. Delete folders $webapps/alfresco and $webapps/share
  4. Start alfresco server (it will deploy alfresco.war and share.war so folders alfresco and share will be created)

Since the date of the folder org.alfresco.module.vti is Apr 20 05:23, It seems you haven't delete alfresco folder so you need to do step 3 and 4.

Your problem is related to installing amps.

Regards,

RE: Install on 4.2.f show no indication that beCPG Project is installed - Ajouté par d b il y a presque 10 ans

Steps to install and start using Model Designer under Linux:

1. Copy the becfg amp files from the becfg installer's amp folder to AlfrescoInstallDirectory/apps/alfresco/amps.
2. Copy the becfg share amp files from the becfg installer's amp folder to AlfrescoInstallDirectory/apps/alfresco/share.
3. Bash execute AlfrescoInstallDirectory/apps/alfresco/apply_amps.sh from the console (I created an alternate version with a -force switch on the two installs). If there's an error because of out of order amp application, you may need to apply the becpg-share-x.x.x..amp script a second time separately, but if you made a force version, you can just apply the whole script a second time.
4. Stop the alfresco server.
5. The apply_amps script should have deleted folders $webapps/alfresco and $webapps/share from Tomcat
6. Start the alfresco server (it will deploy alfresco.war and share.war so folders alfresco and share will be created)
7. Open alfresco. If you don't see a BeCFG menu, the install didn't work.
8. From the beCFG menu, select Administration beCFG, and under Repository, select Initialize.
9. From the beCFG menu, select Model designer and start designing

    (1-9/9)