Open dolohow opened 1 year ago
Hi!
For the apps you install via apps-cli, they are now called private apps
, and can be found at the private apps page: http://localhost:3000/marketplace/private/list
All the previous installed apps should work as expected, even if it exceeds the installed app quota, as they get a grandfathered status (with a * on it)
were you able to catch some logs?
I have the same issue.
After upgrading to 6.0.0
from 5.4.3
all my installed apps don't work.
I have such an error while enabling them:
For the apps you install via apps-cli, they are now called
private apps
, and can be found at the private apps page: http://localhost:3000/marketplace/private/list
The URL is working, however my app is listed as disabled, and for sure is enabled, because I can invoke it with slash command. However, clicking now enable change its status.
were you able to catch some logs?
I went to Network tab in web console and I have this:
POST: https://chat.oskar.team/api/apps/7a8cd36b-5f7b-4177-bd7f-bfc9be908bf8/status
400 bad request
{"success":false,"error":"Cannot read property 'charAt' of undefined"}
so perhaps is somehow related to https://github.com/RocketChat/Rocket.Chat/issues/28130
I also faced with this issue when updated the Rocket.Chat to 6.0.1 today. I have three installed apps and all of them are now in the DISABLE state. And they cannot be turned.
error: "Cannot read property 'charAt' of undefined"
success: false
Same here ... strange that there is no reaction at all from the Rocketchat team after all apps seems to be down for us since 6.0.0.
I figured out the reason of problem - the thing is that now only 5 installed applications are available for the free tariff plan. At the same time, I have not seen an announcement about this 'feature'. By the way, a some of other functions have also become available only in a paid subscription.
So, if the application was installed BEFORE the updated to Rocket.Chat 6.0, then this issue occurs. Apparently, the developers incorrectly implemented the migration of previously installed applications to the "Installed" section.
To solve the problem, you just need to delete the current application and install it again.
Thanks @bulkinav ! That did it!
It's really insane ... they take away features with every new build. At some point it's usesless to still call it "Open Source" :-|
Will be time to move back to Element at some point ...
I have the same issue PLUS the issue that I cannot install new apps at all!!
After disabling and finally deleting all apps, when I now click on "Install" on an app in the marketplace, a message "0 of 5 apps currently enabled. - Workspaces on Community Edition can have up to 5 apps enabled.... blabla" appears and the corresponding button "Next" (to install the app) doesn't work. I can click it as many times as I want the app won't install. Of course the other button called "Enable unlimited apps" works as expected and redirects to the Rocket.Chat full version shop page...
I also noticed that when updating Rocket.Chat to a new version (say, 6.1.1) previously installed applications go back to the DISABLED status, which also causes inconvenience.
I have the same problem with "0 of 5 apps currently enabled...", I can't use the Marketplace in 6.0.0 Community Edition and can't update to the actual 6.1.4 as the docker image is deprecated and I don't want to build the docker image on my own.
just upgraded to 6.1.5 using SNAP and also cannot install new apps. getting the "0 of 5 apps currently enabled..." message and "next" does nothing.
Anyone having this issue:
You have to register your RocketChat server online by going to Administration -> Registration. After that you can install 5 apps in the free version.
It's really unpleasant that no propper error message is shown in many cases when features get removed or need other kind of action to work. The slow forcing of registering and removal of different features makes me question how open source this project is now...
Hi!
For the apps you install via apps-cli, they are now called
private apps
, and can be found at the private apps page: http://localhost:3000/marketplace/private/listAll the previous installed apps should work as expected, even if it exceeds the installed app quota, as they get a grandfathered status (with a * on it)
were you able to catch some logs?
@dudanogueira here is the logs i get when try to install applications from marketplace
{"level":35,"time":"2023-07-12T16:26:20.099Z","pid":9,"hostname":"rocketchat-1","name":"API","method":"POST","url":"/api/apps/","userId":"LQeCPWitWRqw3aMNj","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","length":"561","host":"MY-COMPANY","referer":"https://MY-COMPANY/","remoteIP":"MY IP","err":{"type":"TypeError","message":"\"pkcs8\" must be PKCS#8 formatted string","stack":"TypeError: \"pkcs8\" must be PKCS#8 formatted string\n at Object.importPKCS8 (/app/bundle/programs/server/npm/node_modules/jose/dist/node/cjs/key/import.js:102:15)\n at AppSignatureManager.<anonymous> (/app/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/server/managers/AppSignatureManager.js:35:43)\n at Generator.next (<anonymous>)\n at fulfilled (/app/bundle/programs/server/npm/node_modules/@rocket.chat/apps-engine/server/managers/AppSignatureManager.js:5:58)\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n => awaited here:\n at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at ee/server/apps/communication/rest.ts:405:15\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n => awaited here:\n at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at app/api/server/api.ts:633:9\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40"},"status":400,"responseTime":3353,"msg":"\"pkcs8\" must be PKCS#8 formatted string"}
From browser:
POST /api/apps/
:
{success: false, error: ""pkcs8" must be PKCS#8 formatted string"}
the source of this issue is Rocket.Chat.Apps-engine AppSignatureManager
RC Version: 6.2.9 cant install applications from marketplace nor private applications
Did any one resolve this issue
I solved it. In my case, "Administration - General - Apps - Apps_Framework_Source_Package_Storage_FileSystem_Path" settings was incorrect. It seems that a permission error occurred because this setting was set to a unrelated Nextcloud_data directory. I don't remember setting it that way, so I suspect that other settings, for example, webdav settings were moved during the rocketchat update process.
Description:
I cannot enable applications that were previously installed after upgrade to
6.0.0
from5.4.4
. I also had one app developed by my and deployed throughapps-cli
. Furthermore, I uninstalled it and tried to deploy again. When I have marketplace page opened, I see it pops up after successful deployment, however after page refresh, it is gone.What is also weird that command from application is available, and it works, even though it's not visible as installed
Steps to reproduce:
6.0.0
Expected behavior:
Application is enabled or error presented
Actual behavior:
App is enabled or error is presented. Could be alert or logs.
Server Setup Information: