-
Notifications
You must be signed in to change notification settings - Fork 50
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
Compatibility with CentOS 8 Stream and docker-ce? #3
Comments
I have found this jquery.min.js.gz from an old installation of cockpit, and I sticked it into Don't know if it's better to bundle this |
Hey, I don't have a Centos 8 install ready, so I can't validate if this works or not. Let me get back on this when I have that up and running |
I can report that if you grab the latest jQuery from their site, compress it with gzip, and drop it in the global directory, it works. I'm using a fresh debian buster install. |
Did you run the install script at all? I tried this on ubuntu-latest and it worked like a charm. the readme is updated quite recently. check it out :-) |
@Xantios I did, ran the script with one change; I swapped the symlink to the user directory to symlink to the global:
I'm not the best at Node.js, but I think the way cockpit has it setup is that it is looking for assets in |
This is on a fresh debian 10 box with the latest docker out of the repo. My copy of cockpit is out of the buster backports. |
Can you please try to run the script as is? if that works you can move the plugin anywhere your heart desires afterwards, but just to make sure there isn't a weird bug in webpack :-) I --think-- the path is hardcoded on one or more places (and this is the easiest way to make sure of that) |
I had the same problem on Fedora 34 Server when running the unmodified install script.
|
I have compiled this and moved the
dist
into my cockpit directory/usr/share/cockpit
.However, it is not working with the following error:
Looking at the
docker/index.html
file, it is expecting ajquery.js
file under../base1/jquery.js
, but this file doesn't exist in this installation of cockpit.I'm not much of a web developer, any idea how this could be rectified or worked around?
Edit:
cockpit
package:Environment:
The text was updated successfully, but these errors were encountered: