Package Details: shinobi-git r3116.07584db3-1

Git Clone URL: https://aur.archlinux.org/shinobi-git.git (read-only, click to copy)
Package Base: shinobi-git
Description: The Open Source CCTV and NVR Solution
Upstream URL: https://shinobi.video/
Keywords: ai camera detection monitor recognition record security surveillance video
Licenses: custom
Provides: shinobi
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 4
Popularity: 0.000105
First Submitted: 2021-06-14 19:31 (UTC)
Last Updated: 2023-01-22 19:46 (UTC)

Latest Comments

1 2 Next › Last »

Behem0th commented on 2023-01-22 05:10 (UTC) (edited on 2023-01-22 05:11 (UTC) by Behem0th)

Hello! I cant build shinobi pkg.

Plz help.

[Nout-arch shinobi-git]$> LANG=C makepkg -c
==> Making package: shinobi-git r3065.e366d3c8-1 (Sun Jan 22 09:09:52 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Shinobi git repo...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 1), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 456 bytes | 456.00 KiB/s, done.
From https://gitlab.com/Shinobi-Systems/Shinobi
 + 6b6f5f8a...84138b38 refs/merge-requests/432/merge -> refs/merge-requests/432/merge  (forced update)
  -> Found shinobi-camera.service
  -> Found shinobi-cron.service
  -> Found shinobi.target
  -> Found shinobi.sysusers
  -> Found shinobi.tmpfiles
  -> Found conf.json
  -> Found super.json
==> Validating source files with sha256sums...
    Shinobi ... Skipped
    shinobi-camera.service ... Passed
    shinobi-cron.service ... Passed
    shinobi.target ... Passed
    shinobi.sysusers ... Passed
    shinobi.tmpfiles ... Passed
    conf.json ... Passed
    super.json ... Passed
==> Extracting sources...
  -> Creating working copy of Shinobi git repo...
Reset branch 'makepkg'
==> Starting prepare()...
sed: can't read sql/framework.sql: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
[Nout-arch shinobi-git]$> ls -l Shinobi/
итого 148
-rw-r--r-- 1 behem0th behem0th 87897 янв 22 09:09 FETCH_HEAD
-rw-r--r-- 1 behem0th behem0th    23 янв 22 09:08 HEAD
drwxr-xr-x 1 behem0th behem0th     0 янв 22 09:07 branches
-rw-r--r-- 1 behem0th behem0th   177 янв 22 09:07 config
-rw-r--r-- 1 behem0th behem0th    73 янв 22 09:07 description
drwxr-xr-x 1 behem0th behem0th   506 янв 22 09:07 hooks
drwxr-xr-x 1 behem0th behem0th    14 янв 22 09:07 info
drwxr-xr-x 1 behem0th behem0th    24 янв 22 09:09 objects
-rw-r--r-- 1 behem0th behem0th 46937 янв 22 09:08 packed-refs
drwxr-xr-x 1 behem0th behem0th    46 янв 22 09:09 refs

graysky commented on 2021-12-06 08:25 (UTC) (edited on 2021-12-06 08:30 (UTC) by graysky)

@Alphajack - Can you please change 'network.target' to 'network-online.target' in your two service files and in shinobi.target? Without it, I get sporadic failure to start on reboots.

AlphaJack commented on 2021-09-20 20:33 (UTC)

Fixed, thank you

graysky commented on 2021-09-20 19:25 (UTC)

Line 47 is bad

AlphaJack commented on 2021-09-20 18:34 (UTC)

Because it hardcodes the database name to "ccio".
Now one can run sudo mysql ccio < /usr/share/shinobi/sql/framework.sql to get the same result or change "ccio" with "shinobi-db" or anything that he wants.

Also I'm not a fan of user.sql, which is made of three commands that one can run himself choosing its username, host, password and database name:

create user 'UUUUUU'@'HHHHHH' identified by 'PPPPPP';
grant all on 'DDDDDD' to 'UUUUUU'@'HHHHHH' identified by "PPPPPP" with grant option;
flush privileges;

graysky commented on 2021-09-20 16:41 (UTC)

@AlphaJack - Wondering why you modify the database.sql here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=shinobi-git#n40

graysky commented on 2021-09-19 20:45 (UTC)

I created https://wiki.archlinux.org/title/Shinobi just now. Feel free to contribute.