cancel
Showing results for 
Search instead for 
Did you mean: 

Online edit does not start

achechet
Champ in-the-making
Champ in-the-making
Fresh installation of Alfresco Community 4.2.f on Ubuntu 13.10 (in text mode)
Next two addons for WebDAV & Online editing, next LibreOffice and etc.
I have done: apt-get install gnome-panel and webdav protocol registarion in Linux.
In right side menu has appear menu item "Edit online" but it does not work.
In top menu (Create) new items does not appear.

How to patch this trouble?
5 REPLIES 5

muralidharand
Star Contributor
Star Contributor
Hi,
Are you getting any error while clicking Edit Online button?
Does any information logged in alfresco.log and share.log files?

Just after type button nothing special adds to the logs

alex@ubuntu:~$ sudo tail -f /opt/alfresco-4.2.f/alfresco.log
10:52:29,415 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Search' subsystem, ID: [Search, managed, solr]
10:52:29,662 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Search' subsystem, ID: [Search, managed, solr]
10:52:29,711 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
10:52:29,713 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
10:52:29,715 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
10:52:29,715 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
10:52:29,716 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Transformers' subsystem, ID: [Transformers, default]
10:52:29,716 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Transformers' subsystem, ID: [Transformers, default]
10:52:29,719 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
10:52:29,719 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]

alex@ubuntu:~$ sudo tail -f /opt/alfresco-4.2.f/share.log
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 356 Web Scripts (+0 failed), 370 URLs
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
09:39:31,804 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 6021.3784ms)
09:39:31,810 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:39:31,814 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
10:40:27,306 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 401
10:40:47,323 INFO  [org.alfresco.web.site.EditionInterceptor] Successfully retrieved license information from Alfresco.
10:40:54,096 INFO  [org.alfresco.web.scripts.ImapServerStatus] Successfully retrieved IMAP server status from Alfresco: disabled
10:41:40,029 INFO  [org.alfresco.web.scripts.MimetypesQuery] Successfully retrieved mimetypes information from Alfresco.

My replay still hold in non-aproved pool…
When I press online edit button nothing happend and in logs too:

alex@ubuntu:~$ sudo tail -f /opt/alfresco-4.2.f/alfresco.log
10:52:29,415 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Search' subsystem, ID: [Search, managed, solr]
10:52:29,662 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Search' subsystem, ID: [Search, managed, solr]
10:52:29,711 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
10:52:29,713 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
10:52:29,715 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
10:52:29,715 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
10:52:29,716 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Transformers' subsystem, ID: [Transformers, default]
10:52:29,716 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Transformers' subsystem, ID: [Transformers, default]
10:52:29,719 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
10:52:29,719 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]

alex@ubuntu:~$ sudo tail -f /opt/alfresco-4.2.f/share.log
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 356 Web Scripts (+0 failed), 370 URLs
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
09:39:31,582 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
09:39:31,804 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 6021.3784ms)
09:39:31,810 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:39:31,814 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
10:40:27,306 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 401
10:40:47,323 INFO  [org.alfresco.web.site.EditionInterceptor] Successfully retrieved license information from Alfresco.
10:40:54,096 INFO  [org.alfresco.web.scripts.ImapServerStatus] Successfully retrieved IMAP server status from Alfresco: disabled
10:41:40,029 INFO  [org.alfresco.web.scripts.MimetypesQuery] Successfully retrieved mimetypes information from Alfresco.

alfresco-global.properties

### External executable locations ###
ooo.exe=/opt/alfresco-4.2.f/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco-4.2.f/common
img.dyn=${img.root}/lib
# img.dyn=/usr/lib64
# img.exe=${img.root}/bin/convert
img.exe=/usr/bin/convert
swf.exe=/usr/local/bin/pdf2swf
swf.languagedir=/opt/alfresco-4.2.f/common/japanese

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-4.2.f/libreoffice
jodconverter.portNumbers=8101,8102,8103
****

and
alex@ubuntu:~$ whereis pdf2swf
pdf2swf: /usr/local/bin/pdf2swf
alex@ubuntu:~$ whereis convert
convert: /usr/bin/convert.im6 /usr/bin/convert /usr/bin/X11/convert.im6 /usr/bin/X11/convert /usr/share/man/man1/convert.1.gz
alex@ubuntu:~$ whereis libreoffice
libreoffice: /usr/bin/libreoffice /etc/libreoffice /usr/lib/libreoffice /usr/bin/X11/libreoffice /usr/share/libreoffice /usr/share/man/man1/libreoffice.1.gz
alex@ubuntu:~$




achechet
Champ in-the-making
Champ in-the-making
I have tryed this:
https://github.com/Redpill-Linpro/alfresco-libreoffice-online-edit
but without success.
libreoffice 4.1.3.2

achechet
Champ in-the-making
Champ in-the-making
Button start working but use the wrong address of soffice.
This address is from registry  key:


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\davs]
@="URL:loffice Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\davs\DefaultIcon]
@="soffice.exe,1"
[HKEY_CLASSES_ROOT\davs\shell]
[HKEY_CLASSES_ROOT\davs\shell\open]
[HKEY_CLASSES_ROOT\davs\shell\open\command]
@="\"C:\\Program Files\\OpenOffice.org 3\\program\\soffice.exe\" \"%1\""

[HKEY_CLASSES_ROOT\dav]
@="URL:loffice Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\dav\DefaultIcon]
@="soffice.exe,1"
[HKEY_CLASSES_ROOT\dav\shell]
[HKEY_CLASSES_ROOT\dav\shell\open]
[HKEY_CLASSES_ROOT\dav\shell\open\command]
@="\"C:\\Program Files\\OpenOffice.org 3\\program\\soffice.exe\" \"%1\""


This is for office at windows side.
What the right value for the registry if libreoffice on server side (linux)?

Or I am wrong? And have to install libreoffice on client?