Jump to content
Squid

[Plug-In] Community Applications

2772 posts in this topic Last Reply

Recommended Posts

1 hour ago, MacDaddy said:

 It took four attempts to get the donation sent - it terminated many times with a cryptic "fatal error" message.

I'll check it out, but more than likely a PayPal issue.  Thanks for the beer!

Share this post


Link to post

PM me if

  1. You don't mind doing a very quick and safe beta test for CA
  2. You're running 6.4
  3. You don't mind deleting your docker.img file and recreating it

 

 

Edited by Squid

Share this post


Link to post

wps6431-tmp_.png

 

  • Enhanced: When going into the apps tab, the search text field will already have focus, so just start typing if you're doing a search.
  • Enhanced: After installing / editing a docker application, pressing DONE will now return you back to the apps tab instead of a blank template (I always thought this would've needed a change to Dynamix to implement until @eschultz pointed out an easy way to do it)
  • Changed Default for displayed results from 10 to 25
  • Added: Ability to install multiple applications (docker and/or plugin) from the previous apps section simultaneously without user input *

* Should you ever have a need to reinstall multiple applications at the same time that are already configured, (changed cache drive and reconfigured your docker.img file?), then the Previous Apps section will allow you to select multiple applications (there's a check box next to the Icon on every application).  Once one or more applications have been selected, you can press install Selected.  After confirming, all the selected applications will be automatically installed using the values from the last installation of the applications (IE: everything on the template is automatically filled out for you), except that you won't be given the chance to change any of the values.  (Because they are already correct).  IE:  If you delete your docker.img file for some reason, you can select all of your previously installed apps, hit one button, and a minute or two later your server is back running the way that your left it)

 

Both plugins and docker applications can be installed like this, and docker applications will have the added bonus that they will also automatically be set to autostart.  (I figure more often than not everyone sets their apps to autostart, and its easier to disable autostart on 1-2 apps than being forced to enable it on 10-12)

 

Should you have a need to reinstall a previous application and change the template settings, then you can still hit the install icon which will take you to the edit template screen.

 

You must be running 6.3.5+ for this feature to take effect.

Edited by Squid

Share this post


Link to post

7032756fd5ad6c83efdd7b91408d1ad5--mother

 

Various improvements to the Multiple Previous Apps installations

  •   Fixed: Clicking outside of the install button would attempt to install
  •   Fixed: Selected Apps would not stay selected following a view or page change
  •   Added: Ability to select apps from different pages and have them all install

Share this post


Link to post

Today's update is required.  In and around the middle of August, all versions of CA prior to today's update will cease functioning due to a change in the URL for the application feed.

Edited by Squid

Share this post


Link to post

Hi I'm trying to install the Community Applications plug-in but having problems. I get this message:

 

plugin: installing: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg ... failed (Network failure)
plugin: wget: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg download failure (Network failure)

Forgive me, as a newbie to unRAID, I don't know what information you may need. If you let me know and tell me how to get the information, I'll gt back to you.

Many thanks.

 

Alan

 

 

Share this post


Link to post
Hi I'm trying to install the Community Applications plug-in but having problems. I get this message:
 
plugin: installing: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg ... failed (Network failure)
plugin: wget: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg download failure (Network failure)
Forgive me, as a newbie to unRAID, I don't know what information you may need. If you let me know and tell me how to get the information, I'll gt back to you.
Many thanks.
 
Alan
 
 
Network failure usually means that the gateway in network settings isn't set to the ip address of the router

Sent from my LG-D852 using Tapatalk

Share this post


Link to post
36 minutes ago, soulman1949 said:

Thanks for the reply Squid, but in this case it is! :-(

Then post your diagnostics

Share this post


Link to post
3 minutes ago, soulman1949 said:

Hi Squid

 

Not sure if I've done this right as this is a whole new learning curve for me.

nas1-diagnostics-20170810-2145.zip

Not the IPv4 expert, but your DNS addresses of 0.0.8.0 and 0.0.4.0 are invalid

 

https://db-ip.com/0.0.8.0

Quote

  Warning : This is not a valid IP address on the Internet because it belongs to a private network. It does not identify a unique destination as it is only meant to be used inside local area networks 

 

Use 8.8.8.8 and 8.8.4.4 instead in network settings

Share this post


Link to post

Hey @Squid,

 

I had initially messaged about an issue with CA here:

but the scope of the issue seems wider than just the cleanup. Whenever I try to install a new application from the repository I get the following error:

 

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates-user/my-plexrequests.xml:1: parser error : Document is empty in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 418 Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 418 Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 418 Fatal error: Uncaught Error: Call to a member function xpath() on boolean in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php:419 Stack trace: #0 /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php(448): getXmlVal(false, 'Name') #1 /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php(675): getUsedPorts() #2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(383) : eval()'d code(17): require_once('/usr/local/emht...') #3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(383): eval() #4 /usr/local/emhttp/plugins/dynamix/template.php(61): require_once('/usr/local/emht...') #5 /usr/local/src/wrap_get.php(16): include('/usr/local/emht...') #6 {main} thrown in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 419

I'd prefer to not have to re-do my Docker setup as I've just seemingly got it stable. For some reason, some of the containers in the repository seem to cause my server to hard reboot with no reason given in the logs. That is a different issue for a different thread though.
 

Am I just missing something?

Edited by firrae

Share this post


Link to post

Sounds like the templates stored on the flash drive (config/plugins/dockerMan/templates-user) are corrupted, or the flash drive dropped offline.

 

Probably the latter.  Is your syslog (tools - syslog) filled with "Bread" errors?

Share this post


Link to post

Funny_d523fa_1052038.jpg.0d5fdc847c941a73a2ece6b68bc64498.jpg

 

Updated to better handle spaces (and lack of spaces) in search terms.  Previously, searching for "Openfiles" wouldn't return any results while "Open Files" would.  Now either term will result in the same results.  Should make life easier.

Share this post


Link to post
2 hours ago, Squid said:

Sounds like the templates stored on the flash drive (config/plugins/dockerMan/templates-user) are corrupted, or the flash drive dropped offline.

 

Probably the latter.  Is your syslog (tools - syslog) filled with "Bread" errors?


Wish I could tell you. After I made that post I went to bed and now I've awoken to the server having rebooted itself uncleanly again. Could that be caused by a bad USB stick? This has been happening for a while now and I've tested everything I can think of in the hardware and it all comes up fine so I'm running out of options on why this server is so unstable...

Share this post


Link to post

I don't see any "bread" or any other types of errors after the system has come back up. Just tried to use the apps install again and it's the same issue.

Share this post


Link to post
16 minutes ago, firrae said:

Just tried to use the apps install again and it's the same issue.

Same error?  

 

If so, then your flash drive is corrupted.  Toss it into a computer and check the file system on it.

Share this post


Link to post

And after checking, look in /config/plugins/dockerMan/templates-user   (and templates) if there are any zero byte files, delete them.

Share this post


Link to post
1 hour ago, Squid said:

Same error?  

 

If so, then your flash drive is corrupted.  Toss it into a computer and check the file system on it.

 

Could this also be causing my issue where the server randomly restarts? Also is there a way to redo the flash drive but keep all my current settings and data?

EDIT: Also yes the same error.

Edited by firrae

Share this post


Link to post
4 minutes ago, firrae said:

 

Could this also be causing my issue where the server randomly restarts? Also is there a way to redo the flash drive but keep all my current settings and data?

Extremely unlikely a bad flash would cause reboots. unRAID probably isn't even accessing the flash in the middle of the night, since the OS is loaded into RAM at boot, and after that flash is typically only accessed when you save changes in the GUI.

 

Do you have an UPS?

Share this post


Link to post
20 minutes ago, trurl said:

Extremely unlikely a bad flash would cause reboots. unRAID probably isn't even accessing the flash in the middle of the night, since the OS is loaded into RAM at boot, and after that flash is typically only accessed when you save changes in the GUI.

 

Do you have an UPS?

 

Yes, it never registered any power issues and my other PC that is also connected to it was perfectly fine.

To note, it is an APC 1500 VA so it should be more than enough.

At this point, I'm at a loss if it's not likely the USB. I've changed out the PSU, run memory checks, benchmarked the CPU and all the drives are reporting good health...

Edited by firrae

Share this post


Link to post
2 hours ago, firrae said:

Also is there a way to redo the flash drive but keep all my current settings and data?

Copy the config folder somewhere safe, then reformat, set unRaid back up and copy the config folder back.

 

But, it appears that at least part of the config folder is corrupted (the config/plugins/dockerMan/templates-user folder)  Not the end of the world if you have to completely redo the templates (would be basically reinstalling the applications, but your appdata wouldn't be affected), but it is a PITA

 

But first thing to do is if there are any files with a zero byte length in that folder, delete them.

Edited by Squid

Share this post


Link to post

@Squid, OK, I'll try that this weekend and maybe move it to a new USB. I hope this might end up solving my stability issues, but from @trurl's comments, I'm not overly hopeful about that part...

Share this post


Link to post

Hi,

 

Looks amazing and heard a lot about it! Planning to set up the plugin once I get home. I however do already have dockers installed, will they automatically be taken over or do I have to rebuild my dockers? I'm pretty new in dockers at that..

Share this post


Link to post

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.