Can't upload things on my Nextcloud Server (Unraid), it show's "Unknown Error" (Logs below)

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (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 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:

  • Official documentation (searchable and regularly updated)
  • How to topics and FAQs
  • Forum 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. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.5.
  • Operating system and version (e.g., Ubuntu 24.04):
    • Unraid 7.1.4.
  • Web server and version (e.g, Apache 2.4.25):
    • I'm not sure, the default?
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • None.
  • PHP version (e.g, 8.3):
    • 8.4.16.
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes.
  • When did this problem seem to first start?
    • February 1st, 2026.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Unraid Apps (LinuxServer's Repository).
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No.

Summary of the issue you are facing:

Hi Nextcloud Community Support Forum,

I’m writing this Forum Post today because I need help with a Nextcloud Error I am encountering.

When I use Nextcloud on my Unraid NAS, it used to work well (I haven’t had it for long anyway), but now whenever I upload something it gets stuck in the upload progress bar, and then it spits out “Unknown Error”. This is the first time I’ve seen this error, and it has started yesterday.

I’m not sure why this is happening and what caused it, and I have looked a bit deeper and found the logs, which I have posted below. (I used AI to redact some of the personal information, hopefully it worked and that’s okay). I read a bit of the logs, and it says I have no space, which is not true, I still have 400GB left on my Hard Drive. So far I have one Hard Drive and one SSD for Cache so far, and am planning to buy more soon since I just bought and built the Unraid NAS not too long ago. Nextcloud is set on the Hard Drive.

I would really appreciate some help with my problem.

Thanks.

Kind regards,
Lazarus.

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

  1. Log into Nextcloud.

  2. Upload anything.

  3. Nextcloud spits out an “Unknown Error”. You have to manually find the logs via Settings - Administration - Logging, to view more information, which I have posted below.

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.

Error
no app in context
Exception
Error while copying file to target location (copied: -1 bytes, expected filesize: 271049 bytes)
Uncaught exception

Feb 1, 2026, 9:39:08 PM

Error
webdav
Exception
Error while copying file to target location (copied: -1 bytes, expected filesize: 271049 bytes)

Feb 1, 2026, 9:39:08 PM

Error
no app in context
Exception
Error while copying file to target location (copied: -1 bytes, expected filesize: 271049 bytes)

Feb 1, 2026, 9:39:08 PM

Error
webdav
GenericFileException
Failed write stream to files/My Uploaded Stuff/DEVICE_REDACTED/e4002fb774f9adcadc84a38716c66e6c.ocTransferId106544734.part
Error while writing stream to storage: Failed write stream to files/My Uploaded Stuff/DEVICE_REDACTED/e4002fb774f9adcadc84a38716c66e6c.ocTransferId106544734.part

Feb 1, 2026, 9:39:08 PM

Warning
PHP
file_put_contents(/data/USER_REDACTED/files/My Uploaded Stuff/DEVICE_REDACTED/e4002fb774f9adcadc84a38716c66e6c.ocTransferId106544734.part):
Failed to open stream: No space left on device
at /app/www/public/lib/private/Files/Storage/Local.php#302

Feb 1, 2026, 9:39:08 PM

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.

N/A.

Web server / Reverse Proxy

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

N/A.

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!):

N/A.

Apps

The output of occ app:list (if possible). = N/A.

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.

Hello @Lazarus,
welcome to the Nextcloud community :handshake:

You’ve posted a request in the support section. Unfortunately you have not completed the required support template. Please edit your post and add as much information as possible so that community supporters have the necessary technical information to help you resolve your issue!

Without additional information the community members cannot help you.

Regards,
wwe

  • my guess would be something is wrong with file permissions. Please review an share how which permissions are applied. look for similar issues tagged file_permission
  • I’m confused about Failed write stream to files/My Uploaded Stuff/DEVICE_REDACTED/e4.. which role has the directory “My Uploaded Stuff” in your installation? IMO the application should only refer to “data” directory which seem “/data” in your case.

Done, I have edited the forum post with your template.

  1. I’m not sure what you mean, can you please elaborate? I don’t think I can just list all the permissions within Unraid. In Unraid, Nextcloud has a /data folder called nextcloud.

  2. My Uploaded Stuff is just a folder I made to upload some stuff within the Nextcloud WebUI/Website, it’s not the data directory. I apologise if I am misunderstanding your question.

Just to let you know, I am quite new to homelabs, Linux, self-hosting things, NAS’s, etc, so I apologise if my questions are dumb or if I misunderstand things a lot.

I also apologise for the late reply.

nobody knows stuff from the beginning and everybody starts at zero at some time. as newbie to self-hosting it’s a pretty steep learning curve and I highly recommend you are looking through 101: Self-hosting information for beginners. At the end Nextcloud still consists of multiple components e.g. webserver which have their settings and generate own logs and you must be aware of them and know the ways to access them - sooner or later you need raw details.

Regarding Unraid I’m sorry I can’t help, let’s hope somebody knows more.. but definitely a “custom” installation is sexy when it works but it is harder to understand and troubleshoot when you start looking into details when it’s broken. Look at this guide, it’s not the same method but maybe you find similarities https://myunraid-ru.translate.goog/nextcloud-aio/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp

I understand I need to learn more, which I will in good time the more I use my NAS, Linux, Docker, Homelabs, etc. But for right now, what can I do to fix my problem? And if you can’t help me, who can?

Because it’s only been you who has responded to my post and not anyone else, and if I wait for someone else to help me, and no one else responds, my forum post will end up at the bottom of the list and it won’t be seen again.

I’m desperate because Nextcloud is unusable now, because of this problem, I can’t upload anything.

you may have storage space on your system, but obviously your Nextcloud instance doesn’t know about it… as @wwe mentioned, may be permissions issue.

so please post your config.php (redacted) and if you’re using docker post your compose too.

Hi scubamuc, I really appreciate you coming to help me.

I went to download the config.php file and to send it here like you said: “Shares - appdata - nextcloud - www - nextcloud - config - config.php”.

That’s the right location for the config.php file, right? When I’m in that directory within Unraid, the file itself shows that it has a size of 783B, but when I went to download and open it, it was empty, and it shows it has a size of 0B. I was using Windows Notepad, so I tried using different text editor, like Sublime Text, it still didn’t work. Why is this happening?

You appear to be using LSIO’s Nextcloud Docker image.

You can access occ (for getting the config/etc as requested in the support template) by exec’ing into the running container. Generally through a console/ terminal window.

Likely something like:

docker exec -it nextcloud occ config:list system

As for storage, it’ll depend on things like your volume mounts for /data and /config, which are something you specify when creating the container. That’s actually done at the Docker level, not within Nextcloud.

Other possibilities also include any mappings for tmpfs and possibly additional mounts added for External Storage.

root@REDACTED:\~# docker exec -it nextcloud occ config:list system
{
“system”: {
“datadirectory”: “***REMOVED SENSITIVE VALUE***”,
“instanceid”: “***REMOVED SENSITIVE VALUE***”,
“passwordsalt”: “***REMOVED SENSITIVE VALUE***”,
“secret”: “***REMOVED SENSITIVE VALUE***”,
“trusted_domains”: \[
“192.168.xx.x:xxx”
\],
“dbtype”: “mysql”,
“version”: “32.0.5.0”,
“overwrite.cli.url”: “https://192.168.xx.x:xxx”,
“dbname”: “***REMOVED SENSITIVE VALUE***”,
“dbhost”: “***REMOVED SENSITIVE VALUE***”,
“dbtableprefix”: “oc\_”,
“mysql.utf8mb4”: true,
“dbuser”: “***REMOVED SENSITIVE VALUE***”,
“dbpassword”: “***REMOVED SENSITIVE VALUE***”,
“installed”: true,
“memcache.local”: “\\OC\\Memcache\\APCu”,
“filelocking.enabled”: true,
“memcache.locking”: “\\OC\\Memcache\\APCu”,
“upgrade.disable-web”: true,
“loglevel”: 2,
“maintenance”: false
}
}
root@REDACTED:\~#

Hi, just following up as I have not received a response yet.

please don’t do this! :angry:
no response for few days is fully valid - volunteers working here in their spare time - if you want faster resolution or SLA look for professional support.

I’m concerned about the backslash, IMO it shouldn’t be there (same applies to “oc_” , “\OC\Memcache\APCu” and others)

https:// and rfc1918 address rings a bell - if it is really TLS it’s not public CA and you likely you hit TLS issues. btw no need to anonymize rfc1918 address like 192.168.1.12 or non-public hosts names - nobody can access it remotely and there are thousands of them in the world. overwrite.cli.url should only apply for CLI tools but you never know..

next you quotes don’t look like plain text quotes - the quote should straight like this " and not “” - maybe it comes from your desktop editor but in case it shows like this in your system shell this is bad and likely you config is completely broken.

I apologise, I didn’t know. I won’t be doing that again. My worry was going to be that my Support Forum was forgotten about and I didn’t want it to end up at the bottom of the list, since as I have said before, Nextcloud is unusable. I also would like to apologise for answering late, because as ironic as it sounds, I have gotten a bit busy these last few days.

  1. Yeah, I knew nobody could access my rfc1918 address, I just don’t do these forums often and I didn’t want to take any risks. My apologies once again. I can edit and include it if that would help.
  2. Based on what you have said, and you concluding it with “but in case it shows like this in your system shell this is bad and likely you config is completely broken.”, what do you suggest I do then?

compare with your backup… you do have a backup right?

Nope, I didn’t know I had to, neither do I know how to back Nextcloud up. I think this means I need to reinstall it completely.

Why Backup

Not having a backup makes a bad situation worse. There is nothing anyone can do if you don’t backup your data. A good backup strategy will enable data recovery in the case of disaster. So depending on your backup frequency and how often you practice restoring your backup, you’ll have a good chance of system recovery within a couple of hours with limited data loss.

1 Like

Yeah, I only bought, built and had my NAS working/running for just over a month, so I didn’t know you could, or had to do this, and I don’t have much on Nextcloud yet so it’s fine, but I will be backing it up as per your instructions next time. I will let you know if completely reinstalling Nextcloud solves my problem.

Nope, I uninstalled it completely on Unraid, deleted all the leftovers, deleted the database and MariaDB, too, etc. Then I reinstalled MariaDB and Nextcloud.

First time, something happened, it didn’t install correctly. I got this Error.

I checked the Server Logs by going into Unraid - Docker category- clicking on the Nextcloud Docker Container Application - Logs. And I got this:

Setting resolver to 1.1.1.1 1.0.0.1 Setting worker_processes to 12 generating self-signed keys in /config/keys, you can replace these with your own keys if required Initializing nextcloud 32.0.5.0 (this can take a while) ... Setting permissions New nextcloud instance Please run the web-based installer on first connect! Initializing finished After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations. Alternatively, you can apply your own configurations by editing /config/www/nextcloud/config/config.php following the documentation: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/files_locking_transactional.html [custom-init] No custom files found, skipping... [ls.io-init] done. Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main} Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main} Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main} Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main} Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main} Exception: Not installed in /app/www/public/lib/base.php:226 Stack trace: #0 /app/www/public/lib/base.php(703): OC::checkInstalled() #1 /app/www/public/lib/base.php(1192): OC::init() #2 /app/www/public/cron.php(29): require_once('...') #3 {main}

ChatGPT told me I need to re-do the installation because it stopped mid-way, and it told me to stop the nextcloud docker container application from running, then delete the config.php, and everything in the nextcloud data folder, and then start it again. It said this should prompt the setup menu again.

Instead, it showed this:

So I just ended up reinstalling it completely again, and going through the setup process. When I did, it worked, I was happy and I thought my problem had been fixed, but when I started to upload stuff, I got some more errors, similar to the ones I had before. I assume it’s related to the same problem:

[no app in context] Error: Uncaught exception
MOVE /remote.php/dav/uploads/[username redacted]/web-file-upload-[redacted]/.file
from [LAN IP redacted] by [username redacted] at Feb 8, 2026, 10:34:01 PM

[webdav] Error: Could not open file: web-file-upload-[redacted]/60 (713), file doesn’t seem to exist
MOVE /remote.php/dav/uploads/[username redacted]/web-file-upload-[redacted]/.file
from [LAN IP redacted] by [username redacted] at Feb 8, 2026, 10:34:01 PM

[no app in context] Error: Could not open file: web-file-upload-[redacted]/60 (713), file doesn’t seem to exist
MOVE /remote.php/dav/uploads/[username redacted]/web-file-upload-[redacted]/.file
from [LAN IP redacted] by [username redacted] at Feb 8, 2026, 10:34:01 PM

[PHP] Warning: rmdir(/data/[username redacted]/uploads/web-file-upload-[redacted]): Directory not empty
at /app/www/public/lib/private/Files/Storage/Local.php#123
DELETE /remote.php/dav/uploads/[username redacted]/web-file-upload-[redacted]
from [LAN IP redacted] by [username redacted] at Feb 8, 2026, 10:33:50 PM

FYI: These are the formatted logs that I got from Nextcloud’s WebUI, by going to Nextcloud - profile icon in the top left - Administration Settings - Logging. If you need the raw logs, let me know, but I don’t know if they are safe to upload. (I used ChatGPT for redaction again).

Here is my OCC/config again with the new installation:

root@REDACTED:~# docker exec -it nextcloud occ config:list system
{
“system”: {
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.xx.x:xxx”
],
“dbtype”: “mysql”,
“version”: “32.0.5.0”,
“overwrite.cli.url”: “https://192.168.xx.x:xxx”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true
}
}
root@REDACTED:~#

This is really distressing, I just want it to bloody work.

I would really appreciate some further help here, I don’t know what to do.

(I couldn’t include this because apparently new users only can post two embedded photos at once).

honestly, you should know what you are trying to achieve without using hyperboles! then find out if what you are trying to achieve will actually work. You’re using “Docker on Unraid” and you are obviously trying to host Nextcloud locally without a public DNS and valid certificate! That’s definitely not what Nextcloud was designed for.

how about doing some homework and then trying to explain what you are trying to accomplish! it looks as though you’ve skipped the basics and are expecting us to fill in the blanks… that’s not how it works!

start here:

your issues

use FQDN (an IP-address is not a domain name) see 101: Network, domain and DNS

you need a domain name with a valid certificate see 101: Network, domain and DNS

Hi @Lazarus ,

I might be sort of able to help you or direct you towards the end of tunnel. I managed to get Nextcloud work on unraid (and I am also new in the server world/programming in Linux/being my and friends it support), however as above @scubamuc mentioned you need a domain name. I suffered weeks as well with disappointment and frustration, but managed to get it work. Sort of. Image upload works but Onlyoffice could not open any of my uploaded excel,pdf docx files. that is where Iam now. Oh and also get error creating conversations on Nextcloud Talk. But to the point of domain name, I have tried two options cloudflare and Tailscale. I am on the second option, however that is also another rabbit hole. I use the nextcloud-aio-mastercontainer. guides I used to get where I am, but they did not work always for me right away. This app on unraid is better as it automatically creates the extra containers needed to work on unraid

Tailscale: https://youtu.be/3KUISD-OYa4

this one is also helpful : https://youtu.be/WkCqAuGhWb8

and to get nextcloud work through tailscale : https://youtu.be/FU1vdM4dIhY

Nextcloud_aio: https://youtu.be/U47nvwXrAOo

These are all helped me to get it work or atleast progress with my self-hosting career and learning curve for programing I guess