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

Installing without PostgreSQL #164

Closed
kanedo opened this issue May 29, 2013 · 5 comments
Closed

Installing without PostgreSQL #164

kanedo opened this issue May 29, 2013 · 5 comments

Comments

@kanedo
Copy link

kanedo commented May 29, 2013

Hi,
I'm wondering wether I can use Stringer without PostgreSQL and MySQL instead since my hoster doesn't have PostgreSQL installed.
I changed the adapter in database.yml but it still breaks because of pg sais:

Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database.

Is there any chance to fix this?

@christianschmidt
Copy link
Contributor

If you don't use PostgreSQL you should try removing the PG-related gems from the Gemfile.

@davebradford
Copy link
Contributor

Just a quick comment on this, I'm actually using sqlite3 in production, depending on how many feeds you have you'll probably find it perfectly usable. Plus a lot easier to setup if your host has limitations.

@swanson
Copy link
Collaborator

swanson commented Jun 9, 2013

Just be aware that sqlite does not handle concurrent connections well - and since we use a 10-thread pool for fetching feeds you will likely run into SQLite3::BusyException.

@kanedo
Copy link
Author

kanedo commented Jun 9, 2013

Hi,
I now use sqlite but now I have the problem, that I run into a redirection-loop. It redirects me to /setup/password which is, I think, intended but it doesn't stop. Did I forgot something? Here is a part of what it prints out:

11:25:26 web.1     | 89.0.40.224, 89.0.40.224 - - [09/Jun/2013 11:25:26] "GET / HTTP/1.1" 302 - 0.0033
11:25:26 web.1     | D, [2013-06-09T11:25:26.371316 #17383] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | D, [2013-06-09T11:25:26.371847 #17383] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | 89.0.40.224, 89.0.40.224 - - [09/Jun/2013 11:25:26] "GET / HTTP/1.1" 302 - 0.0032
11:25:26 web.1     | D, [2013-06-09T11:25:26.441669 #17383] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | D, [2013-06-09T11:25:26.442323 #17383] DEBUG -- :    (0.2ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | 89.0.40.224, 89.0.40.224 - - [09/Jun/2013 11:25:26] "GET / HTTP/1.1" 302 - 0.0032
11:25:26 web.1     | D, [2013-06-09T11:25:26.513565 #17383] DEBUG -- :    (0.2ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | D, [2013-06-09T11:25:26.514497 #17383] DEBUG -- :    (0.2ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | 89.0.40.224, 89.0.40.224 - - [09/Jun/2013 11:25:26] "GET / HTTP/1.1" 302 - 0.0049
11:25:26 web.1     | D, [2013-06-09T11:25:26.585877 #17383] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | D, [2013-06-09T11:25:26.586533 #17383] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | 89.0.40.224, 89.0.40.224 - - [09/Jun/2013 11:25:26] "GET / HTTP/1.1" 302 - 0.0036
11:25:26 web.1     | D, [2013-06-09T11:25:26.818104 #17407] DEBUG -- :    (26.1ms)  SELECT COUNT(*) FROM "users" 
11:25:26 web.1     | D, [2013-06-09T11:25:26.819271 #17407] DEBUG -- :    (0.1ms)  SELECT COUNT(*) FROM "users" 

@swanson
Copy link
Collaborator

swanson commented Aug 21, 2013

Closing since Stringer now uses PG in all environments.

@swanson swanson closed this as completed Aug 21, 2013
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

4 participants