Package Details: whoogle-git 0.8.4.r6.g7313edf-1

Git Clone URL: https://aur.archlinux.org/whoogle-git.git (read-only, click to copy)
Package Base: whoogle-git
Description: A self-hosted, ad-free, privacy-respecting metasearch engine
Upstream URL: https://github.com/benbusby/whoogle-search
Keywords: engine search whoogle
Licenses: MIT
Conflicts: whoogle
Provides: whoogle
Submitter: dr460nf1r3
Maintainer: dr460nf1r3 (chaotic-aur)
Last Packager: chaotic-aur
Votes: 3
Popularity: 0.000000
First Submitted: 2021-03-06 18:00 (UTC)
Last Updated: 2023-12-22 16:29 (UTC)

Dependencies (2)

Required by (3)

Sources (4)

Pinned Comments

dr460nf1r3 commented on 2021-03-06 18:07 (UTC) (edited on 2021-12-05 12:09 (UTC) by dr460nf1r3)

Installs with official instructions to /opt. Read here for more information and options for the systemd service. ( -> e) manual) The search engine is accessible at localhost:5000, set it as default engine using your browsers option. Binary builds are available at Chaotic-AUR!

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

frankyboy commented on 2021-10-31 07:30 (UTC)

@m040601, those files left after Rns because they weren't created by pacman itself, but by whoogle.

i remember someone on bbs wrote that by deleting text editor pacman won't delete created text files. i suppose here is same situation

m040601 commented on 2021-10-26 21:51 (UTC) (edited on 2021-10-26 21:52 (UTC) by m040601)

The current PKGBUILD leaves behind orphan files when uninstalling whoogle-git.

Steps to reproduce.

Install whoogle-git.

Sudo systemctl start whoogle.

Test and Use.

Sudo systemctl stop whoogle.

pacman -Rns whoogle-git

:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing whoogle-git                         [##########################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

sudo updatedb

locate whoogle

/opt/whoogle-search
/opt/whoogle-search/app
/opt/whoogle-search/app/static
/opt/whoogle-search/app/static/bangs
/opt/whoogle-search/app/static/build
/opt/whoogle-search/app/static/config
/opt/whoogle-search/app/static/bangs/bangs.json
/opt/whoogle-search/app/static/build/autocomplete.7b431467.js
/opt/whoogle-search/app/static/build/controller.d141915f.js
/opt/whoogle-search/app/static/build/dark-theme.efd6898f.css
/opt/whoogle-search/app/static/build/header.3f278aa9.css
/opt/whoogle-search/app/static/build/header.658ea969.js
/opt/whoogle-search/app/static/build/input.4049a764.css
/opt/whoogle-search/app/static/build/keyboard.97759bca.js
/opt/whoogle-search/app/static/build/light-theme.f58056af.css
/opt/whoogle-search/app/static/build/logo.32ab05c5.css
/opt/whoogle-search/app/static/build/main.24ec4f16.css
/opt/whoogle-search/app/static/build/search.6b261c07.css
/opt/whoogle-search/app/static/build/utils.5ec5b9a4.js
/opt/whoogle-search/app/static/build/variables.51f93eaf.css
/opt/whoogle-search/app/static/config/session
/opt/whoogle-search/app/static/config/session/2029240f6d1128be89ddc32729463129
/opt/whoogle-search/app/static/config/session/5493a2f756f085e55e0746383d965e65

pacman -Qo /opt/whoogle-search/

error: No package owns /opt/whoogle-search

m040601 commented on 2021-10-26 21:42 (UTC)

I can confirm that this version, 0.6.0_r422.g6763c2e-1),

    $ yay -Ss  whoogle-git
aur/whoogle-git 0.6.0_r391.g20976f2-1 (+3 1.56) (Installed: 0.6.0_r422.g6763c2e-1)
    A self-hosted, ad-free, privacy-respecting metasearch engine

Seems to install and start OK.

dr460nf1r3 commented on 2021-10-26 05:37 (UTC)

Fixed! :)

m040601 commented on 2021-10-26 00:11 (UTC) (edited on 2021-10-26 00:16 (UTC) by m040601)

whoogle-git also doesnt even install:

[Aur:1] whoogle-git-0.6.0_r391.g20976f2-1

:: (1/1) Parsing SRCINFO: whoogle-git                                               
==> Making package: whoogle-git 0.6.0_r391.g20976f2-1 (Tue 26 Oct 2021 01:06:12 AM W
EST)                                                                                
==> Retrieving sources...                                                           
  -> Cloning whoogle-search git repo...                                             
....

seems to go ok, but then:

soupsieve-1.9.5 stem-1.8.0 toml-0.10.2 urllib3-1.26.5 waitress-1.4.3 wcwidth-0.1.9
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the /dev/shm/aurydesty/whoogle-git/src/whoogle-search/venv/bin/python3 -m pip install --upgrade pip command.
rm: cannot remove .github: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: whoogle-git

I must also add that I have also tested installing whoogle on Archlinux with

pipx install --verbose whoogle-search

It worked perfectly until some days ago. It does not work now:

$ whoogle-search --help

    $ whoogle-search 
Traceback (most recent call last):
  File "/home/a1/.local/bin/whoogle-search", line 5, in <module>
    from app.routes import run_app
  File "/home/a1/.local/pipx/venvs/whoogle-search/lib/python3.9/site-packages/app/__init__.py", line 1, in <module>
    from app.filter import clean_query
  File "/home/a1/.local/pipx/venvs/whoogle-search/lib/python3.9/site-packages/app/filter.py", line 5, in <module>
    from cryptography.fernet import Fernet
  File "/home/a1/.local/pipx/venvs/whoogle-search/lib/python3.9/site-packages/cryptography/fernet.py", line 18, in <module>
    from cryptography.hazmat.primitives import hashes, padding
  File "/home/a1/.local/pipx/venvs/whoogle-search/lib/python3.9/site-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>
    from cryptography.hazmat.bindings._padding import lib
ImportError: libffi.so.7: cannot open shared object file: No such file or directory


So maybe, just maybe, this isnt a problem with these AUR packgages but with the upstream development breaking something in Archlinux.

frankyboy commented on 2021-10-23 04:20 (UTC) (edited on 2021-10-23 04:20 (UTC) by frankyboy)

hiya, dr460nf1r3.
cleared my cache of whoogle-git folder to get clean compile experience and encountered following errors:

  1. rm: cannot remove '.github': No such file or directory (deleted .github in PKGBUILD)
  2. install: cannot stat '/tmp/makepkg/whoogle-git/src/whoogle-git-search/LICENSE': No such file or directory (corrected path to "$srcdir/whoogle-search/LICENSE" in PKGBUILD)
  3. cp: cannot stat '/tmp/makepkg/whoogle-git/src/whoogle-git-search/': No such file or directory (corrected path to "$srcdir/whoogle-search/")

frankyboy commented on 2021-10-20 21:36 (UTC) (edited on 2021-10-20 21:40 (UTC) by frankyboy)

tried whoogle-git-0.6.0_r404.g1b7d3ed-1-x86_64
still same error persist "chown: cannot access '/opt/whoogle-search/app/static/config': No such file or directory"

because there package compiling there are no such folder as /opt/whoogle-search/app/static/config

now after chowning /opt/whoogle-search/app/static error is

Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.9/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/opt/whoogle-search/app/init.py", line 1, in <module>
from app.filter import clean_query
File "/opt/whoogle-search/app/filter.py", line 5, in <module>
from cryptography.fernet import Fernet
File "/opt/whoogle-search/venv/lib/python3.9/site-packages/cryptography>/fernet.py", line 18, in <module>
from cryptography.hazmat.primitives import hashes, padding
File "/opt/whoogle-search/venv/lib/python3.9/site-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>
from cryptography.hazmat.bindings._padding import lib

ImportError: libffi.so.8: cannot open shared object file: No such file or directory

dr460nf1r3 commented on 2021-10-19 10:14 (UTC)

You could try chown -R whoogle.whoogle /opt/whoogle-search/app/static/config, as its done in .install.

frankyboy commented on 2021-10-18 20:35 (UTC) (edited on 2021-10-18 20:37 (UTC) by frankyboy)

@dr460nf1r3, /opt/whoogle-search/app/static/config is not a file, but a folder :) this folder already exists in tar.zst package, but for some reason it require whoogle rights to this folder being able to perform it's privacy and ad-free duty

dr460nf1r3 commented on 2021-10-18 19:34 (UTC)

Could you try manually creating that file? Since I can't reproduce the issue, might the file have been created before for me?