isohuntto / openbay

Other
3.53k stars 903 forks source link

404 Shit happens error! #117

Open hayzamjs opened 9 years ago

hayzamjs commented 9 years ago

Hey guys I tired installing the OpenBay on an old computer of mine running Debian wheezy, I get the 404 shit happens error, I followed the following tutorial : https://www.bitforce.io/hacking/howto-openbay-auf-debian-ubuntu-mit-nginx-1-6-2-aufsetzen/ and moreover I at first had the 500 internal server error,I fixed that by changing the "try_files $uri $uri/ /$yii_bootstrap?$args;" line to "try_files $uri/ $uri /index.php?$query_string;" in the openbay.conf file..What should I do now to fix the 404 error?? BTW : 404 comes up when I click on Browse/recent or even try to search something! if someone could fix this then it'll be a great help!

EDIT : I AM NOT USING A LOCAL DB, since I read that it was too problematic..

stivyw commented 9 years ago

Hi, I'm with that problem. I'm not using a local db too.

stivyw commented 9 years ago

//protected/extensions/ESphinxQL/ESphinxQL.php line 292

Yii::app()->sphinx //It print's the 404 page. maybe some "Yii::app()::__get" method exec that. :(

public function search($search) {
    if (is_string($search)) {
        $this->_search = Yii::app()->sphinx->quoteValue($search);
    }
    return $this;
}

TPBT-OFFICIAL commented 9 years ago

It could be that the remote servers from OpenBay may be offline so please just wait some time if its not working then you should try to get your own local DB.

TheChiefCoC commented 9 years ago

the problem is in openbay remote db

hayzamjs commented 9 years ago

Okay, how do I get my own local DB? Is there a tutorial?

LeonardoCiaccio commented 9 years ago

i can see only recent torrents, but on search return '404'

hayzamjs commented 9 years ago

^ Same here now, but wait... There is a Preinstalled VMware image coming soon, i'll keep you updated

ghost commented 9 years ago

I commited some fixes for Sphinx config file, it should fix 404 errors, try it. https://github.com/JohnCock/openbay/blob/patch-1/conf/example-sphinx.conf

hayzamjs commented 9 years ago

Isn't that for local DB JohnCock?

ghost commented 9 years ago

For local and remote, doesn't matter. Just change mysql host/username/pass to yours.

hayzamjs commented 9 years ago

Can you please post a proper tutorial? I've been trying to get this up and running both local and remote DB for the past 6 days..

bernd-stromberg commented 9 years ago

@Fazelesswhite :

You are looking for this > https://github.com/isohuntto/openbay/issues/2#issuecomment-68664166 ?

nexusrain commented 9 years ago

Wont happen if you host the database on your own server. See my guide here: https://www.bitforce.io/hacking/howto-setup-openbay-on-debian-ubuntu-with-nginx-1-6-2/

ghost commented 9 years ago

The remote Sphinx is currently down.

I've tried to automate the install with a Vagrantfile in #135 using the remote MySQL and a local Sphinx. This makes it reproducible and easily testable to confirm that it works before you start fiddling with your own servers.

You can look at the Sphinx setup in #135 (it's just a few short scripts) and do the same on your servers if you have root access.