Jump to content

Mark H.

Clients
  • Posts

    5,211
  • Joined

  • Last visited

  • Days Won

    1

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Mark H.

  1. Well, I'm out of ideas then.

    About all I can think of at this point, is a permissions issue.

    The user account calling the Sphinx processes *DOES* have rights to /user/local/bin and /usr/sphinx-0.9.8.1/, correct??

    If so, then definitely time for a Support ticket. Without seeing your actual data and layout myself, I can't think of anything more than that.

    My setup is different than yours, as far as directories for the config files and Sphinx indexer, but the mechanics of it are identical.

  2. Yes, editing the sphinx.conf file to make sure the ports are correct, then manually running both commands in the listed order, *should* be all you need to do. That's what worked for me.

    Your logs indicate no errors. But they also indicate that the routine found *NO* data to process. Odd....

    At this point, I'd open a Support ticket if I were you.


    EDIT: I just noticed your first command. It looks garbled. It should be:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf --all --rotate

    THEN run:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta calendar_search_delta --rotate

  3. I believe you have an error in this line:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf forums_search_posts_delta --rotate

    It should be:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf --all --rotate

    Run the above line first, then run this command:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta downloads_search_delta gallery_search_delta calendar_search_delta blog_search_delta --rotate

    *OR*, if you don't have Blog, Gallery, and Download, run this line instead:

    /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta calendar_search_delta --rotate


    Then, the two cron jobs you'd need to add would be:

    First:
    0 3 * * * /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf --all --rotate > /dev/null 2>&1

    Second:
    */15 * * * * /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta downloads_search_delta gallery_search_delta calendar_search_delta blog_search_delta --rotate > /dev/null 2>&1

    *OR* if no Blog, Gallery, Downloads:
    */15 * * * * /usr/local/bin/indexer --config /usr/sphinx-0.9.8.1/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta calendar_search_delta --rotate > /dev/null 2>&1

    Hope that gets you going....

  4. To create the indexes, you have to run the second cron job manually from an SSH commandline:

    /usr/local/bin/indexer --config /path/to/sphinx.conf --all --rotate

    Adjust your path as necessary, but when you run that the indexes are created if they don't exist.

  5. You added those two new index names to the CRON job, didn't you?

    I did that earlier and it works great now.

    Assuming you have Blog, Downloads, and Gallery installed, this would be the new list for the cron job:

    core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta downloads_search_delta gallery_search_delta calendar_search_delta blog_search_delta

    If Board only, this should be the list:

    core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta calendar_search_delta

  6. I'm seeing something that I believe relates to the changes made in search, and are now reflected in the Sphinx config file.

    The search_delta files in the generated config file for 3.0.2 have different names from those in v3.0.1, and that's not being reflected in the docs page.

    You're listing "forums_search_delta" as one index in the above example docs linked by pollywogs or attached by Matt, but v3.0.2 doesn't use any index by that name.

    We need an updated list of the index names to use.

    EDIT: After looking at the conf file, it appears the "forums_search_delta" has been dropped, and these two are now used:

    forums_search_posts_delta
    forums_search_topics_delta

    I'm adjusting my cron jobs....

  7. In a Shared environment, if the file owner is apache:apache, nobody:nobody, root:root, or any combination of those 3 users, you must have root access to change it.

    SSH, cPanel/DirectAdmin, WHM, whatever, but it must be the root account.

    I had this problem before I got my dedi. And to my Host's credit, he was very prompt in resetting permissions for me when I requested it back then.

    (And once I enabled suPHP, the occasional hiccups with file ownership stopped, as well as relieving me of the need to change certain directories to 777.)


  8. If you need to change your license URL you'll have to contact account assistance.



    Really, you should never need to change it.




    Thank you, Mark.

    As to your last sentence.... Be careful when you say "never". ;)

    I needed to change mine recently due to a new business venture, and Domain, that emerged after I signed up (with an older and now-less-used Domain).
  9. As said, if they have full cPanel access, they can create everything necessary, including an FTP account if they need to.

    You can put a *desired* database name and password if you wish. But keep the names short. (For testing, I just use "ipb" and ipbusr".)

  10. Well.... detailing *ALL* the steps to properly setup a new forum is beyond the scope of a reply here.

    I don't have any links handy that will explain it all, but someone might reply with one.

    If you don't feel comfortable doing it, then let IPS handle it. They'll get it straight.

    Just be patient.

  11. Yes, if you give them your cPanel login they can do the rest.

    You can actually install the software using ONLY the cPanel, since it has an upload feature within its File Manager. I've done this may times in my testing of IPB. You just upload the complete zip files, then unzip on the server (again, within cPanel's File Manager).

  12. It will be done when your ticket comes up in the queue. With the recent release of IPB 3.x, it's been taking a *little* longer than normal. I'd guess sometime Monday, but it could be later.

    If you give IPS complete access to your site (FTP, SSH, cPanel, etc) they they can create the directory or you can do it ahead of time, it really doesn't matter. The folks at IPS are a good bunch and know their stuff. ;)

  13. Got to the forum just now, and couldn't login with the credentials that worked yesterday (username and pass). Even my email and pass wouldn't work.

    But I logged in to Resource and company site with email/pass just fine.

    Ended up using my OpenID login to get in here.

    Is anyone else having this happen?

    EDIT: Good god. Almost ALL my "read topic" markers have been reset to sometime in early July!

    FURTHER EDIT: And a bunch of them have been reset completely. EVERY post is "new" is some forums.

×
×
  • Create New...