RHEL repos for desktop and server

Simple question here. I’ve been running ownCloud first on CentOS and now on AlmaLinux (NB this is a 100% clone of RHEL so meets the system requirements). I keep getting nagged to update, but the repos don’t seem to be helping much. I’ve had a quite a few attempts to find the latest releases, but my best efforts have been defeated.

Current OS: AlmaLinux 8.6 (Sky Tiger)
PHP version:

PHP 7.4.19 (cli) (built: May 4 2021 11:06:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.19, Copyright (c), by Zend Technologies

Repos:

[isv_ownCloud_server_10.9.0]
type=rpm-md
baseurl=https://download.opensuse.org/repositories/isv:/ownCloud:/server:/10.9.0/RHEL_8/
gpgcheck=1
gpgkey=https://download.opensuse.org/repositories/isv:/ownCloud:/server:/10.9.0/RHEL_8/repodata/repomd.xml.key
enabled=1

[owncloud]
name=owncloud
type=rpm-md
baseurl=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/CentOS_8
gpgcheck=1
gpgkey=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/CentOS_8/repodata/repomd.xml.key
enabled=1

The server looks decidedly odd, is it really correct to be downloading RHEL code from OpenSuSE?

Going to the official pages suggests a download for 7.x, which is clearly wrong. Where are the correct 8.x downloads?

One further question, my testbed for Alma 9 is currently running “AlmaLinux release 9.0 (Emerald Puma)” with php:

PHP 8.0.13 (cli) (built: Nov 16 2021 18:07:21) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.13, Copyright (c) Zend Technologies

I understand there are problems with PHP8, is there any timescale when either the desktop app or the server will become available for 9.x?

Thanks for any help

Yes, that’s correct, we use the openSUSE build service to build and distribute packages and repositories for various Linux Distributions.

The correct repo can be found at Install package isv:ownCloud:server:10 / owncloud-complete-files (as linked on Download Server Packages - ownCloud as well).

Your repo file above is pinned to 10.9.0 which prevents upgrades without modifying the repo file first.

I understand there are problems with PHP8, is there any timescale when either the desktop app or the server will become available for 9.x?

This topic was discussed in multiple other topics already, please use the forum search.

1 Like

Thank you. I’m not sure where I had been lead to, but the download page you lead me to looks quite different.

The upgrade has failed and it requests “The update was unsuccessful. Please report this issue to the ownCloud community.” so I’m including details here. I’ll work on it and report back if there are any problems.

Preparing update
Set log level to debug
Turned on maintenance mode
Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Repair warning: Please install or update the following apps manually or disable them with: occ app:disable gpxpod
Repair warning: For manually updating, see Redirect Notice
OC\RepairException: Upgrade is not possible

I had seen other topics and realised that as of it’s last discussion there were no immediate plans to move forward, that’s why I asked if there was any change. From your comment I understand not yet. Again thank you.

EDIT:
Disabling the gpxpod enabled the upgrade to complete. :grinning: For some reason though ownCloud claims that the server has no internet connection and the marketplace is complaining about access (cURL error 77) to the root certificate file (CAfile: /Cloud/files_external/rootcerts.crt CApath: none) yet as user apache I can cat the file quite happily. Odd. I’m going to have to leave this until tomorrow, will report back if I find the cause of the problem.

2 Likes

I’ve still not been able to track down where this problem is. As I said above I’ve checked the indicated file and there seems to be no problem. There was nothing (that is, nothing at all) in the log file when I tried to go to the market. I therefore set the logging level to debugging, tried to go to the market, and then reset the log level. I’ve extracted the relevant records (all those from the first record with the string “market” in it to the last such one) and two others that I’m not sure about. For most of the records I’ve removed request id, level, time, remote address and user for conciseness. I’ve left the first message in, records 2-23 had the identical message and token. The last three records are unedited.

Record 1
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/"
   "message":"token d1e47500636669c8445355fe67599d324d8d51146db49226b6417c0461251a948a27f3d1cfb32f2b0ef39842508d843d8d8687c077498432646159c0ff416d03 with token id 19547 found
    validating"

Record 2
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/"

Record 3
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/"

Record 4
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/core/js/oc.js?v=a6236c772777508caaec041df14c9550"

Record 5
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/core/js/oc.js?v=a6236c772777508caaec041df14c9550"

Record 6
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/core/js/oc.js?v=a6236c772777508caaec041df14c9550"

Record 7
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/core/js/oc.js?v=a6236c772777508caaec041df14c9550"

Record 8
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/avatar/jmr/32"

Record 9
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/avatar/jmr/32"

Record 10
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/avatar/jmr/32"

Record 11
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json"

Record 12
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json"

Record 13
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apikey"

Record 14
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apikey"

Record 15
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apikey"

Record 16
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/categories"

Record 17
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/categories"

Record 18
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/categories"

Record 19
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/config"

Record 20
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/config"

Record 21
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/config"

Record 22
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apps"

Record 23
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apps"

Record 24
   "reqId":"Y20JPEISpg7qE8vHW2iyEgAAAJY"
   "level":0
   "time":"2022-11-10T14:22:52+00:00"
   "remoteAddr":"192.168.1.2"
   "user":"jmr"
   "app":"OCUserSession::validateToken"
   "method":"GET"
   "url":"/owncloud/index.php/apps/market/apps"
   "message":"token d1e47500636669c8445355fe67599d324d8d51146db49226b6417c0461251a948a27f3d1cfb32f2b0ef39842508d843d8d8687c077498432646159c0ff416d03 with token id 19547 found
    validating"

Record 25
   "reqId":"f9b27e36-9f2f-4318-b793-18f188d637c4"
   "level":0
   "time":"2022-11-10T14:22:56+00:00"
   "remoteAddr":"192.168.1.2"
   "user":"jmr"
   "app":"OCAuthenticationTokenDefaultTokenProvider::updateToken"
   "method":"PROPFIND"
   "url":"/owncloud/remote.php/dav/files/jmr/"
   "message":"updating token 19561
    last check is now 1668089711"

Record 26
   "reqId":"f9b27e36-9f2f-4318-b793-18f188d637c4"
   "level":0
   "time":"2022-11-10T14:22:56+00:00"
   "remoteAddr":"192.168.1.2"
   "user":"jmr"
   "app":"OCAuthenticationTokenDefaultTokenProvider::getToken"
   "method":"PROPFIND"
   "url":"/owncloud/remote.php/dav/files/jmr/"
   "message":"token 5021c8192bf7f09f66242e2ce72d6f929551a15c5f7cf39d4fe84fb80aff244595bab56cf8a121762f7819a60fffcd88959e5cb122ea85d1a2d6d3665b4ab1e3 does not exist"

Does anyone have any suggestions where I go from here?