We could not exactly identify why the redhat server was not able to download the packages.
We experienced similar issues while trying to manually install the coolwsd package on the server.
Since then we managed to install collabora.
Issues since then are:
I cannot open documents and secure view is not working
Admin pannel is not accessible under https://example.com/browser/dist/admin/admin.html and in the browser one can see WebSocket connection to âwss://example.com/cool/adminws/â failed:
CODE proxy:
<VirtualHost *:80>
ServerName example.com
Redirect permanent / https://example.com/
<VirtualHost *:443>
ServerName example.com
SSLEngine on
SSLCertificateFile cer
SSLCertificateKeyFile key
SSLCertificateChainFile crt
â Reverse proxy for Collabora Online
AllowEncodedSlashes NoDecode
ProxyPreserveHost On
â static html, js, images, etc. served from coolwsd
âbrowser is the client part of Collabora Online
ProxyPass / http://localhost:9980/
ProxyPassReverse / http://localhost:9980/
ProxyPass /browser http://127.0.0.1:9980/browser retry=0
ProxyPassReverse /browser http://127.0.0.1:9980/browser
â WOPI discovery URL
ProxyPass /hosting/discovery http://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery http://127.0.0.1:9980/hosting/discovery
â Capabilities
ProxyPass /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities
â Main websocket
ProxyPassMatch â/cool/(.*)/ws$â ws://127.0.0.1:9980/cool/$1/ws nocanon
â Admin Console websocket
ProxyPass /cool/adminws ws://127.0.0.1:9980/cool/adminws
â Download as, Fullscreen presentation and Image upload operations
ProxyPass /cool http://127.0.0.1:9980/cool
ProxyPassReverse /cool http://127.0.0.1:9980/cool
â Compatibility with integrations that use the /lool/convert-to endpoint
ProxyPass /lool http://127.0.0.1:9980/cool
ProxyPassReverse /lool http://127.0.0.1:9980/cool
Nextcloud proxy:
<VirtualHost *:80>
ServerName example2.com
Redirect permanent / https://example2.com/
<VirtualHost *:443>
ServerName example2.com
â SSL configuration
SSLEngine on
SSLCertificateFile cer
SSLCertificateKeyFile key
SSLCertificateChainFile crt
â Nextcloud configuration
DocumentRoot â/var/www/html/nextcloudâ
<Directory â/var/www/html/nextcloudâ>
AllowOverride All
Options FollowSymLinks MultiViews
Require all granted
â PHP-FPM configuration
<FilesMatch .php$>
SetHandler âproxy:unix:/run/php-fpm/www.sock|fcgi://localhostâ
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
Nextcloud config:
?php
$CONFIG = array (
âdirectoryâ => â/var/www/html/nextcloud/dataâ,
// âoverwrite.cli.urlâ => ââ,
âtrusted_domainsâ =>
array (
0 => ââ,
),
âallow_local_remote_serversâ => true,
âdatadirectoryâ => â/var/www/html/nextcloud/dataâ,
âdbtypeâ => ââ,
âdbnameâ => ââ,
âdbhostâ => ââ,
âdbportâ => ââ,
âdbtableprefixâ => âoc_â,
âdbuserâ => ââ,
âdbpasswordâ => ââ,
// âproxyâ => ââ,
âredisâ =>
array (
âhostâ => âlocalhostâ,
âportâ => 6379,
),
âmemcache.localâ => â\OC\Memcache\APCuâ,
âfilelocking.enabledâ => true,
âmemcache.lockingâ => â\OC\Memcache\Redisâ,
âinstanceidâ => ââ,
âpasswordsaltâ => ââ,
âsecretâ => ââ,
âversionâ => â25.0.4.1â,
âinstalledâ => true,
âldapProviderFactoryâ => âOCA\User_LDAP\LDAPProviderFactoryâ,
);
In coolwsd.xml I added:
- storage.wopi example2.com
- Did not change default storage.ssl config
- Added in net.post_allow example.com
- ssl.enable = false and ssl.termination = true
When removing these line from collabora.conf (proxy)
ProxyPass / http://localhost:9980/
ProxyPassReverse / http://localhost:9980/
I regain acces to the admin pannel under: https://example.com/browser/dist/admin/admin.html
Once I add those I lose access to that panel