# Nextcloud Office Request Failed with Status Code 500

**URL:** <https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291>\
**Category:** 📄 Office\
**Tags:** snap, nc34, office, php84, dns\
**Created:** [July 23, 2026, 9:30pm UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291 "2026-07-23T21:30:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guy123](https://help.nextcloud.com/user_avatar/help.nextcloud.com/guy123/32/79265_2.png) [@guy123](https://help.nextcloud.com/u/guy123)\
**Post date:** [July 23, 2026, 9:30pm UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291/1 "2026-07-23T21:30:25Z")

</div>

> **Support intro**
>
> ## Sorry to hear you’re facing problems. 🙁
> 
> _The community help forum ([help.nextcloud.com](http://help.nextcloud.com)) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are **volunteering their time to help you.** _
> 
> **If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where Nextcloud engineers can help ensure your business keeps running smoothly.**
> 
> ## Getting help
> 
> In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
> 
> **Before clicking submit** : Please check if your query is already addressed via the following resources:
> 
> - **most of office issues are handled in** [Collabora integration guide](https://help.nextcloud.com/t/collabora-integration-guide/151879)
> - [Official documentation](https://docs.nextcloud.com) (searchable and regularly updated)
> - [How to topics and FAQs](https://help.nextcloud.com/c/how-to-faqs/9)
> - [Forum search](https://help.nextcloud.com/search)
> 
> (Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ❤

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - `34.0.1snap1`

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - `Debian 13`

- Web server and version _(e.g, Apache 2.4.25)_:
  - `Apache 2.4.68`

- Reverse proxy and version \_(e.g. nginx 1.27.2)
  - `nginx 1.26.3`

- PHP version _(e.g, 8.3)_:
  - `php 8.4.23`

- Is this the first time you’ve seen this error? (Yes / No):
  - `Yes`

- When did this problem seem to first start?
  - `During Nextcloud Office setup, on ~/index.php/settings/admin/eurooffice form page`

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - `Bare Metal`

- Are you using CloudfIare, mod\_security, or similar? _(Yes / No)_
  - `No`

### Summary of the issue you are facing:

I have Euro-Office document server ([version 9.3.1](https://github.com/Euro-Office/DocumentServer/releases#release-v9.3.1), manually downloaded and installed the amd64 release), running on port :80. My Nextcloud instance works nad is running on port :81. I can curl http://:80 & :81 successfully with no errors in the terminal.

As per the integration instruction here: [GitHub - Euro-Office/eurooffice-nextcloud · GitHub](https://github.com/Euro-Office/eurooffice-nextcloud) , I navigate to `~/settings/admin/eurooffice` in the Nextcloud web application, and fill out the form as follows:

Nextcloud Office Address: `http://<server-ip>:80/`

✓ Disable Certificate Verification

Secret Key: Retrieved from `/etc/euro-office/documentserver/local.json`

When I submit the form, I get the error below:

`Request Failed with Status Code 500`

I’ve tried changing from port :80 to :8080, restarting nginx, restarting my server, reinstalling euro-office

### Steps to replicate it (hint: details matter!):

1. Change Nextcloud port with `sudo snap set nextcloud ports.http=81`

2. Install Euro-Office 9.3.1 as per the [documentation](https://euro-office.github.io/documentation/installation/debian/)

3. Install eurooffice-nextcloud as per the [documentation](https://github.com/Euro-Office/eurooffice-nextcloud)

4. Retrieve JWT secret from ``/etc/euro-office/documentserver/local.json``

5. Navigate to `~/settings/admin/eurooffice` in the Nextcloud web application. App directory is: ``/var/snap/nextcloud/current/nextcloud/extra-apps``

6. Nextcloud Office Address: `http://<server-ip>:81`, ✓ Disable Certificate Verification, set JWT secret

7. `Request Failed with Status Code 500`

### Log entries

#### Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the _Copy raw_ option from _Administration settings-\>Logging_ screen or from your `nextcloud.log` located in your data directory). Feel free to use a pastebin/gist service if necessary.

```auto
	
Message
	
Log entry actions
Fatal
	eurooffice
	
ErrorFailed opening required '/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php' (include_path='/snap/nextcloud/53763/htdocs/3rdparty/pear/archive_tar:/snap/nextcloud/53763/htdocs/3rdparty/pear/console_getopt:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear-core-minimal/src:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear_exception:/snap/nextcloud/current/htdocs/apps:/var/snap/nextcloud/current/nextcloud/extra-apps')

Warning
	PHP
	
require_once(/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php): Failed to open stream: No such file or directory at /var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/Application.php#79

Fatal
	eurooffice
	
ErrorFailed opening required '/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php' (include_path='/snap/nextcloud/53763/htdocs/3rdparty/pear/archive_tar:/snap/nextcloud/53763/htdocs/3rdparty/pear/console_getopt:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear-core-minimal/src:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear_exception:/snap/nextcloud/current/htdocs/apps:/var/snap/nextcloud/current/nextcloud/extra-apps')
Error during app service registration: Failed opening required '/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php' (include_path='/snap/nextcloud/53763/htdocs/3rdparty/pear/archive_tar:/snap/nextcloud/53763/htdocs/3rdparty/pear/console_getopt:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear-core-minimal/src:/snap/nextcloud/53763/htdocs/3rdparty/pear/pear_exception:/snap/nextcloud/current/htdocs/apps:/var/snap/nextcloud/current/nextcloud/extra-apps')

Warning
	PHP
	
require_once(/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php): Failed to open stream: No such file or directory at /var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/Application.php#79

```

#### Web Browser

If the problem is related to the Web interface, open your browser inspector _Console_ and _Network_ tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

```auto
XHRPUT
http://localhost:81/index.php/apps/eurooffice/ajax/settings/address
[HTTP/1.1 500 Internal Server Error 50ms]

	
PUT
	
scheme
	http
host
	localhost:81
filename
	/index.php/apps/eurooffice/ajax/settings/address
Address
	127.0.0.1:81
Status
500
Internal Server Error
VersionHTTP/1.1
Transferred3.27 kB (2.65 kB size)
Referrer Policyno-referrer
Request PriorityHighest
DNS ResolutionSystem

    	
    Connection
    	close
    Content-Security-Policy
    	default-src 'self'; script-src 'self' 'nonce-n33Ot2fnRexDqqD8PSiyWQwtCfQB2Re14qmbi1rZIBs='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
    Content-Type
    	text/html; charset=UTF-8
    Date
    	Thu, 23 Jul 2026 19:49:20 GMT
    Referrer-Policy
    	no-referrer
    Server
    	Apache
    Transfer-Encoding
    	chunked
    X-Content-Type-Options
    	nosniff
    X-Frame-Options
    	SAMEORIGIN
    X-Permitted-Cross-Domain-Policies
    	none
    X-Robots-Tag
    	noindex, nofollow
    	
    Accept
    	application/json, text/plain, */*
    Accept-Encoding
    	gzip, deflate, br, zstd
    Accept-Language
    	en-US,en;q=0.5
    Connection
    	keep-alive
    Content-Length
    	184
    Content-Type
    	application/json
    Cookie
    	---
    Host
    	localhost:81
    Origin
    	http://localhost:81
    Priority
    	u=0
    requesttoken
    	---
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	same-origin
    User-Agent
    	Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
    X-Requested-With
    	XMLHttpRequest, XMLHttpRequest

```

#### Web server / Reverse Proxy

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
PASTE HERE

```

### Configuration

#### Nextcloud

The output of `occ config:list system` or similar is best, but, if not possible, the contents of your `config.php` file from `/path/to/nextcloud` is fine (make sure to remove any identifiable information!):

```auto
PASTE HERE

```

#### Apps

The output of `occ app:list` (if possible).

### Tips for increasing the likelihood of a response

- Use the `preformatted text` formatting option in the editor for all log entries and configuration output.
- If screenshots are useful, feel free to include them.
  - If possible, also include key error output in text form so it can be searched for.

- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

---

<div class="post-metadata">

**Author:** ![awelzel](https://help.nextcloud.com/user_avatar/help.nextcloud.com/awelzel/32/74585_2.png) [@awelzel](https://help.nextcloud.com/u/awelzel)\
**Post date:** [July 23, 2026, 10:04pm UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291/2 "2026-07-23T22:04:31Z")

</div>

The error message indicates, that one file is missing in your Euro Office integration app. Try removing it completely and reinstalling it.

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [July 23, 2026, 10:11pm UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291/3 "2026-07-23T22:11:26Z")

</div>

> [@guy123](#):
>
> `/var/snap/nextcloud/current/nextcloud/extra-apps` `

Wild guess: something related to Snap confinement. The EO docs are for a bare metal installation.

> [@](#):
>
> ```auto
> 
> require_once(/var/snap/nextcloud/53763/nextcloud/extra-apps/eurooffice/lib/AppInfo/../../vendor/autoload.php): Failed
> 
> ```

Does this file actually exist? It likely would have been created after running Composer. Though I have no zero idea how Composer interacts with Snap’s environmental assumptions and constraints.

---

<div class="post-metadata">

**Author:** ![scubamuc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/scubamuc/32/63165_2.png) [@scubamuc](https://help.nextcloud.com/u/scubamuc)\
**Post date:** [July 24, 2026, 6:40am UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291/4 "2026-07-24T06:40:31Z")

</div>

@guy123 welcome and thanks for your request 👋

your setup is unclear from the information you’ve mentioned:

- nextcloud snap installed on bare metal host behind nginx reverse proxy on the same host, right?
  - FQDN correctly configured as per [How to manage Hosts and FQDN for Nextcloud snap](https://help.nextcloud.com/t/how-to-manage-hosts-and-fqdn-for-nextcloud-snap/216109), right?

ergo, Nextcloud snap is running on a port other than 80 (which port is that?) → nginx reverse proxy is internet facing on ports 80 and 443 forwarding the snap and doing the SSL stuff.

its unclear how you’re installing eurooffice though… assuming its a bare metal install on that same host using \*.deb or make, you’d need to configure a port other than port 80 (nginx), port 8x (Nextcloud snap) and configure a proxy host in your reverse proxy, forwarding that eurooffice port.

but those are assumptions and without details we’re just guessing.

recommend running eurooffice in a docker container on that host see [Euro Office for Nextcloud with Docker](https://help.nextcloud.com/t/euro-office-for-nextcloud-with-docker/246602) that way you’re not interfering with the snap and you’ve separated the snap and eurooffice environments, each running in their own contained environment and letting nginx handle the routing and SSL

> [@jtr](#):
>
> Wild guess: something related to Snap confinement. The EO docs are for a bare metal installation.

@jtr the eurooffice app from the app store is merely complaining that it can’t connect to the service that was configured in the adminsettings

 ![image](https://help.nextcloud.com/uploads/default/original/3X/6/6/667f55e47ce56b8c540b24010af1c42183a540a4.png)

→ so its not a confinement issue as the eurooffice service is not running within the snap and confinement will only effect binaries executed within the snap.

personally been running [eurooffice](https://help.nextcloud.com/t/euro-office-for-nextcloud-with-docker/246602) and [collabora](https://help.nextcloud.com/t/collabora-code-for-nextcloud-with-docker/216725) in parallel on the snap for a while now, without any issues.

thus @guy123 should be able to run all those services on one host, provided the services are each correctly configured and the nginx proxy hosts are forwarded correctly.

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [July 24, 2026, 3:49pm UTC](https://help.nextcloud.com/t/nextcloud-office-request-failed-with-status-code-500/247291/5 "2026-07-24T15:49:23Z")

</div>

> [@scubamuc](#):
>
> @jtr the eurooffice app from the app store is merely complaining that it can’t connect to the service that was configured in the adminsettings

OP was a little unclear; they linked to the docs for installing from the repo not via the app store so I was responding from that perspective.
