This package also ships a complete service file which is out of date. See https://gitlab.archlinux.org/archlinux/packaging/packages/incus/-/commit/08ec3e4989a6c452fec67e0a031138b3e8b36521
You should package an override file instead
Git Clone URL: | https://aur.archlinux.org/incus-ui-canonical.git (read-only, click to copy) |
---|---|
Package Base: | incus-ui-canonical |
Description: | lxd-ui rebranded to incus |
Upstream URL: | https://github.com/zabbly/incus-ui-canonical |
Licenses: | GPL-3.0-only |
Submitter: | KosmX |
Maintainer: | KosmX |
Last Packager: | KosmX |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-12-30 15:12 (UTC) |
Last Updated: | 2024-12-03 23:25 (UTC) |
« First ‹ Previous 1 2
This package also ships a complete service file which is out of date. See https://gitlab.archlinux.org/archlinux/packaging/packages/incus/-/commit/08ec3e4989a6c452fec67e0a031138b3e8b36521
You should package an override file instead
Would be best to automatically apply all patches starting with "ui-canonical-".
This way if a new patch is added or a patch is removed this package can simply be rebuild.
Initialized empty Git repository in /home/realgecko/.cache/yay/incus-ui-canonical/src/lxd-ui-0.12/.git/
<stdin>:153: trailing whitespace.
<polygon clip-path="url(#SVGID_6_)" fill="#333333" stroke="#FFFFFF" stroke-miterlimit="10" points="258.277,184.829
<stdin>:157: trailing whitespace.
<polygon id="SVGID_2_" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="258.277,184.829 258.207,213.306
<stdin>:181: trailing whitespace.
<polygon clip-path="url(#SVGID_10_)" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.802,175.326
<stdin>:185: trailing whitespace.
<polygon id="SVGID_3_" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.802,175.326 176.061,198.98
<stdin>:197: trailing whitespace.
<polygon clip-path="url(#SVGID_13_)" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.837,161.14
warning: squelched 7 whitespace errors
warning: 12 lines add whitespace errors.
patching file src/components/Navigation.tsx
patching file src/components/NoMatch.tsx
patching file src/context/useDocs.tsx
patching file src/pages/login/BrowserImport.tsx
patching file src/pages/login/CertificateAdd.tsx
patching file src/pages/login/CertificateGenerate.tsx
patching file src/util/certificate.tsx
patching file src/pages/storage/UploadCustomImageHint.tsx
patching file src/pages/images/ImageSelector.tsx
patching file src/components/Version.tsx
patch: **** Can't open patch file /home/realgecko/.cache/yay/incus-ui-canonical/src/incus/patches/ui-canonical-0007-Improve-openfga.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: incus-ui-canonical-exit status 4
-> Failed to install the following packages. Manual intervention is required:
incus-ui-canonical - exit status 4
-> Cloning incus git repo...
Cloning into bare repository '/home/realgecko/.cache/yay/incus-ui-canonical/incus'...
remote: Enumerating objects: 1810, done.
remote: Counting objects: 100% (438/438), done.
remote: Compressing objects: 100% (232/232), done.
remote: Total 1810 (delta 255), reused 365 (delta 206), pack-reused 1372
Receiving objects: 100% (1810/1810), 571.06 KiB | 1.31 MiB/s, done.
Resolving deltas: 100% (823/823), done.
-> Downloading 0.8.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 479k 0 479k 0 0 364k 0 --:--:-- 0:00:01 --:--:-- 1163k
-> Found incus.service
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
incus ... Skipped
0.8.tar.gz ... Passed
incus.service ... Passed
:: (1/1) Parsing SRCINFO: incus-ui-canonical
==> Making package: incus-ui-canonical 0.8-3 (Sat 03 Aug 2024 03:16:22 PM +05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating incus git repo...
-> Found 0.8.tar.gz
-> Found incus.service
==> Validating source files with sha256sums...
incus ... Skipped
0.8.tar.gz ... Passed
incus.service ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of incus git repo...
Cloning into 'incus'...
done.
-> Extracting 0.8.tar.gz with bsdtar
==> Starting prepare()...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/realgecko/.cache/yay/incus-ui-canonical/src/lxd-ui-0.8/.git/
<stdin>:154: trailing whitespace.
<polygon clip-path="url(#SVGID_6_)" fill="#333333" stroke="#FFFFFF" stroke-miterlimit="10" points="258.277,184.829
<stdin>:158: trailing whitespace.
<polygon id="SVGID_2_" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="258.277,184.829 258.207,213.306
<stdin>:182: trailing whitespace.
<polygon clip-path="url(#SVGID_10_)" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.802,175.326
<stdin>:186: trailing whitespace.
<polygon id="SVGID_3_" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.802,175.326 176.061,198.98
<stdin>:198: trailing whitespace.
<polygon clip-path="url(#SVGID_13_)" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="216.837,161.14
error: patch failed: index.html:5
error: index.html: patch does not apply
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: incus-ui-canonical-exit status 4
-> Failed to install the following packages. Manual intervention is required:
incus-ui-canonical - exit status 4
@intelfx: The workaround is not specific to my system, it is needed on a clean install with default node and yarn, or when using clean chroot. I'll remove the workaround with the next NodeJS release, as it has fixed the issue.
https://github.com/nodejs/node/issues/48444
The workaround only lives during build.
@KosmX: Please do not put "workarounds" like 3ffce2ebd908 into AUR packages. This just causes pointless churn for everyone.
If your system needs some sort of a workaround due to a particular combination of software versions, put it into your own /etc/makepkg.conf
. Thanks.
Incusd will host the server if configured correctly, any other HTTP server is not needed.
To set-up, add/edit the daemon config. To open the config, use
incus config edit
config:
core.https_address: '[::]:8443'
If the listen address is not a loopback address, the server will be accessible from the network (if no firewall is configured to block).
Once incusd is configured, you might need to restart it, and the control panel will be accessible from a browser on the configured address/port. by default: https://localhost:8443
Lastly, follow the instructions on the web UI!
How do you set it up?
I have nginx default.conf
server {
listen 80 default;
# root /usr/share/nginx/html;
root /opt/incus;
location /ui/ {
try_files $uri $uri/ index.html;
}
}
is there any documentation available?
Error at makepkg
==> Starting prepare()... patching file src/components/Navigation.tsx Hunk #1 succeeded at 287 (offset 1 line). Hunk #2 succeeded at 302 (offset 1 line). patching file src/components/NoMatch.tsx patching file src/context/useDocs.tsx patching file src/pages/login/BrowserImport.tsx patching file src/pages/login/CertificateAdd.tsx patching file src/pages/login/CertificateGenerate.tsx patching file src/util/certificate.tsx patching file src/pages/storage/UploadCustomImageHint.tsx Hunk #1 FAILED at 9. 1 out of 1 hunk FAILED -- saving rejects to file src/pages/storage/UploadCustomImageHint.tsx.rej ==> ERROR: A failure occurred in prepare(). Aborting...
Pinned Comments
KosmX commented on 2024-04-15 16:36 (UTC) (edited on 2024-04-15 16:38 (UTC) by KosmX)
Incusd will host the server if configured correctly, any other HTTP server is not needed.
To set-up, add/edit the daemon config. To open the config, use
incus config edit
If the listen address is not a loopback address, the server will be accessible from the network (if no firewall is configured to block).
Once incusd is configured, you might need to restart it, and the control panel will be accessible from a browser on the configured address/port. by default: https://localhost:8443
Lastly, follow the instructions on the web UI!