-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marketplace not working after upgrade from 10.8 to 10.9 #39616
Comments
Just upgrade to ownCloud 10.9 as well. I have the exact same issue. |
I confirm same issue, upgraded from 10.8 to 10.9 om CentOS 7 with php 7.4.27. |
I can browse to https://marketplace.owncloud.com/api/v1/platform/10.9.0/apps.json and see the JSON, similar to https://marketplace.owncloud.com/api/v1/platform/10.8.0/apps.json Maybe the existence and protection of the marketplace end-point for 10.9.0 has been fixed now? |
Browsing is not the problem, as is also stated in the initial post:
Opening from OC is. The error still exists here. |
It works, when you create an Account on https://marketplace.owncloud.com. |
Adding the API-key seems like a workaround, not a solution. |
Why wasn't this mentioned in release notes of 10.9 as breaking change? I still have to consider it broken. |
Sorry for this, Workaround seems to work. We will look into this in the next days after holiday period. Not a change by purpose. |
The only way I see this happening is in case oC includes a wrong API key in the request to the marketplace. This key can either be defined in the
2 seems far more likely to me. It would also explain why this error is happening only to a few users and why this comes up with 10.9. Since the market now works again for you, I assume there is no way you can reproduce this? It would be really helpful to see if one of these config values is set while this error is happening. Maybe someone runs into the same issue and can provide this information. |
Hi, i am hitting the same issue. I have not configured any api key within config.php and i don't see any api key in the table oc_appconfig. Let me know if can help further. Regards |
I don't understand why this explains that the error is only happening for "a few" (?) users. I have a standard installation. As I actually have 2 OC instances, I also checked the other (more recent) one. It hasn't been updated to 10.9 yet and doesn't heva the key value in the database (nor in the config). So I assume deleting that row from the database should fix the issue? |
I can confirm that this fixed the issue for me:
|
I (and many other users) ran through the update process several times, no issues whatsoever. Therefore I assume that only instances with this Is updating your second oC instance currently an option?
As far as I can tell, yes.
Okay, that's strange... So there is no entry for |
I don't see anything that looks lika an api key. Could you please post a sql query or the exact key name? Regards |
|
For anyone who runs into this issue currently: Please check if
If this command returns the following:
Then simply remove this entry to solve the problem. This can be done in your database again via:
Post running this command, your market place will be fully available again. Thank you all for your help! We will decide what to do with the change in behavior which was introduced by #39554 and provide a fix soon. |
I can confirm that deleting the key via Thank you! Regards |
With the change in behavior, I guess that the code is now seeing that |
The issue has been fixed in the new marketplace app 0.6.2: https://github.com/owncloud/market/releases/tag/v0.6.2 -> closing here. |
Steps to reproduce
Expected behaviour
Marketplace would be accessible, list all apps, show updates etc.
Actual behaviour
Marketplace frame opens, but stays empty, at the bottom in red this message appears:
No marketplace connection: Client error response [url] https://marketplace.owncloud.com/api/v1/categories.json [status code] 403 [reason phrase] Forbidden
per ssh:
root@xxxx:/var/www/owncloud# sudo -u www-data php occ market:list
No marketplace connection: Client error response [url] https://marketplace.owncloud.com/api/v1/platform/10.9.0/apps.json [status code] 403 [reason phrase] Forbidden
Double checked with wget and same user, this works and downloads the json files on that machine.
Server configuration
Operating system:
Ubuntu 20.04.3 LTS
Web server:
Apache2 via Ubuntu
Database:
MariaDB on external database server
PHP version:
7.4.3
ownCloud version: (see ownCloud admin page)
10.9.
Updated from an older ownCloud or fresh install:
10.8
Where did you install ownCloud from:
deb http://download.opensuse.org/repositories/isv:/ownCloud:/server:/10/Ubuntu_20.04/
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
see attached files
List of activated apps:
Enabled:
Disabled:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser:
Chrome, Firefox, wget
Operating system:
Windows 10, Ubuntu 20.04.3 LTS
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: