[Plug-In] Community Applications


Recommended Posts

More than once I have worked on some of my old code and went "why did I do it that way". After I break it by making it "better" then I remember why I did it that way.

I trust that the next time I decide to do a major rewrite, you'll be first in line to convince me to not do it...

 

No. I still think this is true:

I've always believed you have to code things 3 times. The 1st time to figure out what it is supposed to do, the 2nd time to figure out how to do it, and the 3rd time to do it right.

 

Of course you never have the time/money to do the 3rd time.

Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Check your network settings.  Dns and gateway.  I doubt if anything on the server can communicate with the outside world

 

Sent from my LG-D852 using Tapatalk

 

 

Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Check your network settings.  Dns and gateway.  I doubt if anything on the server can communicate with the outside world

 

Sent from my LG-D852 using Tapatalk

 

Thanks for your answer! I think I found something weird inside unRAID :(. I'm using static IP address and I have also to add manual DNS. I used my router's IP (192.168.1.1) but the moment I mount the shares it changes to a different DNS server (169.254.238.60, maybe provided by my ISP, but it's different from the one my Mac is using, being in the same network). Also, if I manually set 8.8.8.8 and 8.8.4.4 as the DNS servers, it keeps using just 169.254.238.60. I don't know what's going on here :(. It has been working without problems since 2 years ago :(. Some dockers are failing too now :(.

Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Check your network settings.  Dns and gateway.  I doubt if anything on the server can communicate with the outside world

 

Sent from my LG-D852 using Tapatalk

 

Thanks for your answer! I think I found something weird inside unRAID :(. I'm using static IP address and I have also to add manual DNS. I used my router's IP (192.168.1.1) but the moment I mount the shares it changes to a different DNS server (169.254.238.60, maybe provided by my ISP, but it's different from the one my Mac is using, being in the same network). Also, if I manually set 8.8.8.8 and 8.8.4.4 as the DNS servers, it keeps using just 169.254.238.60. I don't know what's going on here :(. It has been working without problems since 2 years ago :(. Some dockers are failing too now :(.

169.254.x.x is what you get when you haven't been given an IP address.
Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Check your network settings.  Dns and gateway.  I doubt if anything on the server can communicate with the outside world

 

Sent from my LG-D852 using Tapatalk

 

Thanks for your answer! I think I found something weird inside unRAID :(. I'm using static IP address and I have also to add manual DNS. I used my router's IP (192.168.1.1) but the moment I mount the shares it changes to a different DNS server (169.254.238.60, maybe provided by my ISP, but it's different from the one my Mac is using, being in the same network). Also, if I manually set 8.8.8.8 and 8.8.4.4 as the DNS servers, it keeps using just 169.254.238.60. I don't know what's going on here :(. It has been working without problems since 2 years ago :(. Some dockers are failing too now :(.

Not sure.  I recall seeing something like this in the last month or so and it had something to do with the bonding setup.

 

Only suggestion I can come up with initially is to delete config/network.cfg from the flash drive and reboot and try it all again (may have to connect back to the gui via the ip address which you'll be able to get from the router as unRaid'll be set back to dhcp)  IMO the best way to set up static IPs is to leave the IP address in unRaid as dhcp, and set up the static via the router (that way if you ever replace the router and it hands out addresses on a different subnet everything in your network will still work).  You may still have to assign DNS addresses however

Link to comment

Hi Squid,

I started testing the backup and have a couple of questions:

  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?
  • I have a VM (shutdown) but the XML file is not in 'Community_Applications_VM_XML_Backup'. Is this OK?
  • Would it be possible to add the option to compress the backup sub folders? I'm asking because my backups are uploaded to crashplan, and it's more efficient to upload (and download in case of recovery) a large file than thousands (only my emby appdata has 50,000 files)
  • I also found a bug, you can't select 12AM as the hour to run the backup, it reverts to 3AM.

Link to comment


 
  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

  • I have a VM (shutdown) but the XML file is not in 'Community_Applications_VM_XML_Backup'. Is this OK?

If the VM service is disabled, then the XML's don't actually exist anywhere (they are mounted in a loopback image) and can't be retrieved.  Only if the service is enabled is access to the xml's available.  As far as running or not it won't matter

  • Would it be possible to add the option to compress the backup sub folders? I'm asking because my backups are uploaded to crashplan, and it's more efficient to upload (and download in case of recovery) a large file than thousands (only my emby appdata has 50,000 files)

Top of my head, not easily without creating an image to store everything in.  Initial problem I see (with something like zip) is that of the symlinks / hardlinks / special files which I don't know if zip supports.  Couldn't even tell you if CrashPlan supports symlinks / hardlinks.  And if any of those are missing, then the backup is incomplete.

  • I also found a bug, you can't select 12AM as the hour to run the backup, it reverts to 3AM.

Thanks.  That's been there for months.  EDIT:  It will run at 12am, but when reloading the backup settings it will display as 3am.  Another minor little bug found relating to the VM xml's.  If VM's were enabled, a backup was run, and then disabled and another backup run, you actually wind up losing the xml backups in latest backup set.

 

Both fixed for next maintenance release (this week sometime)

Link to comment

 

 


 
  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

Understood.

After backing up, wouldn't be better to delete them? It'd look cleaner

 

 

 

Sent from my SM-G901F using Tapatalk

 

Link to comment

 

 

 

  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

Understood.

After backing up, wouldn't be better to delete them? It'd look cleaner

 

 

 

Sent from my SM-G901F using Tapatalk

 

Not a big deal to me.  Consider it done.
Link to comment

 

 

 

  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

Understood.

After backing up, wouldn't be better to delete them? It'd look cleaner

 

 

 

Sent from my SM-G901F using Tapatalk

 

Not a big deal to me.  Consider it done.

Thanks!

 

Sent from my SM-G901F using Tapatalk

 

 

Link to comment

  • I have a VM (shutdown) but the XML file is not in 'Community_Applications_VM_XML_Backup'. Is this OK?
I should add you as a beta tester  ;D  You're finding stuff that no one else has...  Fixed a typo.
, if you need any help, please let ne know!
 
Sent from my SM-G901F using Tapatalk
 

Link to comment

ok...  (or anyone that wants it)

 

download this to your flash drive https://github.com/Squidly271/community.applications/raw/master/archive/community.applications-2016.09.06beta.txz

 

then

installpkg /boot/community.applications-2016.09.06beta.txz
rm -rf /tmp/community.applications

Has the cumulative fixes for what you've found (I'm in the process of testing them anyways right now)

 

More curious about just using CA proper.  Does it send the right xml's to dockerMan to be installed (ie: when you hit add is the template that shows up match what you hit add on any app that you pick out of a hat?)  Need testing due to two test containers that I've got buried away in the Uncategorized section (feel free to add them to see what I'm doing, but they won't actually install via dockerMan). 

Link to comment

Hi! I wanted to install an "app" today, and I found it was impossible to CA to update or download the apps list. Then I came here and I read the last stable update should be from 9.5.2016, but the one I had installed inside my unRAID was from 8.28 I think. It was impossible for my unRAID server to find a newer release, so I took a risky way: I deleted Community App plugin and I'm trying now to reinstall it and it fails constantly :(. So now I've missed my whole beloved "unRAID AppStore" :(. Is it just me or is it happening to anybody else?

 

Here's the error:

 

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)

Check your network settings.  Dns and gateway.  I doubt if anything on the server can communicate with the outside world

 

Sent from my LG-D852 using Tapatalk

 

Thanks for your answer! I think I found something weird inside unRAID :(. I'm using static IP address and I have also to add manual DNS. I used my router's IP (192.168.1.1) but the moment I mount the shares it changes to a different DNS server (169.254.238.60, maybe provided by my ISP, but it's different from the one my Mac is using, being in the same network). Also, if I manually set 8.8.8.8 and 8.8.4.4 as the DNS servers, it keeps using just 169.254.238.60. I don't know what's going on here :(. It has been working without problems since 2 years ago :(. Some dockers are failing too now :(.

Not sure.  I recall seeing something like this in the last month or so and it had something to do with the bonding setup.

 

Only suggestion I can come up with initially is to delete config/network.cfg from the flash drive and reboot and try it all again (may have to connect back to the gui via the ip address which you'll be able to get from the router as unRaid'll be set back to dhcp)  IMO the best way to set up static IPs is to leave the IP address in unRaid as dhcp, and set up the static via the router (that way if you ever replace the router and it hands out addresses on a different subnet everything in your network will still work).  You may still have to assign DNS addresses however

 

PROBLEM FIXED: Thanks for your suggestion! After many different things, deleting the network.cfg file, even deactivating the ISP router and using a different one, I found some network cable should be doing some weird thing, because after just removing and plugging back all of them to the switch I have, everything is back to normal, also with the ISP router. In my opinion, network issues are the worse ones, because they can cause the weirdest problems one can imagine ;). My "unRAID AppStore" is installed again and working great!

 

By the way: Thank you very much for it! It has changed how I enjoy unRAID since it got installed into my server :)

Link to comment

 

 


 
  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

Understood.

After backing up, wouldn't be better to delete them? It'd look cleaner

 

 

 

Sent from my SM-G901F using Tapatalk

 

Running through the tests, and I can't delete that folder.  Here's why

 

- VM's enabled.  Backup run.  XML destination is set to same as appdata.  XML's get copied over to appdata, then backed up to array.  CA deletes the version stored within the appdata

 

A while later, another backup done, but with VMs disabled

- Source XMLs no longer exist due to VMs being disabled, so no backup winds up getting created.

- An old backup set (that contains the only backup of the VM xmls gets deleted due to the days to keep settings)

Now there is no backup at all of the xml's available

 

If you want it a tad cleaner, then you'll have to use a separate destination for USB / VM xml's (but then the you lose the dated backup sets on VM / USB as that only works via same destination), but it won't delete the existing files in the backup if the xml if vms are disabled.

 

Guess I could look at backing up the actual loopback image, but then you run into issues if a VM happens to be accessing it at the same time as the backup.

Link to comment

 

PROBLEM FIXED: Thanks for your suggestion! After many different things, deleting the network.cfg file, even deactivating the ISP router and using a different one, I found some network cable should be doing some weird thing, because after just removing and plugging back all of them to the switch I have, everything is back to normal, also with the ISP router. In my opinion, network issues are the worse ones, because they can cause the weirdest problems one can imagine ;). My "unRAID AppStore" is installed again and working great!

 

By the way: Thank you very much for it! It has changed how I enjoy unRAID since it got installed into my server :)

Glad you got it sorted out.

 

And thanks....

Link to comment

ok...  (or anyone that wants it)

 

download this to your flash drive https://github.com/Squidly271/community.applications/raw/master/archive/community.applications-2016.09.06beta.txz

 

then

installpkg /boot/community.applications-2016.09.06beta.txz
rm -rf /tmp/community.applications

Has the cumulative fixes for what you've found (I'm in the process of testing them anyways right now)

 

More curious about just using CA proper.  Does it send the right xml's to dockerMan to be installed (ie: when you hit add is the template that shows up match what you hit add on any app that you pick out of a hat?)  Need testing due to two test containers that I've got buried away in the Uncategorized section (feel free to add them to see what I'm doing, but they won't actually install via dockerMan).

 

My results:

  • Now you can select 12AM, fixed.
  • 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' are still at /mnt/cache/appdata, should they be?

 

Did you change anything else?

Link to comment

 

 


 
  • After running the backup, the folders 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' remain at /mnt/cache/appdata. Is this right? Shouldn't these be deleted after the backing up?

If you've got the destination set to same as appdata, then the process is to actually backup into the appdata share and then the appdata backup takes places.  Net result is that yes you do wind up with that folder in your appdata share (backup of a backup  :) )

Understood.

After backing up, wouldn't be better to delete them? It'd look cleaner

 

 

 

Sent from my SM-G901F using Tapatalk

 

Running through the tests, and I can't delete that folder.  Here's why

 

- VM's enabled.  Backup run.  XML destination is set to same as appdata.  XML's get copied over to appdata, then backed up to array.  CA deletes the version stored within the appdata

 

A while later, another backup done, but with VMs disabled

- Source XMLs no longer exist due to VMs being disabled, so no backup winds up getting created.

- An old backup set (that contains the only backup of the VM xmls gets deleted due to the days to keep settings)

Now there is no backup at all of the xml's available

 

If you want it a tad cleaner, then you'll have to use a separate destination for USB / VM xml's (but then the you lose the dated backup sets on VM / USB as that only works via same destination), but it won't delete the existing files in the backup if the xml if vms are disabled.

 

Guess I could look at backing up the actual loopback image, but then you run into issues if a VM happens to be accessing it at the same time as the backup.

 

After thinking about this, if the flash drive is backed up, whats the purpose of backing up the VMs XMLs? The VM definitions are stored in /boot/config/plugins/dynamix.kvm.manager/domain.img, right?

 

Link to comment

My results:

  • 'Community_Applications_USB_Backup' and 'Community_Applications_VM_XML_Backup' are still at /mnt/cache/appdata, should they be?

You have same destination as appdata set.  Personally, I created a share called Backups, sub folder called Docker Appdata, Flash Backup, VM XML, and pointed the three of there appropriately
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.