This repository was archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 466
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Your bundle is locked to mimemagic #2339
Copy link
Copy link
Open
Labels
Description
I've tried to run Portus on my server. To do so, I pulled the master and then:
docker-compose up -d
First I faced these two errors:
Repository 'devel:tools' is invalid.
[devel:tools|https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.0/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'devel:tools' because of the above error.
Repository 'ruby' is invalid.
[ruby|https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.0] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'ruby' because of the above error.
Some of the repositories have not been refreshed because of an error.
Since latest changes for this repo is for two years ago, the links provided for repositories are not available now. I searched the issues and this one solved my first problem. But after trying to bring up docker-compose, another error occurred:
Your bundle is locked to mimemagic (0.3.3), but that version could not be found
in any of the sources listed in your Gemfile. If you haven't changed sources,
that means the author of mimemagic (0.3.3) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.3) that hasn't been removed
in order to install.
The command '/bin/sh -c zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.2/devel:languages:ruby.repo && zypper addrepo https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.2/ devel:tools && zypper --gpg-auto-import-keys ref && zypper -n in --no-recommends ruby2.6-devel libmariadb-devel postgresql-devel nodejs libxml2-devel libxslt1 git-core go1.10 phantomjs gcc-c++ && zypper -n in --no-recommends -t pattern devel_basis && gem install bundler --no-document -v 1.17.3 && update-alternatives --install /usr/bin/bundle bundle /usr/bin/bundle.ruby2.6 3 && update-alternatives --install /usr/bin/bundler bundler /usr/bin/bundler.ruby2.6 3 && bundle install --retry=3 && go get -u github.com/vbatts/git-validation && go get -u github.com/openSUSE/portusctl && mv /root/go/bin/git-validation /usr/local/bin/ && mv /root/go/bin/portusctl /usr/local/bin/ && zypper -n rm wicked wicked-service autoconf automake binutils bison cpp flex gdbm-devel gettext-tools libtool m4 make makeinfo && zypper clean -a' returned a non-zero code: 7
ERROR: Service 'portus' failed to build : Build failed
Full log here.
How can I solve this issue?
Portus Version: Latest