Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last working config? #188

Open
ntinti opened this issue Oct 4, 2019 · 261 comments
Open

Last working config? #188

ntinti opened this issue Oct 4, 2019 · 261 comments

Comments

@ntinti
Copy link

ntinti commented Oct 4, 2019

Whats the last working config on debian
This one ?
#######################################
set_core_regex='cp-6.0$'
set_online_regex='collabora/collabora-online-4-0-4$'
lo_src_branch='distro/collabora/cp-6.0'
lo_src_tag='cp-6.0-30'
#######################################

@joergmschulz
Copy link
Contributor

lo_src_tag='cp-6.0-31'

@titansmc
Copy link

titansmc commented Nov 5, 2019

I have this one:

About

LOOLWSD
4.0.8 (git hash: 2fc9aba)

LOKit
Collabora OfficeDev 6.0-31 (git hash: 9e571fc)

@joergmschulz
Copy link
Contributor

how did you get 4.0.8 included? could you please add the necessary lines in the .cfg?
Thank you

@titansmc
Copy link

titansmc commented Nov 6, 2019

#### default set is latest version of collabora
#set_name='distro/collabora'
## set_core_regex & set_online_regex are regulax expression used to find the branch name for core and online
## example:
set_core_regex='cp-6.0$'
set_online_regex='collabora-online-4-0$'
## set_version can be used if both branch name contains a common version number
## if empty, latest version available for each project will be used
set_version='cp-4.0.8-2'

#### LibreOffice parameters ###
#lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/cp-6.0' # a existing branch name. # THIS WILL be overriden by the set branch
#lo_src_commit='' # the short/full id of a git commit
lo_src_tag='cp-6.0-34' # a tag in the repo git
lo_dir="/home/suite/libreoffice"
#lo_forcebuild=false # force compilation
#lo_req_vol=11000 # minimum space required for LibreOffice compilation, in MB
#lo_mini=true
#lo_configure_opts='' #comma separated options names
lo_non_free_ttf=true # add Microsoft fonts to Ubuntu

#### POCO parameters ###
poco_version=$poco_version_latest #latest releases available
poco_dir="/home/suite/poco-${poco_version}-all"
#poco_forcebuild=false
#poco_req_vol=550 # minimum space required for Poco compilation, in MB

#### LibreOffice Online parameters ###
lool_src_repo="https://github.com/LibreOffice/online.git"
#lool_src_branch='distro/collabora/collabora-online-4' # a existing branch name. # THIS WILL be overriden by the set branch
#lool_src_commit='' # the short/full id of a git commit
#lool_src_tag='' # a tag in the repo git

@titansmc
Copy link

unstable... I will try with Ubuntu 18.04

@titansmc
Copy link

Ubuntu 18.04 seems to not crash, although I still get a lot of those errors:

loolwsd[83771]: kit-83813-83833 2019-11-28 12:43:27.416854 [ kitbroker_002 ] ERR  Unknown callback event (44): {}| kit/ChildSession.cpp:2223

on every click in the LOOL

@quenenni
Copy link

quenenni commented Jan 17, 2020

Hello,

Thanks a lot for this post.
Very nice to know the last working configuration.

I succeeded to have it working on a Debian 10 (Buster) with the default script options for the core repo and poco, but I had to pause the script for the online repo and change manually to another branch before continuing.

  • Core: 02b9ea64850f33df7b3c89c24a2cafbaeab0f85b (HEAD -> distro/collabora/cp-6.2, tag: cp-6.2-3, tag: CODE-4.2.0-3)
  • Poco: v1.9.4
  • Online: git checkout distro/collabora/collabora-online-4-0

My Lool is working with this info in the about section:

LOOLWSD
4.0.9 (git hash: 956c17af)
LOKit
Collabora OfficeDev 6.2-3 (git hash: 02b9ea6)

From that, here I think is the right translation for the config:

set_core_regex='cp-6.2$'
set_online_regex='collabora-online-4-0$'

#### LibreOffice parameters ###
lo_src_branch='distro/collabora/cp-6.2'
lo_src_tag='cp-6.2-3'

#### LibreOffice Online parameters ###
lool_src_branch='collabora-online-4-0'
lool_src_commit='956c17afe9d5e33f53fd8d107e8384520e23d862'

Maybe first check without setting the commit id to test with the most recent one.

@joergmschulz
Copy link
Contributor

Yes. This config looks good and is working. BUT: I don't see spell checking suggestions (right-mouse). Which is an improvement - other 6.2 versions stopped working on right-mouse click. So, the best functional version might be 6.0 until further notice.

@quenenni
Copy link

I'm in the process of testing lots of different commits because I discovered that in the branch 6.2, there is a bug in the calc spreadsheets.
I already tested the branch 6.0 up to the last commit and it's good. (with the online at v4.0.10)

As soon as I finished my tests, I'll put here my result.

I have no idea about the spell checlking thingy. I'll keep an eye in my next tests.

@Ark74
Copy link
Contributor

Ark74 commented Jan 23, 2020

@quenenni hello! I'm running the 6.2 branch, what bug do you refer to?

@quenenni
Copy link

The column and line headers are wrong, all not on top of their own column / line.

The most recent commit I found without the bug is LibreOffice/core@60da17e.
And couple tags later, the problem is there.
I'm testing them around to try to pin point the commit more precisely.

It seems i can't upload a small picture on github to visualize the problem so here is a link to it:
https://pasteboard.co/IRlD2Vu.jpg
(sorry for the bad quality, but you can see the wrong headers)

And the problem is present up to a very recent commit (commit from before yesterday).

@joergmschulz
Copy link
Contributor

Indeed, reproducible:

LOOLWSD
4.0.4 (git hash: 305832f8)
LOKit
Collabora OfficeDev 6.2-3 (git hash: 02b9ea6)

grafik

@quenenni
Copy link

My last tests showed:

@joergmschulz
Copy link
Contributor

joergmschulz commented Jan 24, 2020

@quenenni: so which settings did you put into the config?

@quenenni
Copy link

As it seems the script has problems when using the vars "lo_src_tag" or "lo_src_commit" (the repo is not at the right commit / tag when compiling LO sometimes, I had few errors), I decided to do it manually.

  • I commented 3 lines in the script that search and set the repo to the right commit (bin/corePrep.sh).
#eval "$(SearchGitCommit $SearchGitOpts)"
#if [ -d ${lo_dir}/instdir ] && $repChanged ; then
  lo_forcebuild=true
#fi
  • I cloned manually the LO repo, then set the right commit
git checkout distro/collabora/cp-6.2
git pull
git checkout 60da17e045e08f1793c57c00ba83cdfce946d0aa
(and git log to check that you're at the right commit)
  • For the online part:
    The last commit, "Bump package version to 4.0.10-1" (Mon Jan 20 23:30:44 2020) is working well.
    You have to configure the officeonline-install.cfg file like this:
set_version='cp-4.0.10-1'  (not sure this one is compulsory)
lool_src_branch='distro/collabora/collabora-online-4-0'  (this one is compulsory)

If you let the default values, the script won't go on the 4-0 branch but the 4 and it will fail.

  • For the Poco part, I let the script use the default values and it works.
    For my tests here, the script used the poco-1.9.4-all

PS: I also tried to compil Lool on the 6.0 branch at the last commit (2, 3 days ago) and it was working.. in case you prefer to stay on the 6.0 branch.

@quenenni
Copy link

Yes. This config looks good and is working. BUT: I don't see spell checking suggestions (right-mouse). Which is an improvement - other 6.2 versions stopped working on right-mouse click. So, the best functional version might be 6.0 until further notice.

@joergmschulz
I checked the spell checking suggestions.
By default, I had only en_US dictionnary available.
I installed the packages hunspell-fr & hunspell-nl (apt install hunspell-fr hunspell-nl), restart loolwsd service and now have the new dictionnaries available.

The auto suggestions (the red wave under the words) is working.
Then the right click on it opens a suggestion list.

All seems good to me on the 6.2 branch.

@joergmschulz
Copy link
Contributor

confirming - the following works well with all the changes @quemenni suggested.

  • Filenames containing a % can be opened
  • cell indicators work on calc documents
  • spellchecking works.
lo_src_repo='https://github.com/LibreOffice/core.git'


lool_configure_opts='--disable-werror'
set_version='cp-4.0.10-1'  


lool_src_branch='distro/collabora/collabora-online-4-0'


lo_src_branch='libreoffice-6-3-4' # a existing branch name. # THIS WILL be overriden by the set branch
lo_src_commit='60da17e045e08f1793c57c00ba83cdfce946d0aa' # the short/full id of a git commit
lo_src_tag='libreoffice-6-3-4' # a tag in the repo git
lo_forcebuild=false # force compilation
lo_non_free_ttf=true # add Microsoft fonts to Ubuntu
poco_version=$poco_version_latest #latest releases available
lool_src_repo="https://github.com/LibreOffice/online.git"
lool_src_branch='distro/collabora/collabora-online-4-0' # a existing branch name. # THIS WILL be overriden by the set branch

@Ark74
Copy link
Contributor

Ark74 commented Jan 30, 2020

Thanks for the info.
On my part I would suggest that you want to avoid poco-1.9.10, seems to break compilations atm.
Cheers!

@quenenni
Copy link

@joergmschulz
Can you tell me what the option "--disable-werror" is doing?

I never used it.

@joergmschulz
Copy link
Contributor

at one time when buster had been new, compilation failed without this flag. Some compiler warnings had been elevated to errors.

@Ark74
Copy link
Contributor

Ark74 commented Feb 4, 2020

@rwagnon
Copy link

rwagnon commented Feb 17, 2020

Does this mean that the latest working can be moved to 6.2?

@quenenni
Copy link

I'd say yes for me.
It's been working on production for nearly a month without problems on my side.

@rwagnon
Copy link

rwagnon commented Feb 18, 2020

In 6.2, I get spreadsheet rows that are compressed in the selection area, but normal in the working area:

image

@joergmschulz
Copy link
Contributor

yes. This is why the op.cit. version has been proposed as a good one.

@rwagnon
Copy link

rwagnon commented Feb 24, 2020

What do you mean op.cit. version?

Should the script code changes be checked into github?

@rwagnon
Copy link

rwagnon commented Feb 24, 2020

With the 3 script code comments and the config file listed, is this necessary: "cloned manually the LO repo"?

@quenenni
Copy link

You don't need to manipulate the files, try to modify the config file like in this comment: #188 (comment)

@quenenni
Copy link

Installed from a fresh Debian 11.

I had to install few libraries as mentioned in earlier post #188 (comment)

apt install libzstd-dev libnspr4-dev libnss3-dev libx11-xcb-dev libpoco-dev

In order to have more languages for spellchecking:

apt install hunspell-fr hunspell-de-de hunspell-nl

My Cool instance is in a proxmox VM.
At first, the printing and pdf export weren't working.

I added "mknod=1" to the Vm feature.
(for proxmox, you can check the file /etc/pve/lxc/xxx.conf)
Now both printing and export are working.

Version COOLWSD : 23.05.0.1
Collabora OfficeDev 22.05.10.1

@Alternativend
Copy link

Alternativend commented Mar 10, 2023

Could you please post your config?
I have cleared /opt/* and pulled the rep again, but im stuck at 22.05.9 something.

Edit:
Did it again, cleared whole /opt/ before compiling. We ended up with:

COOLWSD: 22.05.10.1
Collaobora OfficeDev: 22.05.10.5

No COOLWSD 23 like you´ve it @quenenni

@quenenni
Copy link

quenenni commented Mar 13, 2023

@Alternativend

Iirc, I didn't change anything from the original config file.
Here is the content from officeonline-install.cfg I used to compile:

set_name='collabora'
set_core_regex='co-22.05'
set_online_regex='co-22.05'

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-22.05'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

#### POCO parameters ###
poco_version=$poco_version_latest #latest releases available
poco_forcebuild=false

#### LibreOffice Online parameters ###
cool_src_repo="https://github.com/CollaboraOnline/online.git"
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=400
cool_maxdoc=200
coolwsd_service_name='coolwsd'

I double-checked my COOL instance and I have indeed v23 for CoolWsd despite having in the config "set_online_regex='co-22.05'".
I don't know why.

@DmDS
Copy link
Contributor

DmDS commented Mar 13, 2023

23 is a master branch. and 23 has not been released yet.
master is used by default due to incorrect regex.
set_online_regex='co-22.05' => set_online_regex='co-22-05'

set_name='collabora'
set_core_regex='co-22.05'
set_online_regex='co-22-05'
#set_online_regex='master'

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-22.05'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

#### POCO parameters ###
poco_version=$poco_version_latest #latest releases available
poco_forcebuild=false

#### LibreOffice Online parameters ###
cool_src_repo='https://github.com/CollaboraOnline/online.git'
cool_src_branch='distro/collabora/co-22-05'
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=200
cool_maxdoc=100
coolwsd_service_name='coolwsd'

@DmDS
Copy link
Contributor

DmDS commented Mar 13, 2023

but for some reason the script ignores the value specified by "set_online_regex" and always uses "set_core_regex".
I made some edits. try this one.
https://github.com/DmDS/officeonlin-install.sh

@Alternativend
Copy link

I tried it. Ended up with COOLWSD Version: 22.05.10.1 git hash: [719ae9bf] and Collabora OfficeDev 22.05.10.5.

PDF export isn´t working for us anymore. Running on Debian VM with Proxmox host but no LXC, so i guess im not affected of this mknod thing, am i @quenenni ?

@DmDS
Copy link
Contributor

DmDS commented Mar 28, 2023

if anyone is interested.. I added officeonline-install2.sh. (and /bin/corePrep2.sh)
https://github.com/DmDS/officeonlin-install.sh

it uses daily-built archive of LibreOffice core (from here) instead of compiling LO from sources.
the script works much faster)

COOLWSD: 22.05.12.4
LOKit: Collabora Office 22.05.12.3

@rodrigoesborges
Copy link

rodrigoesborges commented Apr 2, 2023

@DmDS , I tried yours and ended with

COOLWSD
23.05.0.1 (git hash: [a3e29e23]
and LOKit
LibreOfficeDev 7.6.0.0.alpha0 (git hash: [49379a0]

I tried it because I was with 22.05.10.8 and Zotero was not working correctly. All dialogs seemed to work, but no citations nor references were being included in the doc.

Edit:
Ah ok I think I didn't run officeonline-install2

@DmDS
Copy link
Contributor

DmDS commented Apr 2, 2023

new branches with similar names have been added. I corrected the config so that the necessary branch was used.
the script also seems to be looking for the config file in other folders. maybe a different config was used (most likely in the upper directories). even if the original script was used, the versions should have been 22.05.
try to specify the config file forcibly:
bash officeonline-install2.sh -c officeonline-install.cfg

after the end of the build, the versions should be as follows:
COOLWSD: 22.05.12.4
LOKit: Collabora Office 22.05.12.3

@Alternativend
Copy link

@DmDS
Did it like you mentioned. Im on the versions you´ve posted. Thanks!
Firefox is a little bit more fluffy, but not as nice as Chrome is at the moment.

@dieg0nob
Copy link

I am running an old version
COOLWSD: 22.05.9.0
LOKit: Collabora OfficeDev 22.05.8.4
and so far it works very well.

I have a drawback, that when I compile it, I don't edit the variables: cool_maxcon and cool_maxdoc
and I'm needing to raise the default value.
The question is, is there a way to edit that value somewhere inside /opt/cool or the only way is to recompile?

In case I have to compile, how can I do it without modifying versions of anything, so that I only take the change of those variables?

i have this cfg with the new value of maxcon and maxdoc:

set_name='collabora'
set_core_regex='co-22.05'
set_online_regex='master'

LibreOffice parameters

lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-22.05'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

POCO parameters

poco_version=$poco_version_latest #latest releases available
poco_forcebuild=false

LibreOffice Online parameters

cool_src_repo="https://github.com/CollaboraOnline/online.git"
cool_src_branch='master'
cool_src_tag='cp-22.05.8-4'
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=400
cool_maxdoc=300
coolwsd_service_name='coolwsd'

@Alternativend
Copy link

Alternativend commented Aug 11, 2023

How to build 23-05? Anyone with a working config?
Edit: Got it. Upgraded to Bookworm first, pulled the repo again and did a run with the officeonline-install.sh2 file.
Im now on COOLWSD Version: 22.05.16.1, Collabora Office 23.05.2.3.

@DmDS
Copy link
Contributor

DmDS commented Aug 15, 2023

COOLWSD: 23.05.2.2
LOKit: Collabora Office 23.05.2.3

config
set_name='collabora'
set_core_regex='co-23.05$'
set_online_regex='co-23-05$'
#set_online_regex='master'

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-23.05'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

#### POCO parameters ###
poco_version=$poco_version_latest #latest releases available
poco_forcebuild=false

#### LibreOffice Online parameters ###
cool_src_repo='https://github.com/CollaboraOnline/online.git'
cool_src_branch='distro/collabora/co-23-05$'
cool_src_tag='cp-23.05.2-2'
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=200
cool_maxdoc=100
coolwsd_service_name='coolwsd'

compiled with officeonline-install2.sh
exporting to PDF works.

@quenenni
Copy link

Hello,

Once again, big thanks for making it possible.

I successfully compiled a new Cool.

Version COOLWSD :
23.05.1.2 git hash: [aba5583c]
Version LOKit :
Collabora Office 23.05.2.3 git hash:  [05ece1c]
Servi par : Debian GNU/Linux 12 (bookworm) [c175bcf1]

Everything seems to work fine except the pdf export (epub export is working).
I have this in log:

2023-08-23T18:56:11.369676+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:11.368642 +0200 [ kitbroker_001 ] DBG  #24: child_ws: recv [child-001 mouse type=move x=-1545 y=165 count=1 buttons=0 modifier=0 | kit/Kit.cpp:2456
2023-08-23T18:56:14.787797+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:14.786677 +0200 [ kitbroker_001 ] DBG  #24: child_ws: recv [child-001 exportas | kit/Kit.cpp:2456
2023-08-23T18:56:14.789707+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:14.786877 +0200 [ kitbroker_001 ] DBG  ToMaster-001: Calling LOK's exportAs with: [114 (2).pdf]| kit/ChildSession.cpp:2324
2023-08-23T18:56:14.846182+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:14.845941 +0200 [ kitbroker_001 ] DBG  #24: child_ws: recv [child-001 mouse type=move x=5160 y=3645 count=1 buttons=0 modifier=0 | kit/Kit.cpp:2456
2023-08-23T18:56:14.940292+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:14.940026 +0200 [ kitbroker_001 ] DBG  #24: child_ws: recv [child-001 mouse type=move x=5340 y=3840 count=1 buttons=0 modifier=0 | kit/Kit.cpp:2456
2023-08-23T18:56:15.919151+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:15.918049 +0200 [ kitbroker_001 ] DBG  #24: child_ws: recv [child-001 dialogevent 2 {"id":"ok", "cmd": "click", "data": "1", "type": "responsebutton"}
 | kit/Kit.cpp:2456
2023-08-23T18:56:15.934900+02:00 cool2 coolwsd[74981]: kit-74981-74979 2023-08-23 18:56:15.934667 +0200 [ kitbroker_001 ] ERR  ToMaster-001: error: cmd=exportas kind=failure| common/Session.hpp:165
2023-08-23T18:56:15.935673+02:00 cool2 coolwsd[74966]: wsd-74966-74986 2023-08-23 18:56:15.934800 +0200 [ docbroker_001 ] ERR  ToClient-001: exportas error failure: failure| wsd/ClientSession.cpp:1622

Any idea where can be the problem?
Maybe other packages are needed for this?

@DmDS
Copy link
Contributor

DmDS commented Aug 23, 2023

hello. your COOLWSD version is 23.05.1.2. the last one is 23.05.2.2. maybe that's the problem.
also, export to pdf worked for me only after a clean installation of debian 12.1.

@quenenni
Copy link

your COOLWSD version is 23.05.1.2. the last one is 23.05.2.2. maybe that's the problem.

I used the default option from the .cfg file.
I'll redo a compilation with the same options as yours (on a new vm).
Thanks for the tips.

@quenenni
Copy link

Pdf export is working with my cool instance.
I just forgot that I needed a param in my promox Vm in order to make it work.

Th missing param was "mknod=1".

features: nesting=1,mknod=1,keyctl=1

(for proxmox, you can check the file /etc/pve/lxc/xxx.conf).

For info, I had a Debian v11 that I upgraded to v12 before compiling the Cool.

Now, about the differences between the V23.05.1.2 and V23.05.2.2...
I was skeptical at first to recompile Cool to have a new minor update, but it seems that they are working hard at Cool and in 1 month, we can see lots of commit:
CollaboraOnline/online@cp-23.05.1-2...cp-23.05.2-2

Amazing work they are doing.

@n3sser96
Copy link

n3sser96 commented Sep 17, 2023

Pdf export is working with my cool instance. I just forgot that I needed a param in my promox Vm in order to make it work.

Th missing param was "mknod=1".

features: nesting=1,mknod=1,keyctl=1

(for proxmox, you can check the file /etc/pve/lxc/xxx.conf).

For info, I had a Debian v11 that I upgraded to v12 before compiling the Cool.

Now, about the differences between the V23.05.1.2 and V23.05.2.2... I was skeptical at first to recompile Cool to have a new minor update, but it seems that they are working hard at Cool and in 1 month, we can see lots of commit: CollaboraOnline/[email protected]

Amazing work they are doing.

Can you share your config please, are you using officeonlin-install2.sh or officeonlin-install.sh?

@quenenni
Copy link

@n3sser96
I used officeonlin-install2.sh with basic config file, I just modified cool_maxcon et cool_maxdoc

I tried first on a Debian 11 that I upgraded to Debian 12.

All the packages I installed manually:
libzstd-dev
libnspr4-dev
libnss3-dev
libx11-xcb-dev
libpoco-dev

I took that from my command history, I don't remember why or how I knew to install it, but my guess is that on the first attempts, I had errors and remember my earlier about it (#188 (comment)).

So I not even sure all of them are necessary.

I installed them when I was still in Debian 11. Maybe with a fresh install of Debian 12, there is no need anymore to install them.

@n3sser96
Copy link

@quenenni

I managed to install it successfully with the default config, and it's up and running. Thanks 👏

@quenenni
Copy link

@n3sser96 Good to hear.

Can you tell us is you had to install manually packages in order to have the compilation working (or other things)?

@n3sser96
Copy link

@quenenni

I did not install any extra packages, I used the default installation with officeonlin-install2.sh.

@Alternativend
Copy link

Comiled just now, we are now on:

COOLWSD version: 23.05.5.3 (git hash: 5093121f)
LOKit version: Collabora Office 23.05.6.1 (git hash: 67cdcf1)
Served by: Debian GNU/Linux 12 (bookworm)

@DmDS
Copy link
Contributor

DmDS commented Jan 15, 2024

COOLWSD: 23.05.7.2
Collabora Office: 23.05.7.2

the branch name has changed to Master (maybe this is temporary).
config for officeonline-install2.sh (not tested with officeonline-install.sh)

set_name='collabora'
set_core_regex='co-23.05$'
#set_online_regex='co-23-05$'
set_online_regex='master'

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-23.05$'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

#### POCO parameters ###
poco_version=$poco_version_latest #latest releases available
poco_forcebuild=false

#### LibreOffice Online parameters ###
cool_src_repo='https://github.com/CollaboraOnline/online.git'
cool_src_branch='distro/collabora/co-23.05'
cool_src_tag='cp-23.05.7-2'
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=200
cool_maxdoc=100
coolwsd_service_name='coolwsd'

@DmDS
Copy link
Contributor

DmDS commented Jan 18, 2024

COOLWSD: 23.05.7.2 Collabora Office: 23.05.7.2

the branch name has changed to Master (maybe this is temporary). config for officeonline-install2.sh (not tested with officeonline-install.sh)

it was temporary) you can continue to use the config from the repository.

@quenenni
Copy link

quenenni commented Mar 25, 2024

New version successfully compiled.
Amazing!

Version COOLWSD :
23.05.10.1 git hash: baa6eeff
Version LOKit :
Collabora Office 23.05.9.4 git hash: 2a8b622
Servi par : Debian GNU/Linux 12 (bookworm)

I used the file officeonline-install2.sh to install.

A small problem I noticed.

By default, my debian hasn't the 'contrib' option in the sources list.
That generates an error when trying to install the ttf-mscorefonts-installer package (just activate contrib in /etc/apt/sources.list).

And this can help others maybe..

New fonts successfully added:

  • copied the fonts .otf files in /usr/share/fonts/truetype/
  • then ran 2 commands:
fc-cache -f -v
coolconfig update-system-template

And new dictionnaries added by installing the package:

apt install hunspell-fr hunspell-de-de hunspell-nl

Everything is working nicely.
Need to do more tests, but didn't find anything suspicious yet.

Thanks.

@Alternativend
Copy link

I tried to update to 24-04 today.

We are now on:
Coolwsd 24.04.3.1
Collabora Office 24.04.3.1

@Alternativend
Copy link

Alternativend commented Jul 11, 2024

Did an update to again.

Now we are on:
Coolwsd 24.04.5.1
Collabora Office 24.04.5.1

We had some random crashes lately, will see if it´s getting better now.

@DmDS
Copy link
Contributor

DmDS commented Dec 20, 2024

COOL 24.04.10.3
forced POCO 1.13.3 (latest 1.14.0 - compilation failed)

set_name='collabora'
set_core_regex='co-24.04$'
set_online_regex='co-24-04$'

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
lo_src_branch='distro/collabora/co-24.04.10'
lo_src_tag='cp-24.04.10-3'
lo_src_commit=''
lo_dir="/opt/libreoffice"
lo_forcebuild=false
lo_non_free_ttf=true

#### POCO parameters ###
poco_version=1.13.3
poco_forcebuild=false

#### LibreOffice Online parameters ###
cool_src_repo='https://github.com/CollaboraOnline/online.git'
cool_src_tag='cp-24.04.10-3'
cool_dir="/opt/cool"
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
cool_logfile='/var/log/coolwsd.log'
cool_prefix='/usr'
cool_sysconfdir='/etc'
cool_localstatedir='/var'
cool_forcebuild=true
cool_maxcon=200
cool_maxdoc=100
coolwsd_service_name='coolwsd'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests