Install from Web

It's finally here! We've officially implemented our own Install From Web directly within Community Builder. This will allow updating and installing any of our downloads directly from within your Community Builder installation. Check out the details below!

 

First a foremost lets explain a bit how this works. First you'll of course need the latest Community Builder release with the install from web functionality. Second yes you can turn it off within CB > Configuration > Integrations if you so choose. Third yes subscribers will be able to download plugins that are accessible in regards to their subscriptions.

Ok, so how this works is you need to first login here at Joomlapolis to establish your login state. Next visit the install from web tab within CB > Install New Plugin > Install from Web. This should send an ajax request to Joomlapolis to grab the web display, which will check for your login state and provide access accordingly. Check out what to expect below.

The web display will cache for 24 hours as noted in the bottom right as to when it will refresh. You're welcome to refresh it manually (see below) as needed and recommend doing so if for example you choose to subscribe or upgrade your subscription you'll certainly want the web display to reflect that.

As you'll also notice it does version checks and installation checks. Check out how this looks below when you've something installed and up to date.

Now have a look at something that hasn't been installed yet.

Next we have what it looks like when something is installed, but out of date.

Navigating around is also a breeze. We've turned the Type and SubType structuring into a category like navigation menu shown on the right of the web package display. Check it out below.

Again, you can disable this from within CB > Configuration > Integrations as shown below if you decide you do not need or want install from web.

I hope this will make things easier for everyone to maintain their install or install new plugins. Please let us know any and all feedback regarding Install From Web as we always say there is always room for improvement and your feedback is important to us.



krileon's Avatar
krileon replied the topic: #305573 5 years 9 months ago
Install from Web code was not touched in any way in CB 2.2 beyond updating its CSS classes for Bootstrap 4. If you've disabled 3rd party cookies within your browser security settings it will not work for you as it uses a JSONP JS call to allow your Joomlapolis cookie to log you in. We'll be looking into a way for you to use an API Token we provide for you to supply in your install to help authorize you without depending on JSONP calls in a future release.
ThePiston's Avatar
ThePiston replied the topic: #305557 5 years 9 months ago
Hi, this is after v2.2.0 and I see the "Failed to access install from web data at www.joomlapolis.com/ from your browser. Please check your internet connection or any browser-side Request Policy setting and retry."

Am I the only one or is this a new issue?
krileon's Avatar
krileon replied the topic: #296292 6 years 7 months ago
The "Update All" button should be working fine now.
krileon's Avatar
krileon replied the topic: #296270 6 years 7 months ago
Ok, was able to find the cause. I forgot to make some changes in Package Builder for the endpoint that Update All is using. We'll have to fix from our end of things. Should have fix installed sometime today. I apologize for the inconvenience.
krileon's Avatar
krileon replied the topic: #296269 6 years 7 months ago
Looks like it's just the "Update All" failing. Was able to confirm, but not sure yet why it's failing. Does updating 1 by 1 work fine for you?
sysopcrew's Avatar
sysopcrew replied the topic: #296267 6 years 7 months ago
I did get the new build of CB 2.1.3+build.2017.08.07.20.56.16.5560e4508.

The Update tab shows 3 available updates, but Update All results in this:
Error

Download Update All - Download Error
Failed to download package file from https://www.joomlapolis.com/index.php?option=com_comprofiler&view=pluginclass&plugin=cbpackagebuilder&action=packages&func=download&packages=50,46,58&token=[REMOVED]&format=raw to webserver due to following error: Client error response [url] https://www.joomlapolis.com/index.php?option=com_comprofiler&view=pluginclass&plugin=cbpackagebuilder&action=packages&func=download&packages=50%2C46%2C58&token=[REMOVED]&format=raw [status code] 401 [reason phrase] Unauthorized
Failed to save Install CB Plugin because: Installation error

I did have a single add-on subscription just expire, but I'm now in the middle of a 6-month Professional plan.
krileon's Avatar
krileon replied the topic: #296186 6 years 7 months ago
The new Updates category is now available. Please be sure to install the latest CB build then refresh your install from web (link to do this is bottom right of install from web tab). You can also use the Update All button to download and install a package to update all out of date plugins.
krileon's Avatar
krileon replied the topic: #296009 6 years 7 months ago

Thanks, you guys are the best! I love building Joomla/CB sites because you can do practically anything on the platform.

Glad you are enjoying Community Builder. Always a great thing to hear. :)

If you add CB to WP, it could get crazy busy there. I detest BuddyPress.

Other platforms is eventually the goal. Ideally we want CB to also function standalone without a dependency on a CMS at all, but we're not really far enough in the design discussions to comment too much on that yet.
sysopcrew's Avatar
sysopcrew replied the topic: #296007 6 years 7 months ago
Thanks, you guys are the best! I love building Joomla/CB sites because you can do practically anything on the platform. If you add CB to WP, it could get crazy busy there. I detest BuddyPress.
krileon's Avatar
krileon replied the topic: #296005 6 years 7 months ago

Feature request: An "Update All Installed Plugins" would be useful, instead of having to go through all the categories and update each plugin one at a time.

We're planning to add a category under Home called Updates to show you all products installed with updates available. Have added a feature ticket for this and will also look into the possibility of an Update All button.

forge.joomlapolis.com/issues/6713

I've noticed that after clicking the red "Download and Update" button, it doesn't change that button to "Already installed" unless I update a second time, or refresh the entire Install from Web cache.

At the time of reload the plugin hasn't installed yet so install from web isn't able to compare against what is currently being installed. Will see about adding events to the package installer so after it installs something I'll be able to trigger a reload of the install from web.

forge.joomlapolis.com/issues/6712
sysopcrew's Avatar
sysopcrew replied the topic: #296003 6 years 7 months ago
I think it's because I was browsing the categories after I updated one... then after I update the next, the previous one finally showed it updated.

What's happening:
1. Click "Download & Update" on a plugin.
2. It goes through the install process for that plugin, and the Install from Web is displayed below that. The red button remains for the one I just updated.
3. If I move on to the next one and update, the first plugin in item #1 is now marked correctly.

It's just a bit confusing to figure out the next red button to click if the one just installed is still red. Does that make sense?
sysopcrew's Avatar
sysopcrew replied the topic: #296002 6 years 7 months ago
Feature request: An "Update All Installed Plugins" would be useful, instead of having to go through all the categories and update each plugin one at a time.

I've noticed that after clicking the red "Download and Update" button, it doesn't change that button to "Already installed" unless I update a second time, or refresh the entire Install from Web cache.
krileon's Avatar
krileon replied the topic: #295900 6 years 8 months ago

may be a nice feature, but using the joomla update system would have been much better imho...

We do for CB it self. It's significantly too limited to be able to support our products beyond that. We have more control over our install from web. We plan to, eventually in the distant future, extend CB beyond Joomla as well so having our own install from web will ensure that functionality can work outside of Joomla. This also ensures our products don't get lost in a sea of Joomla extensions making it easier to find, install, or update them.
kommid's Avatar
kommid replied the topic: #295895 6 years 8 months ago
may be a nice feature, but using the joomla update system would have been much better imho...
krileon's Avatar
krileon replied the topic: #295845 6 years 8 months ago
We were able to track down the issue and will be resolved for CB 2.1.3 release or next nightly. Anyone having issues with it not authorizing your domain just hang in there and we'll have it fixed soon in next release.
krileon's Avatar
krileon replied the topic: #295840 6 years 8 months ago
Ok, sounds like mod_security maybe blocking you then. We don't throw a 403 in the web output for CB Package Builder. Have let Beat know so he can review the logs carefully.
sysopcrew's Avatar
sysopcrew replied the topic: #295834 6 years 8 months ago
To my knowledge, I have no privacy plugins or extensions that would block this. Javascript is enabled. I allowed pop-ups.

Basic Firefox returns the same 403 error.
sysopcrew's Avatar
sysopcrew replied the topic: #295832 6 years 8 months ago
I'm using a standard Chrome install (just updated to Chrome 60) on Windows, and turned off all extensions. Console shows this:

jquery-2.2.4.min.js?v=00efe8c55fdbc2c3:3 GET www.joomlapolis.com/index.php?option=com_comprofiler&view=pluginclass&plugin=cbpackagebuilder&action=web&format=raw&callback=jQuery22407138006715193475_1501084130228&domain=https%3A%2F%2Fmetroskywarn.org&_=1501084130229 403 (Forbidden)

krileon's Avatar
krileon replied the topic: #295825 6 years 8 months ago

What version of CB does this work with?

The latest nightly build as well as soon to be released CB 2.1.3.

I see the Install from Web in CB->Plug-in Management->Install CB Plugin, but I get this error:

As the error states your browser is blocking the HTTP request. Review your browser settings or any privacy based browser extensions to see if they're blocking cross domain HTTP requests (these are allowed for jsonp requests, which the install from web is). Press F12 to open your browsers developer console then select the Console tab for details as your extension may explain there why it was blocked.
sysopcrew's Avatar
sysopcrew replied the topic: #295822 6 years 8 months ago
This is for the 2017.07.24 nightly build of Community Builder 2.1.2 (I installed it over my existing CB 2.1.2).

I see the Install from Web in CB->Plug-in Management->Install CB Plugin, but I get this error:

Failed to access install from web data at www.joomlapolis.com/ from your browser. Please check your internet connection or any browser-side Request Policy setting and retry.




I am currently logged into Joomlapolis. For what it's worth, my site has SSL.
bbains's Avatar
bbains replied the topic: #295821 6 years 8 months ago
What version of CB does this work with?

Facebook Twitter LinkedIn