Skip to content
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

Cannot find executable for identify: not found #184

Open
Kusoneko opened this issue Apr 27, 2021 · 2 comments
Open

Cannot find executable for identify: not found #184

Kusoneko opened this issue Apr 27, 2021 · 2 comments

Comments

@Kusoneko
Copy link

info

git revision / version: f92f68c <= this commit, which is currently the latest

OS: ubuntu 20.04

Architecture: x86_64

problem

I'm kinda trying stuff out and I figured I'd try this out as well.

I somehow managed to set everything up, as best as I can with the somewhat incomplete docs as of right now. I'm not using tor, though the frontend is currently being served behind a nginx reverse proxy. So far so good. I managed to set up postgres and the systemdicked thing. Works find, except for this. When using any of the following 3 things to do just about anything, I get the errors below eventually:

  1. ./srndv2 setup
  2. ./srndv2 run
  3. systemctl start nntpchan

backtrace / error messages

Error messages: yes

1:

2021/04/27 04:06:55 Setting up SRNd base...
2021/04/27 04:06:55 checking for configs...
2021/04/27 04:06:55 loading config...
2021/04/27 04:06:55 frontend configured in srnd.ini
2021/04/27 04:06:55 frontend enabled in srnd.ini
2021/04/27 04:06:55 validating configs...
2021/04/27 04:06:55 configs are valid
2021/04/27 04:06:55 Reading translation files
2021/04/27 04:06:55 get locale en
2021/04/27 04:06:55 connecting to database...
2021/04/27 04:06:55 Connecting to postgres...
2021/04/27 04:06:55 ensure that the database is created...
2021/04/27 04:06:55 we are up to date at version 9
2021/04/27 04:06:55 generating 4096 RSA private key...
2021/04/27 04:06:56 checking certs for certificates
2021/04/27 04:06:56 loading 2 trusted certificates
2021/04/27 04:06:56 set up article store...
2021/04/27 04:06:56 cannot find executable for identify: not found

2:

2021/04/27 04:23:56 Starting up srnd-3.1.0-f92f68c...
2021/04/27 04:23:56 checking for configs...
2021/04/27 04:23:56 loading config...
2021/04/27 04:23:56 frontend configured in srnd.ini
2021/04/27 04:23:56 frontend enabled in srnd.ini
2021/04/27 04:23:56 validating configs...
2021/04/27 04:23:56 configs are valid
2021/04/27 04:23:56 Reading translation files
2021/04/27 04:23:56 get locale en
2021/04/27 04:23:56 connecting to database...
2021/04/27 04:23:56 Connecting to postgres...
2021/04/27 04:23:56 ensure that the database is created...
2021/04/27 04:23:56 we are up to date at version 9
2021/04/27 04:23:56 checking certs for certificates
2021/04/27 04:23:56 loading 2 trusted certificates
2021/04/27 04:23:56 set up article store...
2021/04/27 04:23:56 cannot find executable for identify: not found

These two above are what really annoys me mainly, because there is indeed no identify executable, but none was built originally either, so I'm not sure how to fix this issue.

3:

Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: Started NNTPChan Server.
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 Starting up srnd-3.1.0-f92f68c...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 checking for configs...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 loading config...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 found SRND config at /home/nntpchan/nntpchan/srnd.ini...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 frontend configured in srnd.ini
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 frontend enabled in srnd.ini
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 failed to load feeds: open feeds.ini: no such file or directory
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: nntpchan.service: Main process exited, code=exited, status=1/FAILURE
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: nntpchan.service: Failed with result 'exit-code'.
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: Stopped NNTPChan Server.

This last one is systemd's which somehow just cannot find the very easily found empty feeds.ini file I set up at /home/nntpchan/nntpchan, which is the directory where srndv2 is located as well. I specifically added to the systemd service file the User option to make sure it used the right file from the right working directory as the right user. That's obviously not giving me the result I expected. Is there a point to having a feeds.ini file at all if you have no friends to "federate" with? This is also an issue that should be raised, considering how little activity this project got this past year, can it be safe to assume that all servers are dead already, and so I'd be the lone new server? Perhaps to prevent that assumption, a separate repo where people add their nodes and public key info the same way meshnet protocols do it as a mean to create virtual connections between nodes. Even better would be to also add some automatic check say weekly that the nntpchan server can be reached, and if not, automatically remove it from the repo as a dead server.

Backtrace: no

Anyways, any help would be appreciated.

Thanks,
Kusoneko.

@majestrate
Copy link
Owner

you need imagemagick package for identify.

@Kusoneko
Copy link
Author

Kusoneko commented May 3, 2021

Hello,

$ which identify
/usr/bin/identify

and

# apt install imagemagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
imagemagick is already the newest version (8:6.9.10.23+dfsg-2-2.1ubuntu11.2).
0 upgraded, 0newly installed, 0 to remove and 0 not upgraded.

So the issue isn't about me not having imagemagick or the identify executable, nntpchan just doesn't seem to detect it at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants