[Plug-In] Community Applications


Recommended Posts

How hard would it be to code a thumbs up/thumbs down or rating feedback mechanism the entries/applications.  Lately CA seems to be flooded with certain contributors effectively uploading pretty much generic Dockerfile configurations, and no reputable support links to other than projects Github project (without Unraid specifics) and it's making it difficult to discover new apps to add without weeding through the effectively default configurations that don't tend to work OOB.

Link to comment
1 hour ago, Brad McConnell said:

How hard would it be to code a thumbs up/thumbs down or rating feedback mechanism the entries/applications.  Lately CA seems to be flooded with certain contributors effectively uploading pretty much generic Dockerfile configurations, and no reputable support links to other than projects Github project (without Unraid specifics) and it's making it difficult to discover new apps to add without weeding through the effectively default configurations that don't tend to work OOB.

 

A feedback system of some sort has always been on the whiteboard for implementation.  It is however a very complicated undertaking that requires a completely new infrastructure, security system etc etc.  If / when the feed becomes unworkable due to size then those changes have to come into effect to continue this endeavor, but that is a ways off.  (IE: I'd have to start hosting a publicly accessible SQL server and have to implement controls and security to prevent anyone from gaining control over the entire system (and by inference everyone's servers by manipulating the repositories which are offered up to install)  It's coming, but it's not on any current priority list)

  • Thanks 1
Link to comment

I am trying to install the Quassel Web applications published by Linux Server but the template seems to be incorrect. The WebUI URL has incorrect port. Should be 64080, not 64443, and http instead of https.

Moreover, even when I remove the "URL_BASE" entry and leave it blank, it is still being overwritten with "/quassel" when I click the "Apply" button.

Anyone else have the same issue?

 

image.thumb.png.7541bc84012ee3f4bb80505a51347b87.png

 

image.thumb.png.fe9a868bf0cbc4a890d4ed4c05d2a390.pngimage.thumb.png.747e3e0473ac19eff90f26c1a696d5f7.png

Edited by szymon
Link to comment
42 minutes ago, szymon said:

I am trying to install the Quassel Web applications published by Linux Server but the template seems to be incorrect. The WebUI URL has incorrect port. Should be 64080, not 64443, and http instead of https.

Moreover, even when I remove the "URL_BASE" entry and leave it blank, it is still being overwritten with "/quassel" when I click the "Apply" button.

Anyone else have the same issue?

 

image.thumb.png.7541bc84012ee3f4bb80505a51347b87.png

 

image.thumb.png.fe9a868bf0cbc4a890d4ed4c05d2a390.pngimage.thumb.png.747e3e0473ac19eff90f26c1a696d5f7.png

 

You want to post in the applicable support thread for this (click on the icon and select support) or hit LSIO up on their discord (select discord)

Link to comment

Today's release mainly brings the following:

 

Official containers weren't having any statistics being gathered (download counts etc).  Fixed via the appfeed

The sidebar will now display the last time an update was pushed to dockerHub for the app in question

  • The first date that appears is an estimate of the last time the container was updated.  This estimate gets revised every 30 days when the feed gathers the updated stats on the app.
  • After a second or 2 of the sidebar being open, the actual time the container was updated will then display.  This is live as of the time of you opening the sidebar

Note that if the application is "tagged" to pull a specific version (ie: something like :nightly or :2.5 etc), then the update time will not display at all because there is no way to determine the date of that "tag" being issued or updated but rather the date is always about the last update to the dockerHub repository (which implies no tag or :latest)

 

This will let you determine if a container is still being updated etc.  Note that for many apps, updates to them aren't strictly necessary at all.  EG: coppit/No-IP works perfectly, requires no updates and indeed hasn't been updated for years.

 

In the case of containers which are hosted on ghcr (as an example), the date of the update is taken from dockerHub.  If the container does not exist on dockerHub, then the date will be "unknown"

Link to comment

Hopefully this is the correct thread to ask this in...

 

DelugeVPN is up and running without issues, but the ICON shows as a ?. Clicking on it I have no option for the webui.

Searching in CA shows that it's installed. I then choose 'actions', 'edit' and get "CreateXML: XML file was missing"

 

How can I fix this?

 

Screen Shot 2022-02-06 at 7.21.37 PM.jpg

Screen Shot 2022-02-06 at 7.22.55 PM.jpg

Link to comment
53 minutes ago, unRAIDuser7 said:

Hopefully this is the correct thread to ask this in...

 

DelugeVPN is up and running without issues, but the ICON shows as a ?. Clicking on it I have no option for the webui.

Searching in CA shows that it's installed. I then choose 'actions', 'edit' and get "CreateXML: XML file was missing"

 

How can I fix this?

 

Screen Shot 2022-02-06 at 7.21.37 PM.jpg

Screen Shot 2022-02-06 at 7.22.55 PM.jpg

Interesting…

 

the icon is the easy part.  Your system was unable to download the icon to the docker.image so it’s displaying a default. 
 

the rest of it is curious.   The docker tab doesn’t think that the template XML is there on the flash drive (no edit on the drop down).   CA thinks it’s there (why edit was there) but when you actually went to edit it it couldn’t find it.

 

Posting your diagnostics will help figure out why it’s there and not there simultaneously

Link to comment

CA failure report, as requested by plugin:

 

Spoiler

OS: 6.9.2
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36
Language:

<br /> <b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/usr/local/emhttp/plugins/community.applications/include/helpers.php</b> on line <b>193</b><br /> {"description":"\n\t\t<div class='popup'>\n\t\t<div><span class='popUpClose'>CLOSE<\/span><\/div>\n\t\t<div class='ca_popupIconArea'>\n\t\t\t<div class='popupIcon'><img class='popupIcon' src='https:\/\/github.com\/juusujanar\/unraid-templates\/raw\/master\/img\/Portainer-logo.png' onerror='this.src=&quot;\/plugins\/dynamix.docker.manager\/images\/question.png&quot;'><\/div>\n\t\t\t<div class='popupInfo'>\n\t\t\t\t<div class='popupName'>Portainer<\/div>\n\t\t<div class='popupAuthorMain'>portainer<\/div>\n\t\t\t\t\t<div class='actionsPopup' id='actionsPopup'>Actions<\/div>\n\t\t\t\t<div class='supportPopup' id='supportPopup'><span class='ca_fa-support'> Support<\/div><div class='pinned' style='display:inline-block' title='Click to unpin this application' data-repository='registry.hub.docker.com\/portainer\/portainer-ce' data-name='Portainer'><\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class='popupDescription popup_readmore'><p><br>&nbsp;&nbsp;&nbsp;&nbsp;Portainer hides the complexity of managing containers behind an easy-to-use UI.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;By removing the need to use the CLI, write YAML or understand manifests, Portainer makes deploying apps and troubleshooting problems so easy that anyone can do it.<br>&nbsp;&nbsp;&nbsp;&nbsp;<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;Configuration<br><br>&nbsp;&nbsp;&nbsp;&nbsp;\/mnt\/user\/appdata\/portainer This is where Portainer will store it's data.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;\/var\/run\/docker.sockr Portainer uses this to get Docker information from unRAID host.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Port 8000 TCP tunnel server<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Port 9443 Secure (HTTPS) WebUI port, default uses self-signed certificate<br><br><\/p>\n<\/div>\n\t\n\t\t<div>\n\t\t<div class='popupInfoSection'>\n\t\t\t<div class='popupInfoLeft'>\n\t\t\t<div class='rightTitle'>Details<\/div>\n\t\t\t<table style='display:initial;'>\n\t\t\t\t<tr><td class='popupTableLeft'>Application Type<\/td><td class='popupTableRight'>Docker<\/td><\/tr>\n\t\t\t\t<tr><td class='popupTableLeft'>Categories<\/td><td class='popupTableRight'>Network:Management, Productivity, Tools:Utilities<\/td><\/tr>\n\t\t\t\t<tr><td class='popupTableLeft'>Added<\/td><td class='popupTableRight'>Nov 5, 2021<\/td><\/tr>\n\t<tr><td class='popupTableLeft'>Repository<\/td><td class='popupTableRight' style='white-space:nowrap;'>registry.hub.docker.com\/portainer\/portainer-ce<\/td><\/tr><tr><td class='popupTableLeft'>Last Update:<\/td><td class='popupTableRight'><span id='template619'>Unknown <span class='ca_note'><span class='ca_fa-asterisk'><\/span><\/span><\/span><\/td><\/tr><\/table>\n\t\t\t<\/div>\n\t\t\t<div class='popupInfoRight'>\n\t\t\t\t\t<div class='popupAuthorTitle'>Maintainer<\/div>\n\t\t\t\t\t<div><div class='popupAuthor'>jj9987<\/div>\n\t\t\t\t\t<div class='popupAuthorIcon'><img class='popupAuthorIcon' src='https:\/\/github.com\/juusujanar.png' onerror='this.src=&quot;\/plugins\/dynamix.docker.manager\/images\/question.png&quot;'><\/img><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class='ca_repoSearchPopUp popupProfile' data-repository='jj9987&#039;s Repository'>All Apps<\/div>\n\t\t\t\t\t<div class='repoPopup' data-repository='jj9987&#039;s Repository'>Profile<\/div>\n\t\t\t\t\t<div class='ca_favouriteRepo nonfav' data-repository='jj9987&#039;s Repository'>Favourite<\/div>\n\t\t\n\t\t\t<div class='donateText'>If you like my work and want to buy me a beer, feel free.<\/div>\n\t\t\t<div class='donateDiv'><span class='donate'><a href='https:\/\/www.paypal.me\/jj9987' target='_blank'>Donate<\/a><\/span><\/div>\n\t\t\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/div>\n\t<div><br><span class='ca_note ca_bold'><span class='ca_fa-asterisk'><\/span> Note: All statistics are only gathered every 30 days<\/span><\/div>","trendData":null,"trendLabel":null,"downloadtrend":null,"downloadLabel":null,"totaldown":null,"totaldownLabel":null,"supportContext":[{"icon":"ca_fa-project","link":"https:\/\/portainer.io","text":"Project"},{"icon":"ca_fa-support","link":"https:\/\/lime-technology.com\/forums\/topic\/69491-support-jj9987-portainer\/","text":"Support Forum"},{"icon":"ca_fa-docker","link":"https:\/\/registry.hub.docker.com\/r\/portainer\/portainer-ce\/","text":"Registry"}],"actionsContext":[{"icon":"ca_fa-edit","text":"Edit","action":"popupInstallXML('\/boot\/config\/plugins\/dockerMan\/templates-user\/my-Portainer.xml','edit');"},{"divider":true},{"icon":"ca_fa-delete","text":"<span class='ca_red'>Uninstall<\/span>","action":"uninstallDocker('\/boot\/config\/plugins\/dockerMan\/templates-user\/my-Portainer.xml','Portainer');"}],"ID":619}

 

The situation in which the failure occurred was slightly atypical: I attempted to install Portainer from CA, but it failed to start due to a port binding conflict, after which I was automatically returned to CA, and this error appeared, with instructions to post it here.

Edited by bland328
Link to comment
On 2/6/2022 at 8:23 PM, Squid said:

Interesting…

 

the icon is the easy part.  Your system was unable to download the icon to the docker.image so it’s displaying a default. 
 

the rest of it is curious.   The docker tab doesn’t think that the template XML is there on the flash drive (no edit on the drop down).   CA thinks it’s there (why edit was there) but when you actually went to edit it it couldn’t find it.

 

Posting your diagnostics will help figure out why it’s there and not there simultaneously

Update 1

I found where the XML file is supposed to be located for the DelugeVPN container

 

Location: /boot/config/plugins/dockerMan/templates-user

Name: my-binhex-delugevpn.xml

 

That file however is nowhere to be found. I did find a copy of it in a backup, but it's corrupted. Near the end of the file I get a lot of garbled characters and NULNULNULNUL.

Apparently there are supposed to be 18 host ports and mine corrupted around #3.

 

Is there anyway to 'regenerate' the xml file from the container actually working and functioning properly?

 

Update 2

I believe I have figured it out. I spun up a trial copy of unRaid and installed the DelugeVPN container, grabbed the .xml file from the same location (templates-user), then did a compare of the files using Notepad++

 

From what I can tell the corrupt data from the bottom of my original .xml file was/is just the default data/information for the container itself, and the options that you can choose from. Copied the template data from the new .xml file over to mine and saved it. I then made sure the owner and file permissions were the same and copied it via the terminal.

 

Did a refresh of the docker page and the icon now shows up properly. Here's to hoping I figured it out!

 

I would still like to know if it's possible to regenerate an .xml file from a running and usable container.

 

Edited by unRAIDuser7
Info
Link to comment
On 2/6/2022 at 7:25 PM, unRAIDuser7 said:

Hopefully this is the correct thread to ask this in...

 

DelugeVPN is up and running without issues, but the ICON shows as a ?. Clicking on it I have no option for the webui.

Searching in CA shows that it's installed. I then choose 'actions', 'edit' and get "CreateXML: XML file was missing"

 

How can I fix this?

I think I managed to replicate your problem completely by accident.  Since you're running docker folders it's hard to tell exactly what's going on, but do you happen to have binhex-delugevpn installed twice? And the names of each being identical but only differing in "case": Deluge vs deluge vs DELUGE?

 

The system can't handle this situation because of FAT32 on the flash drive.

Link to comment
On 2/10/2022 at 8:27 PM, Squid said:

I think I managed to replicate your problem completely by accident.  Since you're running docker folders it's hard to tell exactly what's going on, but do you happen to have binhex-delugevpn installed twice? And the names of each being identical but only differing in "case": Deluge vs deluge vs DELUGE?

 

The system can't handle this situation because of FAT32 on the flash drive.

Not aware of it being installed more than once. I mean, it only shows up once, so I assume I only have it installed once.

 

If you see my post above yours the XML file was missing. I was able to cobble together the xml file and it's been working fine since.

Link to comment
On 5/8/2020 at 5:46 AM, tknx said:

Is CA working right now?

 

Getting this:

 

Download of appfeed failed.

Community Applications requires your server to have internet access. The most common cause of this failure is a failure to resolve DNS addresses. You can try and reset your modem and router to fix this issue, or set static DNS addresses (Settings - Network Settings) of 208.67.222.222 and 208.67.220.220 and try again.

Alternatively, there is also a chance that the server handling the application feed is temporarily down.
Last JSON error Recorded: Syntax error

i got this error too. emm

Link to comment
  • 2 weeks later...
On 2/3/2022 at 10:17 PM, Squid said:

 

A feedback system of some sort has always been on the whiteboard for implementation.  It is however a very complicated undertaking that requires a completely new infrastructure, security system etc etc.  If / when the feed becomes unworkable due to size then those changes have to come into effect to continue this endeavor, but that is a ways off.  (IE: I'd have to start hosting a publicly accessible SQL server and have to implement controls and security to prevent anyone from gaining control over the entire system (and by inference everyone's servers by manipulating the repositories which are offered up to install)  It's coming, but it's not on any current priority list)

 

 

20 apps later by someone that's spamming the repository... we need a check/balance mechanism.  The apps are even being flagged as dead projects.   Someone is just fluffing their numbers and it's making it difficult to find decent new apps to add.

Link to comment

Try a reboot  You've got a lot of weird little errors happening in the server, but nothing directly "wrong"

 

If the problems continue, go to Settings - Community Applications, enable Debugging then try the apps tab again.  If it fails again then go back to Settings, Community Applications and download the debug file and post it here

 

Also, you should never do this

Feb 25 19:08:27 Cerebro emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/newperms /mnt/cache|/mnt/user/system

Running the new permissions tool against a drive (cache) may impact your ability to have functioning docker containers because they may have their own unique permissions etc  If you have Fix Common Problems installed, use the Docker Safe New Permissions instead

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.