[Alfresco][Customized] 自訂登入畫面的 logo 圖樣

No Comments

以下shell參考

#!/bin/bash
convert -resize 425x60 /home/sopadmin/imkm-logo.png.orig /home/sopadmin/imkm-logo.png
cd /opt/alfresco-community/tomcat/webapps/share
cp /home/sopadmin/imkm-logo.png ./themes/greyTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/lightTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/default/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/greenTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/yellowTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/gdocs/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/hcBlack/images/logo.png

[Alfresco][redirect] from root path to share page

No Comments

add the following line in <tomcat-path>/webapps/ROOT/index.jsp
找到<html>的<head></head>填入以下內容
<script>document.location.href="/share/page/";</script>

[Alfresco][issue] Alfrewsco Tomcat applied http-proxy connector

No Comments

造成 AAAR 讀取失效

1.在AAAR的紀錄下, 看到 http too many  redirects

2.因tomcat 改由 http-proxy後, 網頁內容無法被 AAAR讀取, 進而無法登入,

3.利用apache的 AJP 做  ProxyReversePass , 可以順利讓AAAR主機登入

4.只是要重跑AAAR的Install

5.後記, 如果能找出正確的設定位置, 或許可以只要改 port number即可


更新,

應該不是這回事, 要重新再找問題了
———–
https://geofoss.net/2015/10/22/simple-ssl-proxy-for-alfresco-share/

另需要存取 postgresql
vim postgresql.conf
listen_ip
vim pg_hba.conf
allow IP

[Alfresco][Trubleshooting]系統無法找到主機資源庫

No Comments

在系統根目錄遇到以下畫面

Alfresco_error01

以錯誤訊息, 及系統日誌未查到特定問題

後以系統指令 netstat -tln 以及 service alfresco status 查看,

發現 postgresql 沒有在運作中, 重新啟動後即正常

此情況, 如果直接到 /share/page 頁面登入去, 會發現以下畫面

1473130278758

 

如果更新後仍不行, 可能要確認設定是否需要調整

在alfresco-global.properties 裡的 db.url 預設是用變數指定資料庫名稱
db.url=jdbc:postgresql://localhost:5432/${db.name}

但有時會失敗, 改用固定名稱即可, 如,
db.url=jdbc:postgresql://localhost:5432/alfresco

[Alfresco] 由外部網路分流設備代加密後的設定

No Comments

填入以下設定到 httpd.conf

################### for encryption of Alfresco
       ProxyPass /alfresco ajp://192.168.7.77:8009/alfresco
        ProxyPassReverse /alfresco ajp://192.168.7.77:8009/alfresco
        ProxyPass /share ajp://192.168.7.77:8009/share
        ProxyPassReverse /share ajp://192.168.7.77:8009/share

#        ProxyPass /alfresco http://192.168.7.77/alfresco
#        ProxyPassReverse /alfresco http://192.168.7.77/alfresco
#        ProxyPass /share http://192.168.7.77/share
#        ProxyPassReverse /share http://192.168.7.77/share

[Alfresco][AAAR]

No Comments

在某些情況, AAAR會無法順利執行 Extract 及 publish 的 crontab
大部分情況是因為AAAR.log檔案無法被寫入
所以編寫一script, 強迫進入特定有權限的目錄

bash scripts
————————-Top ———————–
#/bin/bash
cd /opt/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script
./AAAR_Extract.sh silent

cd /opt/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script
./AAAR_Publish.sh silent
————————-End ———————–

然後放到 crontab 去執行

AAAR_Publish.sh執行後會出PDF格式的報表,以 admin 的身分產出檔案。

[Alfresco][AAAR]在alfresco上啟用audit的設定

No Comments

編輯 /opt/{alfresco-home-directory}/tomcat/shared/classes/alfresco-global.properties

增加以下兩行, 即可啟用 Pivot4j 的 audit 功能
# Alfresco Audit service
audit.enabled=true
audit.alfresco-access.enabled=true

Older Entries Newer Entries