Koozali.org: home of the SME Server

NextCloud

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #15 on: March 06, 2025, 04:04:46 AM »
you should be good now

Offline calisun

  • *
  • 619
  • +0/-1
Re: NextCloud
« Reply #16 on: March 06, 2025, 04:22:37 AM »
you should be good now

I was hoping, but no luck.
 
After running code:
Code: [Select]

/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo

after reconfigure/reboot, I still get 404 error.

Code: [Select]
yum install smeserver-nextcloud --enablerepo=smecontribs
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
 * smeaddons: mirror.canada.pialasse.com
 * smecontribs: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * smeupdates-testing: mirror.canada.pialasse.com
base                                                                                                                                                                                 | 3.6 kB  00:00:00
centos-sclo-centos                                                                                                                                                                   | 3.0 kB  00:00:00
centos-sclo-rh                                                                                                                                                                       | 3.0 kB  00:00:00
http://mirror.centos.org/centos/7/sclo/x86_64/sclo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #17 on: March 06, 2025, 08:09:46 AM »
http://mirror.centos.org/ not good

is your server to the synced to the current date ?


what gives
grep centos.org -r /etc/yum.smerepos.d/

also
db yum_repositories print
« Last Edit: March 06, 2025, 08:12:51 AM by Jean-Philippe Pialasse »

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #18 on: March 06, 2025, 08:18:58 AM »
from you last post they are fixed as planned, BUT you seem to have either entered one more in yum_repositories manually or have added an extra file manually in /etc/yum.smerepos.d


as seen here:
centos-sclo-centos                                                                                                                                                                   | 3.0 kB  00:00:00
centos-sclo-rh                                                                                                                                                                       | 3.0 kB  00:00:00

they are ok!

but it tries to load another repo:


http://mirror.centos.org/centos/7/sclo/x86_64/sclo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

Offline calisun

  • *
  • 619
  • +0/-1
Re: NextCloud
« Reply #19 on: March 06, 2025, 07:54:12 PM »
Thank you for the info.
At this point, I think easiest fix will be to:
 
- Reinstall SME10
- Recover from SME 9 backup
and run following commands:

Code: [Select]
yum update --disablerepo=* --enablerepo=smeupdates,smeos,remi-safe,baseand
Code: [Select]
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo

I will undertake this over the weekend and report back.

SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #20 on: March 06, 2025, 08:19:38 PM »
easiest fix would be to answer to the questions i posted. this will prevent you hours of reinstalling for something you will redo exactly the same.

so post the answers so we can help you to remove the extra entry

Offline calisun

  • *
  • 619
  • +0/-1
Re: NextCloud
« Reply #21 on: March 06, 2025, 11:02:25 PM »
http://mirror.centos.org/ not good

is your server to the synced to the current date ?


what gives
grep centos.org -r /etc/yum.smerepos.d/

Code: [Select]
  grep centos.org -r /etc/yum.smerepos.d/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/sclo/$basearch/sclo/
/etc/yum.smerepos.d/sme-base.repo:gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/sclo/$basearch/rh/
/etc/yum.smerepos.d/sme-base.repo:gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/fasttrack/$basearch/
/etc/yum.smerepos.d/sme-base.repo:baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/

Quote
also
db yum_repositories print
Code: [Select]
db yum_repositories print
base=repository|BaseURL|http://vault.centos.org/7.9.2009/os/$basearch/|EnableGroups|no|Exclude|initscripts,libgsf|GPGCheck|yes|MirrorList|disabled|Name|CentOS - os|Visible|yes|status|enabled
centos-sclo-centos=repository|BaseURL|http://vault.centos.org/7.9.2009/sclo/$basearch/sclo/|EnableGroups|no|GPGCheck|yes|GPGKey|https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo|MirrorList|disabled|Name|Centos-RH Software collections|Priority|10|Visible|yes|status|enabled
centos-sclo-rh=repository|BaseURL|http://vault.centos.org/7.9.2009/sclo/$basearch/rh/|EnableGroups|no|GPGCheck|yes|GPGKey|https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo|MirrorList|disabled|Name|Centos - RH Software Collections|Priority|10|Visible|yes|status|enabled
centos-sclo-sclo=repository|BaseURL|http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/|EnableGroups|no|Name|Centos - RH Software Collections|Visible|yes|centos-sclo-sclo|repository|status|enabled|yum_repositories|set
centosplus=repository|BaseURL|http://vault.centos.org/7.9.2009/centosplus/$basearch/|EnableGroups|no|GPGCheck|yes|MirrorList|disabled|Name|CentOS - centosplus|Visible|no|status|disabled
epel=repository|BaseURL|http://download.fedoraproject.org/pub/epel/$releasever/$basearch|EnableGroups|no|Exclude|perl-Razor-Agent|GPGCheck|yes|GPGKey|http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL|MirrorList|http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch|Name|EPEL|Visible|no|status|disabled
extras=repository|BaseURL|http://vault.centos.org/7.9.2009/extras/$basearch/|EnableGroups|no|GPGCheck|yes|MirrorList|disabled|Name|CentOS - extras|Visible|no|status|disabled
fasttrack=repository|BaseURL|http://vault.centos.org/7.9.2009/fasttrack/$basearch/|EnableGroups|no|GPGCheck|yes|MirrorList|disabled|Name|CentOS - fasttrack|Visible|no|status|disabled
fws=repository|BaseURL|http://repo.firewall-services.com/centos/$releasever|EnableGroups|no|GPGCheck|yes|GPGKey|http://repo.firewall-services.com/RPM-GPG-KEY|Name|Firewall Services|Visible|yes|status|enabled
fws-testing=repository|BaseURL|http://repo.firewall-services.com/centos-testing/$releasever|EnableGroups|no|GPGCheck|yes|GPGKey|http://repo.firewall-services.com/RPM-GPG-KEY|Name|Firewall Services testing|Visible|no|status|disabled
remi-safe=repository|BaseURL|http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/|EnableGroups|no|GPGCheck|yes|GPGKey|http://rpms.famillecollet.com/RPM-GPG-KEY-remi|Name|Remi - safe|Visible|yes|status|enabled
smeaddons=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smeaddons-10|Name|SME Server - addons|Visible|yes|status|enabled
smecontribs=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smecontribs-10|Name|SME Server - contribs|Visible|yes|status|enabled
smedev=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smedev-10|Name|SME Server - dev|Visible|no|status|disabled
smeextras=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smeextras-10|Name|SME Server - extras|Visible|yes|status|enabled
smeos=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smeos-10|Name|SME Server - os|Visible|yes|status|enabled
smetest=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smetest-10|Name|SME Server - test|Visible|no|status|disabled
smeupdates=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smeupdates-10|Name|SME Server - updates|Visible|yes|status|enabled
smeupdates-testing=repository|EnableGroups|yes|GPGCheck|yes|MirrorList|http://mirrorlist.koozali.org/mirrorlist/smeupdates-testing-10|Name|SME Server - updates testing|Visible|yes|status|enabled
stephdl=repository|BaseURL|http://mirror.de-labrusse.fr/smeserver/$releasever|EnableGroups|no|GPGCheck|yes|GPGKey|http://mirror.de-labrusse.fr/RPM-GPG-KEY|Name|Mirror de Labrusse|Visible|yes|status|enabled
updates=repository|BaseURL|http://vault.centos.org/7.9.2009/updates/$basearch/|EnableGroups|no|Exclude|initscripts,libgsf|GPGCheck|yes|MirrorList|disabled|Name|CentOS - updates|Visible|yes|status|enabled
[root@home ~]#
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #22 on: March 07, 2025, 02:55:00 AM »
Code: [Select]
db yum_repositories delete centos-sclo-sclo
expand-template /etc/yum.smerepos.d/sme-base.repo


and you should be good

Offline calisun

  • *
  • 619
  • +0/-1
Re: NextCloud
« Reply #23 on: March 07, 2025, 03:48:41 AM »
Different error message now:

Code: [Select]
yum install smeserver-nextcloud --enablerepo=smecontribs
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
 * smeaddons: mirror.canada.pialasse.com
 * smecontribs: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * smeupdates-testing: mirror.canada.pialasse.com
base                                                                                                                                                                                     | 3.6 kB  00:00:00
centos-sclo-centos                                                                                                                                                                       | 3.0 kB  00:00:00
centos-sclo-rh                                                                                                                                                                           | 3.0 kB  00:00:00
http://repo.firewall-services.com/centos/7/repodata/repomd.xml: [Errno 14] HTTP Error 502 - Bad Gateway
Trying other mirror.


 One of the configured repositories failed (Firewall Services),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=fws ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable fws
        or
            subscription-manager repos --disable=fws

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=fws.skip_if_unavailable=true

failure: repodata/repomd.xml from fws: [Errno 256] No more mirrors to try.
http://repo.firewall-services.com/centos/7/repodata/repomd.xml: [Errno 14] HTTP Error 502 - Bad Gateway
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #24 on: March 07, 2025, 07:11:20 AM »
then if you learn from previous


db yum_repositories delete fws
db yum_repositories delete  fws-testing

expand-template /etc/yum.smerepos.d/sme-base.repo



if you had installed fws repo using smeserver-extrarepositories-fws then you should also uninstall it. 
if you had them from migrating old sme9 then you are good

Offline calisun

  • *
  • 619
  • +0/-1
Re: NextCloud
« Reply #25 on: March 07, 2025, 07:31:53 PM »
After executing above code,  there was one additional repository that it got stuck on, I adopted above mentioned code to remove it.
Afterwards Nextcloud installed

Thank you very much Jean-Philippe Pialasse
« Last Edit: March 07, 2025, 10:56:59 PM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,886
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: NextCloud
« Reply #26 on: March 08, 2025, 03:43:40 AM »
great news, so in the context of this thread you now know how to debut a repository issue and remove outdated ones.
and you have nextcloud installed.


looking forward to read from you