nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.86k stars 4.01k forks source link

Upgrade NC to 18 or modifying config.php and "occ maintenance:update:htaccess" breaks onlyoffice integration #19205

Closed stultitiophobia closed 4 years ago

stultitiophobia commented 4 years ago

Hi !

After upgrading a few systems to NC18 the OnlyOffice Integration does not work: There is no possibility to create OO files or opening them and the OO menu does not show any options. _After the Upgrade we executed php7.3-cli Sites/xxx.xxx.de/occ app:install documentservercommunity php7.3-cli Sites/xxx.xxx.de/occ app:install onlyoffice

The same issue arises after a fresh install (where OO works) and adding 'overwrite.cli.url' => 'https://nc.xxx.xxx', 'overwriteprotocol' => 'https', 'htaccess.RewriteBase' => '/', 'htaccess.IgnoreFrontController' => true, to config.php and then executing occ maintenance:update:htaccess

no more OO integration

after that we always get error:

Fehler beim Anschließen (Client error: POST https://nc.xxx.xxx/apps/documentserver_community/coauthoring/CommandService.ashx resulted in a 403 Forbidden response: <!DOCTYPE html>