Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x Contribs => Topic started by: calisun on March 04, 2025, 06:19:34 AM
-
Is NextCloud Contrib no longer available?
When I go to the troubleshooting article mentioned in message (below), I see error 404.
When I try to install, I get this:
yum install smeserver-nextcloud --enablerepo=smecontribs
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
* smeaddons: distro.ibiblio.org
* smecontribs: distro.ibiblio.org
* smeextras: distro.ibiblio.org
* smeos: distro.ibiblio.org
* smeupdates: distro.ibiblio.org
* smeupdates-testing: distro.ibiblio.org
base | 3.6 kB 00:00
http://vault.centos.org/7.9.2009/centos-sclo-rh/x86_64/rh/repodata/repomd.xml: [ Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
-
I think you need to update the relevant repo from smeaddons
http://mirror.canada.pialasse.com/releases/10/smeaddons/x86_64/RPMS/smeserver-extrarepositories-centos-sclo-0.1-45.noarch.rpm
-
I think you need to update the relevant repo from smeaddons
http://mirror.canada.pialasse.com/releases/10/smeaddons/x86_64/RPMS/smeserver-extrarepositories-centos-sclo-0.1-45.noarch.rpm
Thank you TerryF, after installing RPM (reconfigure/reboot) and when I try to install nextcloud, it shows new mirrors, but again it stops with 404 error:
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
http://vault.centos.org/7.9.2009/centos-sclo-centos/x86_64/sclo/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
-
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo
if it does not fix it, then do
yum update --disablerepo=* --enablerepo=smeupdates
-
Hi Jean-Philippe Pialasse
Thank you for the info, unfortunately it did not work.
first code did not fix it.
Second code seems like it worked (Tried attaching output, but txt file is not allowed to be attached), after Reconfigure/Reboot, I still get 404 error when trying to install Contrib.
-
the url should be
https://vault.centos.org/7.9.2009/sclo/x86_64/sclo/repodata/repomd.xml
you have
http://vault.centos.org/7.9.2009/centos-sclo-centos/x86_64/sclo/repodata/repomd.xml
this is due to bug fixed in smeserver-yum
* mar jui 30 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.2-6.sme
- fix wrong url for sclo vault [SME: 12715]
- fix service name to restart for nut [SME: 12661]
what says
rpm -q smeserver-yum
-
what says
rpm -q smeserver-yum
smeserver-yum-2.6.2-1.el7.sme.noarch
-
then you did not do the yum update as i asked earlier. i will add smeo in case to the command
yum update --disablerepo=* --enablerepo=smeupdates,smeos
-
then you did not do the yum update as i asked earlier. i will add smeo in case to the command
I did, but I see some error messages. I tried to attach output in last message, but system does not allow .txt attachments.
What is the best way to share that?
edited:
--> Finished Dependency Resolution
Error: Package: php80-php-intl-8.0.30-6.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: php83-php-intl-8.3.8-1.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php82-php-intl-8.2.20-1.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: perl-Net-IMAP-Simple-1.2212-1.of.el7.noarch (smeupdates)
Requires: perl(Parse::RecDescent)
-
you are missing
perl-Parse-RecDescent-1.967009-5.el7.noarch from base
libicu73-73.2-1.el7.remi.x86_64 from remi-safe
try
yum update --disablerepo=* --enablerepo=smeupdates,smeos,remi-safe,base
removed typo ; and replaced to ,
-
Unfortunately it did not work still get error messages
--> Finished Dependency Resolution
Error: Package: php80-php-intl-8.0.30-6.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: php81-php-intl-8.1.29-1.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: php83-php-intl-8.3.8-1.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php74-php-intl-7.4.33-15.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: php80-php-intl-8.0.30-6.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php74-php-intl-7.4.33-15.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php80-php-intl-8.0.30-6.el7.remi.x86_64 (smeupdates)
Requires: libicuio.so.73()(64bit)
Error: Package: php81-php-intl-8.1.29-1.el7.remi.x86_64 (smeupdates)
Requires: libicuio.so.73()(64bit)
Error: Package: php82-php-intl-8.2.20-1.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php82-php-intl-8.2.20-1.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: php74-php-intl-7.4.33-15.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: php81-php-intl-8.1.29-1.el7.remi.x86_64 (smeupdates)
Requires: libicui18n.so.73()(64bit)
Error: Package: php82-php-intl-8.2.20-1.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: php74-php-intl-7.4.33-15.el7.remi.x86_64 (smeupdates)
Requires: libicuio.so.73()(64bit)
Error: Package: php83-php-intl-8.3.8-1.el7.remi.x86_64 (smeupdates)
Requires: libicuio.so.73()(64bit)
Error: Package: php83-php-intl-8.3.8-1.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: php82-php-intl-8.2.20-1.el7.remi.x86_64 (smeupdates)
Requires: libicuio.so.73()(64bit)
Error: Package: php80-php-intl-8.0.30-6.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: php81-php-intl-8.1.29-1.el7.remi.x86_64 (smeupdates)
Requires: libicudata.so.73()(64bit)
Error: Package: php83-php-intl-8.3.8-1.el7.remi.x86_64 (smeupdates)
Requires: libicuuc.so.73()(64bit)
Error: Package: perl-Net-IMAP-Simple-1.2212-1.of.el7.noarch (smeupdates)
Requires: perl(Parse::RecDescent)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
-bash: remi-safe,base: command not found
Since this SME 10 install (with SME 9 restore) is only one week old, I am thinking of doing install again.
Update:
Found a typo in the code, run this updated code and it seemed to work:
yum update --disablerepo=* --enablerepo=smeupdates,smeos,remi-safe,base
-
No Luck,
After running above mentioned code, system did about 700 updates.
After reconfigure/reboot, I tried installing NextCloud, but still gives me error.
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
and
rpm -q smeserver-yum
shows this:
smeserver-yum-2.6.2-6.el7.sme.noarch
-
Hi, just a couple of checks to package versions, can you show results of following
# rpm -q smeserver-extrarepositories-epel smeserver-extrarepositories-centos-sclo
when correct repo urls are set by the above packages the following db settings should be as shown
# db yum_repositories show centos-sclo-centos
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
# db yum_repositories show centos-sclo-rh
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
-
rpm -q smeserver-yum
shows this:
smeserver-yum-2.6.2-6.el7.sme.noarch
now you can run
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo
NB : why it is not that easy, because SME 10 is also EOL, with all repo moved to archive on upstream side, this was never meant to be to continue with eol software buty to ease a last update before migrating to SME 11 ... and yes it is not ready
-
Hi, just a couple of checks to package versions, can you show results of following ...
# rpm -q smeserver-extrarepositories-epel smeserver-extrarepositories-centos-sclo
package smeserver-extrarepositories-epel is not installed
smeserver-extrarepositories-centos-sclo-0.1-45.noarch
# db yum_repositories show centos-sclo-centos
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
# db yum_repositories show centos-sclo-rh
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
-
you should be good now
-
you should be good now
I was hoping, but no luck.
After running code:
/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.
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
-
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
-
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.
-
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:
yum update --disablerepo=* --enablerepo=smeupdates,smeos,remi-safe,base
and
/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.
-
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
-
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/
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/
also
db yum_repositories print
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 ~]#
-
db yum_repositories delete centos-sclo-sclo
expand-template /etc/yum.smerepos.d/sme-base.repo
and you should be good
-
Different error message now:
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
-
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
-
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
-
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