How to determine why ankiserverctl not running

112 views
Skip to first unread message

Kyle Goetz

unread,
Jan 14, 2014, 6:02:45 PM1/14/14
to anki-syn...@googlegroups.com
I have successfully installed (as far as I can tell) AnkiServer. When I execute

>ankiserverctl.py start

there is no error message. If I immediately follow up with ankiserverctl.py stop I get a message telling me there is no process to stop. If, after issuing the start command, I check with netstat, the AnkiServer port (27701?) is not occupied/in use/open.

So how do I determine what's going on? Executing ankiserverctl.py gives me a few command line options, but nothing that could show an error log or anything. No error message shows up on screen. How can I troubleshoot this?

Thanks.
Message has been deleted

Kyle Goetz

unread,
Jan 14, 2014, 6:03:45 PM1/14/14
to anki-syn...@googlegroups.com
Oh, Python 2.7 on Ubuntu.

David Snopek

unread,
Jan 15, 2014, 8:05:46 AM1/15/14
to anki-syn...@googlegroups.com
This is a really good question! It came up recently on another thread too:


Unfortunately, ankiserverctl.py was contributed by jdoe0 on GitHub, and I'm not that familiar with how it works. I don't use it, personally - I use paster or supervisord. But I'll take a look at it when I have chance.

However, in the meantime, I'd recommend trying to use paster to run the Anki Server instead. For example:

  paster serve production.ini

That should give you an error. You might have to setup logging to get the full details, but try with paster first.

I hope that helps!

Regards,
David.


2014/1/14 Kyle Goetz <kyle...@gmail.com>
Oh, Python 2.7 on Ubuntu.

--
You received this message because you are subscribed to the Google Groups "Anki Sync Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-sync-serv...@googlegroups.com.
To post to this group, send email to anki-syn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-sync-server/39657d6e-373e-4994-a4d4-f4e8cb11515b%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

David Snopek

unread,
Jan 25, 2014, 10:11:01 AM1/25/14
to anki-syn...@googlegroups.com
BTW, jdoe0 implemented a new "ankiserverctl.py debug" command just for this purpose!


If you pull the latest version from Git, you'll have it available.

Best regards,
David.


On Wednesday, January 15, 2014 7:05:46 AM UTC-6, David Snopek wrote:
This is a really good question! It came up recently on another thread too:


Unfortunately, ankiserverctl.py was contributed by jdoe0 on GitHub, and I'm not that familiar with how it works. I don't use it, personally - I use paster or supervisord. But I'll take a look at it when I have chance.

However, in the meantime, I'd recommend trying to use paster to run the Anki Server instead. For example:

  paster serve production.ini

That should give you an error. You might have to setup logging to get the full details, but try with paster first.

I hope that helps!

Regards,
David.


2014/1/14 Kyle Goetz <kyle...@gmail.com>
Oh, Python 2.7 on Ubuntu.

--
You received this message because you are subscribed to the Google Groups "Anki Sync Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-sync-server+unsubscribe@googlegroups.com.
To post to this group, send email to anki-sync-server@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages