[Plug-In] Community Applications


Recommended Posts

Hello -

 

Community applications was working for 2+ months, but started getting this error recently:

 

Warning: file_put_contents(): Only -1 of 54 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php on line 714
 

My flash disk, RAM, and array/cache disks have free space. When I run "df -h", I get the below output:

 

root@LIBRARY:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs           16G  3.7G   12G  24% /
tmpfs            32M   32M     0 100% /run
/dev/sda1       7.7G  668M  7.0G   9% /boot
overlay          16G  3.7G   12G  24% /lib/firmware
overlay          16G  3.7G   12G  24% /lib/modules
devtmpfs        8.0M     0  8.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
cgroup_root     8.0M     0  8.0M   0% /sys/fs/cgroup
tmpfs           128M   33M   96M  26% /var/log
/dev/md1         13T  9.7T  3.2T  76% /mnt/disk1
/dev/md2         13T  9.6T  3.2T  76% /mnt/disk2
/dev/md3         13T  9.6T  3.2T  76% /mnt/disk3
/dev/md4         13T  9.6T  3.2T  76% /mnt/disk4
/dev/md5         13T  8.4T  4.4T  66% /mnt/disk5
/dev/md6         13T  6.4T  6.4T  51% /mnt/disk6
/dev/md7         13T  6.5T  6.3T  51% /mnt/disk7
/dev/md8         13T  6.4T  6.4T  51% /mnt/disk8
/dev/md9         13T  6.4T  6.4T  51% /mnt/disk9
/dev/md10        13T  6.4T  6.4T  51% /mnt/disk10
/dev/sdf1       932G  100G  829G  11% /mnt/cache
shfs            128T   79T   49T  62% /mnt/user0
shfs            128T   79T   49T  62% /mnt/user
/dev/loop2       20G   11G  9.3G  53% /var/lib/docker
/dev/loop3      1.0G  4.1M  905M   1% /etc/libvirt

 

Attached are my logs.

CA-Logging-20230326-1034.zip

 

This error is referenced in a similar thread, but it didn't seem like OP was able to identify the root-cause. 

 

https://forums.unraid.net/topic/132368-warning-file_put_contents-only-1-of-100-bytes-written-possibly-out-of-free-disk-space-in-usrlocalemhttppluginsdynamixincludedefaultpagelayoutphp-on-line-714/

 

Does anyone know a more permanent fix for this, or a resolution without having to reboot the server? Hoping for a way to purge that log file.

 

Edited by limitz
Link to comment
13 minutes ago, Squid said:

And update CA.

When I check for updates, I get the following message:

 

"Checking connectivity ... No response, aborting!"

 

I think it's related to that full log file since there is Internet available across my dockers.

 

---

 

Stupid question, when after I kick off Diagnostics from "Tools -> Diagnostics", do I just need to leave the WebUI open on that page for a few hours? If I leave the page, does the Diagnostic process stop?

 

The webUI looks like it hangs for multiple minutes at a time - not sure if there's a better way or if I just need to wait it out. I have a lot of files, so it could take hours.

 

EDIT: webUI just crashed on Chrome when running Diagnostics...

Edited by limitz
Link to comment
3 minutes ago, limitz said:

Stupid question, when after I kick off Diagnostics from "Tools -> Diagnostics", do I just need to leave the WebUI open on that page for a few hours? I have a lot of media... or does it save to a specific location on the unRaid server?

 

Diagnostics should create a zip and download it through your browser in a few seconds, but again /run being full might prevent it from working.

 

What does `du -h -d 1 /run` say?

Link to comment

It's taking a lot longer than a few seconds, and crashing after a few minutes. It looks like its writing the diagnostic log file with every file I have in unRaid. 

 

root@LIBRARY:~# du -h -d 1 /run
0       /run/containerd
48K     /run/libvirt
32M     /run/docker
4.0K    /run/avahi-daemon
0       /run/rpcbind
0       /run/samba
0       /run/cron
4.0K    /run/elogind
0       /run/user
4.0K    /run/dbus
4.0K    /run/hook-state
0       /run/faillock
0       /run/lock
0       /run/lvm
304K    /run/udev
0       /run/mount
8.0K    /run/blkid
32M     /run

Edited by limitz
Link to comment

Stopping the Docker service should free /run/docker and allow things to work normally again to collect the diagnostics

 

Not sure if something else should be done before that in case that would clear some info that could lead to the cause.

 

When you open the syslog window do you have stuff scrolling by endlessly or is it quiet?

Link to comment

>When you open the syslog window do you have stuff scrolling by endlessly or is it quiet?

 

Interesting, it's a ton of nginx error messages:

 

Mar 26 03:17:13 LIBRARY nginx: 2023/03/26 03:17:13 [error] 31026#31026: nchan: Out of shared memory while allocating message of size 503. Increase nchan_max_reserved_memory.

Mar 26 03:17:13 LIBRARY nginx: 2023/03/26 03:17:13 [error] 31026#31026: *33427723 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"

Mar 26 03:17:13 LIBRARY nginx: 2023/03/26 03:17:13 [error] 31026#31026: MEMSTORE:00: can't create shared message for channel /devices

 

I added that docker a few days/weeks ago, but haven't bothered to configure it since. I just removed it.

Link to comment

As mentioned nginx referred to the nginx that is part of unraid and providing the webgui, not one in a container. 

Gonna have to maybe watch it for a while, check syslog for repeating messages of a container starting/stopping al the time, which would look a bit like this

 

image.thumb.png.6094356692fcbb8242b8680f08e90079.png

Edited by Kilrah
Link to comment
1 hour ago, Dyon said:

What is the process for managing the depreciation status of some of my own applications on CA?

3 methods

 

  1. Add <Deprecated>true</Deprecated> to the xml files
  2. Move the .xml to a subfolder named Deprecated
  3. Let me know what to deprecate
Link to comment
6 hours ago, Squid said:

3 methods

 

  1. Add <Deprecated>true</Deprecated> to the xml files
  2. Move the .xml to a subfolder named Deprecated
  3. Let me know what to deprecate

 

Thank you! Went with method 1 since that is the easiest :)

Link to comment
  • 2 weeks later...

Not sure if this has been mentioned here before, but I just noticed something weird when browsing apps with this plugin: if I hover the mouse over the 'Info' button without clicking it, it sort of 'auto' clicks it and opens the info panel after a few seconds. I tried this on different computers with different browsers to check it wasn't just me and they all do the same thing. Is this intentional or could there be something else causing this on my end?

Link to comment
4 hours ago, jonitfcfan said:

Not sure if this has been mentioned here before, but I just noticed something weird when browsing apps with this plugin: if I hover the mouse over the 'Info' button without clicking it, it sort of 'auto' clicks it and opens the info panel after a few seconds. I tried this on different computers with different browsers to check it wasn't just me and they all do the same thing. Is this intentional or could there be something else causing this on my end?

Yeah.  Hover over the Icon or the Info button will auto open the sidebar after ~3sec  Similar to how the forum works, but can be disabled.

Link to comment

I get the following Error Message:

 

Bei der Installation von get_content ging etwas schief
Post the ENTIRE contents of this message in the Community Applications Support Thread

OS: 6.11.5
Browser: Mozilla/5.0 (Linux; Android 13; 2107113SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Language: de_DE

No data was returned. It is probable that another browser session has rebooted your server. Reloading this browser tab will probably fix this error

 

Seems to be the Same Template problem from September 2023.

Link to comment
Something really wrong went on during get_content
Post the ENTIRE contents of this message in the Community Applications Support Thread

OS: 6.11.5
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Language:

No data was returned. It is probable that another browser session has rebooted your server. Reloading this browser tab will probably fix this error

 

Link to comment

Same problem on my Instance today...

 

Something really wrong went on during get_content
Post the ENTIRE contents of this message in the Community Applications Support Thread

OS: 6.11.5
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Language:

No data was returned. It is probable that another browser session has rebooted your server. Reloading this browser tab will probably fix this error

 

Edited by TobiasKWF
code added
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.