feature-requests
feature-requests copied to clipboard
Unable to install free marketplace apps without logging in
Description:
An admin is unable to install free apps from the marketplace without registering their instance. This creates a dependency on the rocketchat cloud.
Instances should be allowed to be private without having to auth with a third party to download apps.
Steps to reproduce:
- Go to marketplace
- Click on a free app
- Click the free button to install it
Expected behavior:
The app is installed
Actual behavior:
I get unauthenticated and asked to login.
Server Setup Information:
- Version of Rocket.Chat Server: 1.0.3
- Operating System: debian
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: enabled
- NodeJS Version: 8.11.4
- MongoDB Version: 4.0.4
Additional context
Instances should not phone back home unless its allowed and authentication should not be required for free apps.
And related - unable to disable Market Place entirely if required. Still in latest:
https://github.com/RocketChat/Rocket.Chat/issues/12359
this is still an issue in 1.2.1 - any idea when this will be fixed?
I do not want a paid account for using just free apps. Will there be a option to install them?
FWIW I just ran into this same issue and if you enable development mode for apps, you can upload zip
archives which can be manually download from the app Marketplace.
Definitely not ideal, but a manageable stopgap until downloading free apps from the Marketplace without an account is an option.
FWIW I just ran into this same issue and if you enable development mode for apps, you can upload
zip
archives which can be manually download from the app Marketplace.Definitely not ideal, but a manageable stopgap until downloading free apps from the Marketplace without an account is an option.
citruspi and where i can download the zips?
@djnews24 Ah, so that's the fun part :)
TBH I didn't know until you asked, I just noticed that one provider of Rocket.chat apps had download links on their website which linked to the official Rocket.chat Marketplace and returned the zip
archive.
e.g. https://apis.reiske.tech/giphy
has a download link which links to https://marketplace.rocket.chat/v1/apps/8b882242-0cb7-419f-87d8-93b1d09e1ec2/download
I just took a quick look at the Marketplace website's Javascript code to figure out how you'd be able to download other apps...
- The Marketplace website makes an HTTP request to retrieve the available applications
$ curl https://marketplace.rocket.chat/v1/apps > rc.apps.json
- The contents of that JSON response is an array of applications, e.g.
[
{
"appId": "4e28f03b-054b-4ce3-9573-fd8a6bcbecf6",
"latest": {
"id": "4e28f03b-054b-4ce3-9573-fd8a6bcbecf6",
"name": "appear.in",
"nameSlug": "appearin",
- Find the application you want and grab the ID
- Use the download link (
https://marketplace.rocket.chat/v1/apps/{id}/download
) to pull it, e.g.
$ curl -L https://marketplace.rocket.chat/v1/apps/4e28f03b-054b-4ce3-9573-fd8a6bcbecf6/download > appear.in.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 90 100 90 0 0 656 0 --:--:-- --:--:-- --:--:-- 656
100 434 100 434 0 0 2889 0 --:--:-- --:--:-- --:--:-- 2889
100 98942 100 98942 0 0 305k 0 --:--:-- --:--:-- --:--:-- 305k
$ unzip appear.in.zip
Archive: appear.in.zip
inflating: .packagedby
inflating: app.json
inflating: AppearInApp.ts
inflating: assets/details.png
inflating: assets/message.png
inflating: commands/AppearInCommand.ts
inflating: i18n/en.json
inflating: icon.png
- Upload the
zip
archive to your server and profit 💰
Bonus jq
command to provide an App ID given the name
$ cat rc.apps.json| jq '.[] | select(any(.latest; .name == "Jitsi Slash Command")) | .appId'
"3b387ba9-f57c-44c6-9810-8c0256abd64c"
Thanks for the tips @citruspi I was writting my jq too :'D
I currently found out how to compile the github apps to a correct zip I think thats the easiest way without use a non public api.
npm install -g @rocket.chat/apps-cli git clone lovelyappproject cd lovelyappproject npm install rc-apps package
Same problem for me. It is really ugly. 1.2.1 and still not fixed.
hi, where do i have to upload/unzip this giphy_0.0.3.zip file to install?
Please note this is a bug/Issue, not general support chat.
If you want to discuss how to do things then please ask in the forums or at open.rocket.chat #support
As far as this Issue is concerned I understand there will be some form of resolution in due course. If you want it fixed now then the devs will be happy to accept your PR to fix this. Otherwise please be patient and watch the Issue.
Thanks.
We are working on the feature for the marketplace to offer ZIP files for download. For clarity, you don't need a paid account to do that, just an account, to download the apps, and we will always have the option to get the ZIP files directly from the developers if you want to be completely anonymous. I am open to discuss your views on that.
We are working on the feature for the marketplace to offer ZIP files for download. For clarity, you don't need a paid account to do that, just an account, to download the apps, and we will always have the option to get the ZIP files directly from the developers if you want to be completely anonymous. I am open to discuss your views on that.
@engelgabriel I have a self hosted Rocket.chat instance. Why do I have to login into rocket.chat cloud service to install a free app to my instance ?
you don't need a paid account to do that, just an account
There is no option to create a free account into rocket.chat cloud, so how can I get a "account" to link with my self hosted instance ?
@AlexandreSNeto So this worked for me. Under Administration > Settings > General, scroll to the 'Apps' section.
Set "Enable development mode" to true (Development mode allows the installation of Apps that are not from the Rocket.Chat's Marketplace.). Go back to the top level "Apps" tab in Admin. You should now see a button labeled "Upload App".
That'll take you to a screen where you can give it a zip download link or browse locally for a zip file. Personally, the local zip file didn't work for me, but the url I downloaded it from did.
I only used Rocketbooters apps (Giphy, Math, Search, etc), Poll from the marketplace didn't work (no app.json, even though it was there)
Hope that helps!
Thanks @SeeSharpist Actually I've made a new installation (for tests) and used my gmail account as admin. Then I received a e-mail with a token to create a Rocket.chat cloud account.
This way I was able to install free extensions in Marketplace
We are working on the feature for the marketplace to offer ZIP files for download. For clarity, you don't need a paid account to do that, just an account, to download the apps, and we will always have the option to get the ZIP files directly from the developers if you want to be completely anonymous. I am open to discuss your views on that.
Need of having account to install the plugins is bit an overkill. Please implement if fully :)
@SeeSharpist
I only used Rocketbooters apps (Giphy, Math, Search, etc), Poll from the marketplace didn't work (no app.json, even though it was there)
I was able to install the app "Poll", when using the latest release, not the latest master as zip: https://github.com/sampaiodiego/rocket.chat.app-poll/releases
On version 2.3.0 and I still cannot install apps from marketplace. Is it still on radar for upcoming releases?
Also for zip downloading, is there an easy way to install marketplace apps using the downloaded zip file on instances created / running by a docker-compose file?
On version 2.3.0 and I still cannot install apps from marketplace. Is it still on radar for upcoming releases?
Possibly. Depends on the developers.
Also for zip downloading, is there an easy way
No not really, and hence this issue.
See above for some clues but note this is an 'Issue' for getting something fixed, not really a help forum. Follow this link for getting help.
https://rocket.chat/docs/getting-support/
I've wrote a quick script for this purpose. My script will download all marketplace apps into zip files. Just upload whatever app you want to use. I cannot understand why I need to create a paid account to download free apps to use.
https://github.com/atran-dev/dl-rocketchat-apps
The requirement to have a cloud account is a major pain point. Nowhere is declared which data is sent to rocket.chat about my local on premise instance once I log in.
On version 3.2.0: When I try zip file i don't get any response, but when i use url i see "Cannot read property 'data' of undefined".
I understand that they want me to pay for the subscription but this isn't funny any more. Is there any other way to install free apps on "free rocketchat" ?
any news here?
I'm currently reviewing some open sources self-hosted slack solutions for a company.
Rocket.Chat seems the best to me right now, but having to register an account (even a free one) to be able to install Apps properly is a huge downside to me as this is something that I will not be allowed to do.
Fortunately it seems that there is some way to bypass this restriction, thanks to this thread, but this is quite a shame to not have a proper solution.
Especially because you really seems open with self-hosting.
edit: it seems that we actually can't have a way to install Apps without the account, I have the same issue than RocketChat/Rocket.Chat#17737
Anyway, whatever your decision is, keep up the good work! This is a awesome work that you have done so far, I hope to be able to choose Rocket.Chat in the future.
Thx for effort - it was great to use Rocket Chat - due to this feature we moved away. Good luck!
any news here?
any news here?
- Use the download link (
https://marketplace.rocket.chat/v1/apps/{id}/download
) to pull it, e.g.
Not working anymore
I've wrote a quick script for this purpose. My script will download all marketplace apps into zip files. Just upload whatever app you want to use. I cannot understand why I need to create a paid account to download free apps to use.
https://github.com/atran-dev/dl-rocketchat-apps
Thank you for your work, but I used your script to download apps, some of them can be unzipped, but some can not, I checked the size of them, the ones can be unzipped have right size, but those can not be unzipped have less than 1000k sizes. So I can not use some of them.