Sunday, January 13, 2008

SERVAGE HOSTING STOPS UNIQUE RESELLER PROGRAM

We just received this in a Mail from Adam (Servage Hosting):

Jan 13 - 09:08 GMT
Servage - Adam

Hello Andreas,

Thanks for the update.

Unfortunately we have to inform you that the reseller program is to be discontinued. Therefore we ask you not to create new customer accounts.

At this point we do not have any further information. Therefore we must kindly ask you to have a little more patience until an official statement has been released.

You will be informed per email as soon as more detailed information is available.

....

Have a nice day,

Kind regards,
Adam, Support -support
Servage Hosting

In other words it seems lots and lots of Servage Customers and also all SUB-Customers seem to loose their Hosting Space or would need to pay extra for it.

Jan 13 - 09:33 GMT
Customer

As you don't ask the question about the lost domains and about the outsourced Servage Support Team we assume that the people who posted it were absolutly right. I am sorry about that and hoped that you would answer all questions.

If you discontinue the reseller program which made it possible for Servage Customers to Resell their Account to unlimited other Customers - what will happen to all those customers.
Do they have to pay now an own Servage Account?
Will you delete all Sub-Customer Sites?
How will you control what is a Sub-Customer and what is a Customer Site?
I know lots and lots of Servage Customers who host lots and lots of Sub-Customers on their sites, so what will happen to all those? A very important question.
Customers are even asking us which customer we could recommend for Reselling as many of them don't need such big webspace for themselves, they are trying to share it with others to reduce costs? Also your Reseller Program was a very unique feature which brought you lots customers in the last years.
Will then all contracts be changed without further notice or are only NEW contracts have to fear this loss of Reseller Program and all old ones stay like they were before.

Andi

Some more Questions concerning Servage Hosting

Jan 13 - 02:37 GMT
Customer

There are some more questions we would like to ask Servage:
From which country is your Support opperating?
Why aren't you offering GERMAN / DEUTSCHER Support even you are a German Company?
Why differ the response time between new and follow up ticket so much?
Why is Servage working in most of the issues with prepared answering templates?
It often seems that the english knowlegde of servage support isn't so good that they really understand the issues of customers, why, what are you doing to improve this - i.e. ESL Courses?
What qualifications does Servage Support Members have?

We are evaluating future hosting partners and companies we are interested in to promote. In the last month you changed from a more or less chaos support to a much better one, but still there are a lot of glitches we wanna fix before recommending you our valuable customers globally with a good feeling.

Thanks a lot for your answers.
Andi

Jan 13 - 03:10 GMT
Servage - Adam

Hello Andreas,

Thanks for writing in.

>>Our clustered servers are physically located in our own top datacenter in norhtern Germany with more than 120 direct peering including (WorldCom, Level3 & GlobalCrossing), ensuring ultra fast connectivity to any country – world wide.

Apart from the excellent electronic infrastructure Germany is a seismic inactive area. Unlike many smaller companies we own all our equipment and our own techs are standing by 24/7 incase a problem should arise.

>>We do have support in English only as it is globally understood.

>>It seems that many of our clients do place duplicate tickets regarding the same issue that is the reason there is a delay in response time for the ticket's.

>>We have a standard format for the replie's we give to our customer's, so it seems that the answers are prepared but the are not, just that they are in a specific format.

Please contact us if you have any further queries.

Have a nice day :o)


Kind regards,
Adam, Support -support
Servage Hosting

Jan 13 - 08:08 GMT
Customer

Hi Adam

Thanks for your response. Could you please also answer the rest of the questions. Thanks. We heard that your support is operating from an easter Europe country like many other software centers do meanwhile. OK some of them also operate from India where English is much better then from eastern Europe. Never mind.

Why doesn't Servage offer Third Party Application support. Most problems arising are normally caused while working with a third Party product. Is there any reason why you never tried to offer i.e. support for CMS's or Forums or other common applications?

Thanks for taking time to answer our questions
Andi

Jan 13 - 08:13 GMT
Servage - Adam

Hello Andreas,

Thanks for the update.

We do support third party software on our server's but only if the server requirement's of the software meet our server's, if the server's requirements matches with our then you can install third part software at your end.

Please contact us if you have any further queries.


Kind regards,
Adam, Support -support
Servage Hosting

Jan 13 - 08:21 GMT
Customer

Hi Adam

Yes of course you support Third Party Software but I meant the Servage Support won't help you if you got problems with a Third Party Product, even it has been installed direct using a Servage Script.

i.e. You install TYPO3 or Drupal or Wordpress or even Joomla and usually problems just occure while you are working with those applications. After answering Servage Support you often got the answer back, that Servage is not supporting Third Party Products thru their Support.

Result: People - especially those who ae just starting to run their own CMS ... get lost in a jungle of - Oh sorry - please look somewhere else for somebody to help you. Why is it like this a Servage and why aren't you simply providing also Help-Support for those wonderful Applications? I guess a lot of customers would be very interested at such a Service and even would pay for it an additional yearly "support member" fee i.e. 20€ for free support/year to name an idea! If this would not be enough to cover your expenses please name another figure so we have an idea about it.

Andi

Jan 13 - 08:25 GMT
Servage - Adam

Hello Andreas,

Thanks for the update.

We do provide support with third party application's but there are any scripting issues with it then we unfortunately do not provide support for scripting issues for that you need to contact your webdeveloper or who has developed the software.

Please contact us if you have any further queries.

Kind regards,
Adam, Support -support
Servage Hosting
Jan 13 - 09:04 GMT
Customer
Hi Adam

Yes of course you support Third Party Software but I meant the Servage Support won't help you if you got problems with a Third Party Product, even it has been installed direct using a Servage Script.

i.e. You install TYPO3 or Drupal or Wordpress or even Joomla and usually problems just occure while you are working with those applications. After answering Servage Support you often got the answer back, that Servage is not supporting Third Party Products thru their Support.

Result: People - especially those who ae just starting to run their own CMS ... get lost in a jungle of - Oh sorry - please look somewhere else for somebody to help you. Why is it like this a Servage and why aren't you simply providing also Help-Support for those wonderful Applications? I guess a lot of customers would be very interested at such a Service and even would pay for it an additional yearly "support member" fee i.e. 20€ for free support/year to name an idea! If this would not be enough to cover your expenses please name another figure so we have an idea about it.

Another Point we just found:

Why did Servage loose over 1200 Domains last year December 10th - what happened - can this happen again???
December 17, 2007 70453 domains + 443 domains
December 10, 2007 70010 domains -1265 domains
http://servage.net.web-hosting-top.com/web-hosting/web-hosting-top.servage.net-reviews
Why do people write:
It is a great service, but I do warn you. People(I know several) have be disappointed by the host and I am 1 of those!
see also here to read more about Servage:
http://hostjury.com/reviews/Servage
Is this really true what they are writing here. Really doesn't sound good for Servage! What have you changed since?

Second Question:
we found this:
http://imarkhosting.com/testimonials.html
What is actually a Servage Netagent? Is it a Reseller. Are you allowed to resell Servage Space on your Accounts or how does it work?

As it seems, you are increasing your staff at the moment:
http://jobs.trovit.de/jobs/just-english
Will this result also in better support and even better hosting solutions like clustered-dedicated-server environments including ssh and more?

Andi




Jan 13 - 09:08 GMT
Servage - Adam

Hello Andreas,

Thanks for the update.

Unfortunately we have to inform you that the reseller program is to be discontinued. Therefore we ask you not to create new customer accounts.

At this point we do not have any further information. Therefore we must kindly ask you to have a little more patience until an official statement has been released.

You will be informed per email as soon as more detailed information is available.

We do not allow Telnet/SSH access to our systems for security reasons. However our techs will be more than happy execute commands for you on request.

Have a nice day,

Kind regards,
Adam, Support -support
Servage Hosting



How to speed up your Servage Hosting Tickets

Looking back to those many posts there is a good solution: CLOSE your Tickets and create the same one NEW!

We really found out that Servage is responding to new tickets in average about 5 min-1 hour - but even a second response often makes you waiting for days. I guess it is some kind of Servage policy but also could be a real problem in the ticketing system they are using.

New Tickets get posted perhaps on Top and Followup tickets just behind those new tickets. As a result you won't get an answer fast if you have a follow up ticket.

Another problem could be, that the support might get paid by NEW tickets. Especially hotlines in low budget countries often face similar problems. The idea behind all this is to get a higher quality and faster solution for customers. The downside is - especially if a hotline hasn't got enough personal and is working like Servage only with VIRTUAL personal (i.e. many names for one person ;-), then follow ups get stuck in nowhere.

There are some more questions we will ask Servage:
From which country is your Support opperating?
Why aren't you offering GERMAN / DEUTSCHER Support even you are a German Company?
Why differ the response time between new and follow up ticket so much?
Why is Servage working in most of the issues with prepared answering templates?
It often seems that the english knowlegde of servage support isn't so good that they really understand the issues of customers, why, what are you doing to improve this - i.e. ESL Courses?
What qualifications does Servage Support Members have?

We are just checking this with several other servage accounts and find a good parallel here. In the following days we will try to find a solution for this problem and hopefully Servage is interested to be the best Hoster and supports our ideas.

SERVAGE HOSTING - Number ONE Hoster?

Even I complaint at the beginning much about Servage Hosting, it seems as they have read some posts in this blog and changed their support a bit. As you can obviously see, there weren't many issues since they installed ruby gems - which was actually causing most of the problems.

Since 2 days I am now running on newest versions of RUBY 1.8.6, Rails 2.0.2 and everything works fine and fast. They have changed me to another cluster. Only one application doesn't seem to be working - it's a simple hello world application a friend who also hosts on the same cluster ;-) has written. We are still waiting for a solution from servage. Let's see! and wait!

Ruby on Rails Application don't starts

Jan 12 - 17:47 GMT
Customer

Hi http://tst001.t3pack.info/ is a simple helloworld test page but it doesn't start after the move. Any ideas?
Thanks

It is in folder

0test/tst001

Jan 12 - 18:30 GMT
Servage - Julie

Hello Andreas,


Thanks for submitting the ticket. I could not find any error at http://tst001.t3pack.info/. May I know what exactly the issue is at the test page? Kindly explain little more.

Thank you :)

Kind regards,
Julie, Support Team Member
Servage Hosting

Jan 13 - 02:04 GMT
Customer

Of course tst001.t3pack.info is not the starting directory for a ruby installation. The starting directory of a ruby ionstallation is always "public"

So if you go to:
http://www.t3log.info/public you will see an application error while the same application is running on our local system and meanwhile even uses same settings like http://redmin.t3pack.info, http://www.t3log.inf, http://biblio.t3pack.info which are all running fine.

Any idea?

Andi

Jan 13 - 22:45 GMT
Servage - Julie

Hello Andreas,


The public folder is with in the website http://www.t3log.info/public the document root is set as 1_redmine/public/

The error what is showing is no route found to match "/public" with {:method=>:get}

so obviously its not available when you separately typing http://www.t3log.info/public

Thank you.

Kind regards,
Julie, Support Team Member
Servage Hosting

Jan 14 - 05:25 GMT
Customer

URGENT:

WORKING APPLICATION YESTERDAY DOESN'T SHOW ANY CSS TODAY!!!
Please check immediately.
http://www.t3log.info

Jan 14 - 05:26 GMT
Customer

UPDATE:
It is also so slow, that you could drink 1 cup coffee until a new page gets loaded!!!
Post hasn't been answered at all in a certain amount of time so we closed the ticket and create a new issue

Friday, January 11, 2008

Ruby 1.8.6 - 26 Final Realease - Rails 2.0.2 at Servage Hosting

Jan 11 - 09:21 GMT
Customer

Hi Servage - when will you update to the newest Versions? as we heard from other Servage's that you already updated some accounts to 1.8.6-26 and 2.0.2
Thanks a lot
Andi

Jan 11 - 09:23 GMT
Servage - Scott

Hello Andreas,

Thank you for submitting a ticket. We can offer to move your account to our newest cluster if you would like that. If yes, kindly advice us by updating this ticket.

Please note your web site may be inaccessable up to 24 hours after the move. Please confirm that you want your account moved. We are looking forward hearing from you :o)


Kind regards,
Scott, Support
Servage Hosting

Jan 11 - 09:44 GMT
Customer

Hi Scott

Thanks

Please move the account I have finished what I needed to do for the next 24 hours (hopefully it does not take longer - and also hopefully it is a FAST cluster too!) I am running:
ruby on rails:
redmine
typo
geeko
... more to follow

php:
typo3 (needs image Magick , php5, mysql5 all newest versions! as we are preparing for the big move to TYPO3 4.2)
vtiger
magento
lifetype
... more to follow

Thanks a lot

Andi

Jan 11 - 10:03 GMT
Servage - Scott

Hello Andreas,

Your account is currently being moved to a new cluster. Unfortunately your account may be offline for up to 24 hours as the DNS need to propagate throughout the Internet.

We will automatically make the required DNS changes on our name servers. Should you for some reason not use our DNS or use static paths in your scripts these are the new settings:

IP: 77......
Homedir: /home84a/sub002/.....

I hope this resolved your problems.


Kind regards,
Scott, Support
Servage Hosting

Monday, January 7, 2008

SERVER VERY VERY SLOW often errors

Jan 07 - 09:34 GMT
Customer

URGENT

http://www.t3log.info

is again very very slow and customers are complaining that they are getting Internal Errors and Application not found even in Germany. Please change your settings so that it is running fast again.

General also phpmyadmin loaded very very slow. from Thailand or from Germany - in other words it doesn't matter where you are so it is a problem in your servers again

---------------------------------------------
Problem URL:
http://www.t3log.info
---------------------------------------------

Jan 07 - 09:36 GMT
Support - John

Hello Andreas,

I have checked and found that the site is loading reasonably fine. If you still having the same problem then please let us know the DB used in the site so that we can review it further.


Kind regards,
John, Servage - Support
Servage Hosting

Jan 07 - 10:11 GMT
Customer

Still the same problems

Server: mysql10...
Database: rmt3...
Username: rmt3...


Thats the redmine Database

Jan 07 - 10:19 GMT
Support - John

Hello Andreas,

I have recycled the DB and now your site is loading fine. I have checked it from different location and found to be fine.


Kind regards,
John, Servage - Support
Servage Hosting

Ruby on Rails - very very very very SLOOOOW

Jan 07 - 00:54 GMT
Customer

Hi
Ruby on Rails Applications start very very sssllllooowww and sometimes the simply give Application error, or Internal Error 500. We have nothing changed on our Application, so it is an issue somewhere else as it was working perfectly before.

Other Applications like TYPO3, Lifetype start faster but also much slower than before.

Could you please check
Thanks

Jan 07 - 00:54 GMT
Customer

i.e. http://www.t3log.info
http://www.t3log.com

Jan 07 - 01:37 GMT
Servage - Adam

Hello Andreas,

Thanks for the update.

We have checked your issue and have made some necessary corrective chnages on your account and it seems that your websites are working just fine now.

Kindly check and confirm the same and update us if you have any further queries.

Kind regards,
Adam, Support -support
Servage Hosting

Jan 07 - 08:24 GMT
Customer

URGENT

http://www.t3log.info

is again very very slow and customers are complaining that they are getting Internal Errors and Application not found even in Germany. Please change your settings so that it is running fast again.

General also phpmyadmin loaded very very slow. from Thailand or from Germany - in other words it doesn't matter where you are so it is a problem in your servers again

Sunday, January 6, 2008

SVN on Servage Hosting

Jan 06 - 16:05 GMT
Customer

Would it be possible and if yes HOW - to run SUBVERSION or another SCM on Servage Hosting?

Jan 06 - 16:09 GMT
Servage - Scott

Hello Andreas,

I am sorry to say that you cannot use subversion in your account.

Thank you! :)

Kind regards,
Scott, Support
Servage Hosting

Jan 06 - 16:13 GMT
Customer

No problem, so we need to create an external svn account, that's all we need to know

Internal Server Errors. Application Errors

Jan 06 - 16:03 GMT
Customer

Hi Servage

Ruby on Rails was working fine until about 2 hours ago, since then we are having major problems and receiving often those mentioned errors. The suddenly the application is working again fine and even suddenly again it is gone a moment later very irregular bu quite often. http://www.t3log.info
could you please check your servers. Thanks

Jan 06 - 16:14 GMT
Servage - Peter

Hello Andreas,

Thank you for submitting the ticket.

This is to inform you that the site http://www.t3log.info is working fine. I suggest you to please do check at your end. There seems to be4 no error on the site.

Kind regards,
Peter, Servage - Support
Servage Hosting

Jan 06 - 16:18 GMT
Customer

Thanks Peter, I will use the Trace next time the error appears

Thursday, January 3, 2008

Ruby Gems not loaded on SERVAGE HOSTING

Jan 03 - 12:42 GMT
Customer

gem list
/usr/bin/gem:9:in `require': no such file to load -- rubygems (LoadError) from /usr/bin/gem:9

It seems like you don't have ruby gems loaded and therfor also fcgi won't work

Jan 03 - 12:52 GMT
Customer


I JUST asked some PROFIS in the Rubyforge Forum and here their answer:

Stunned.

Now I am wondering why Redmine (and any rails app) works there even by cgi.

I think that this you need to solve via support. Ask them about gem list and whether rails app will work via fcgi at all...
--------------------------
My Reply:
--------------------------
That's what I have just done. It seems that No GEMS at all are available. But why is cgi working? - Perhaps a hidden GEM ;-) alibi GEM (like we provide Ruby on Rails Hosting at Servage :-)
--------------------------
Check it our here:
http://rubyforge.org/forum/forum.php?thread_id=20474&forum_id=7505
--------------------------
You better solve this Problem as fast as possible and Install or Reinstall all GEMS

Thanks

Jan 03 - 12:56 GMT
Customer

You are advertising a working RUBY on RAILS Surrounding and it seems that it isn't at all working in fcgi Mode. But Thru your FAQ you make People believe you have fcgi working with RoR. I would call this NOT GOOD and I am pretty sure that German Judges would think the same way!!! Because of this we already lost 3 WEEKS!!!
So Hurry up and install a PROPER RoR Surrounding TODAY - IMMEDIATELY and think about how you can get this "ERROR" for us also solved in a KULANZ (ask Steffan your sysadmin he knows what I mean) way. Time is Money and we lost 3 WEEKS TIME!

Jan 03 - 13:15 GMT
Customer


If you don't know how to Contact your Business Owner have a look here for Steffan and Servage Hosting GmbH
http://apapococ.blogspot.com/2007/12/please-inform-owner-your-boss-about.html

Jan 03 - 15:45 GMT
Servage - Rick

Hello Andreas,

Thank you for submitting ticket.

We have forwarded your issue to our admin, they will get back to you with solution.


Kind regards,
Rick, Servage - Support
Servage Hosting

Jan 04 - 05:07 GMT
Customer

Thanks a lot. since fcgi is working the pages really "hurry up" and are pretty fast on Servage Hosting - WOW now you are heading upwards :-)

FCGI at SERVAGE HOSTING is not working anymore

Jan 03 - 12:11 GMT
Customer

http://redmine.t3pack.info
here the .htaccess
------------------------------
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler fcgid-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

RewriteEngine On

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

ErrorDocument 500 "

Application error

Rails application failed to start properly"
-------------------------
here dispatch.fcgi:
-------------------------
#!/usr/bin/ruby

require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

RailsFCGIHandler.process!
-------------------------

With the cgi enabled instead the fcgi the page is working perfectly but very very slow!
-------------------------
here the dispatch.cgi
-------------------------
#!/usr/bin/ruby

require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)

require "dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch
--------------------------
The page http://www.t3log.info - is working in cgi mode (Production Site)
The page http://redmine.t3pack.info - is working in fcgi mode (Test Site) Please try to get THIS Site working and then we can copy the settings to the Production site. Thanks!

Jan 03 - 12:13 GMT
Servage - Scott

Hello Andreas,

Forwarding ticket to admin.

Kind regards,
Scott, Support
Servage Hosting

Jan 03 - 12:14 GMT
Servage - Scott

Forwarding support ticket to [Servage - Jan]

Jan 03 - 12:43 GMT
Customer

scott we are a bit further as it seems that RUBY Gems isn't get loaded at Servage Hosting - see other Ticket according Ruby Gems.

Jan 03 - 17:35 GMT
Servage - Jan

Hello Andreas,

thanks for your ticket,
I we had some Ruby issues on the cluster your account is served by today due to a RUBY update last night in preparation of an upcomming Rails update.
I have just fixed that Ruby issue.
Additionally the MySQL password in the config/databaseyml file was wrong so I fixed this too.
We are very for any inconvenience this caused.


Kind regards,
Jan, System Administrator
Servage Hosting

Jan 04 - 05:09 GMT
Customer

It is really bad that it took our whole Christmas Time to solve this problem, but now the pages really speed up using fcgi. Thanks a lot! Now can start talking about cooperation and promotion! :-)

SENDING EMAIL FROM RUBY APPLICATION ON SERVAGE HOSTING

Jan 03 - 03:32 GMT
Customer

We are receiving this error while sending email notifications from redmine (or any other ruby application)
------------
An error occurred while sending mail (Connection refused - connect(2))
------------
this meesage differs from application to application of course but is caused by the same error.

we have created an Email Address in your control panel for those notification mails.
----------------
YOU FAQ SAYS:
----------------
Error 'Sender address rejected: Access denied'

When using our SMTP server this error indicates that the address you use as sender address is not registered on your Servage account. E.g. when using sending mail from user@example.com it is important that the sender address user@example.com is an account on our servers.
----------------
As we have created noreply-red(at)t3log.info and it is existing on your account it should work ;-)

================
How to create a new e-mail account?

Here is a guide how to create a new e-mail account:

Please click on the "E-mail Accounts" tab in the left menu in the control panel. Please select the domain name you would like to create an e-mail account for and click on the "Create New Mail Account" tab in the left menu. Please fill out the form and click on the "create account" button.

Now all your login details will appear. You are able to access this site with the account details at any time via the control panel ("E-mail Accounts" please click on the "Existing E-Mail Accounts" tab).
=========================
That is exactly what we have done

-------------------------

Jan 03 - 05:39 GMT
Servage - Victor

Hello Andreas,

Please provide us the folder and file where you have uploaded the mail code to send mails via the smtp that we can check further.


Kind regards,
Victor, Servage Support
Servage Hosting

Jan 03 - 05:43 GMT
Customer

1_redmine is the ruby installation

Jan 03 - 05:51 GMT
Customer

SORRY BUT WHAT ARE YOU DOING

OUR REDMINE IS COMPLETLY GONE!!!
We are in the middle of a important Customer Project - so please put it back IMMEDIATELY. http://www.t3log.info

Jan 03 - 05:56 GMT
Servage - Victor

Hello Andreas,

We havenot made any changes in your account.
Please check your files/folders in the directory:
/1_redmine/public.


Kind regards,
Victor, Servage Support
Servage Hosting

Jan 03 - 06:12 GMT
Customer

U R G E N T S I T E I S D O W N - WE are in the middle of a big confernece!!!

Jan 03 - 06:20 GMT
Customer

OK it's back but please be more casreful in future! Thanks

And now try to solve the mailing Problem without getting the site down

Jan 03 - 07:51 GMT
Customer

OK we have setup a test account to test REDMINE on SERVAGE

http://redmine.t3pack.info

If you call
http://redmine.t3pack.info Redmine shows up

If you call
http://redmine.t3pack.info/ You get a list of files showing up

WHY what is going on here on Servage

None of the Subpages gets directed.
In the original Site ALL subpages get directed
http://www.t3log.info

WHY

Jan 03 - 07:58 GMT
Customer

Hi Now all connections are working fine, but still cgi. We can test now here the EMAIL Functionality without disturbing the production site Thanks

Jan 03 - 08:04 GMT
Customer

Sorry but now all Subpages are gone again

What is going up at SERVAGE HOSTING

Jan 03 - 08:08 GMT
Customer

OK it is back again

Why is it so unstable???

Jan 03 - 08:09 GMT
Customer

Yeah just I wrote its OK
and they are GONE now again

Can't you fix this constantly

Jan 03 - 11:50 GMT
Customer

Page is working again but still no response to the email problem therfore this ticket will be closed unsatisfied and published.

REDMINE - Mysql::Error in AccountController#register

#28000Access denied for user 'redminedevelopdb'@'10.6.46.2'
(using password: YES)

SOLUTION:

=========
Check your Database Entries in database.yml -
usually the mentioned database has got the wrong password
Change it to the right one :-)

REDMINE - Errno::ENOENT in WelcomeController#index

No such file or directory - /tmp/mysql.sock
TRIAL 1
=======
In database.yml you delete all database entries beside your production site:
RESULT:
The page will be blank!

TRIAL 2
=======
Adding "socket: /tmp/mysql.sock" to database.yml (production)
RESULT:
No change

Trial 1 + Trial 2
=============
RESULT:

Application error

Rails application failed to start properly
Putting back all other database entries into database.yml (Redo TRIAL 1)
RESULT:
Same Error as at the beginning shows up

>> It seems to do something with the database entries

TRIAL 3
=======
Putting Password in database.yml in "password" with " "
RESULT:
No changes at all

TRIAL 4
======
Entering Data for dev database in database.yml
RESULT:
The complete REDMINE site shows up perfectly

TRIAL5
======
Deleting "socket: /tmp/mysql.sock" to database.yml (production)
RESULT:
The Pages still show up perfectly

------------------------------------------
FINAL RESULT
------------------------------------------
It seems like REDMINE needs at least 2 databases assigned.
The passwords and connection entries in each database are completly different
- different connection settings "mysql_***" as on servage you are using no localhost
- different databases
- same or different passwords (both working)

REDMINE Owner/Permissions on Servage Hosting

Permission denied ...
this error message appears often on Servage Hosting Spaces. You can solve the problem in setting the right owner/permission. Try to avoid 777 - instead you should use "webserver" as owner.

The following folders need to be set to "webserver"
  1. files (otherwise you can't upload files)
  2. log
  3. tmp
If you receive this:
  1. Errno::EACCES in ProjectsController#add_document
    then your files folder is not set to "webserver"

FCGI is still not working at SERVAGE HOSTING

Jan 02 - 16:01 GMT
Customer

Hi Servage.
Meanwhile since a day we are waiting for a clear solution ho you will get your fcgi up and running. It is still not working. WE would like to change from cgi to fcgi as sid in you wiki, but we can't as you still haven't solved the fcgi problem since this morning.

i.e. http://www.t3log.info is running in cgi as fcgi will simply output textfiles instead of processing them You better check this.

Jan 02 - 17:31 GMT
Servage - Steven

Hello Andreas,

Thanks for submitting the ticket.

Can you please let us know the link for fcgi for the domain t3log.info? So, that we can check this for you. All I have checked that fcgi is enabled on the server you are on.

Hope this helps!

Kind regards,
Steven, Support
Servage Hosting
Jan 03 - 01:56 GMT
Customer



I have already written 2 times the link but after submitting we didn't got any answers back for days!!!.
Check your FAQ as it is written down there!
I guess you should know where your fcgi is placed and actually it should be enabled on ALL clusters you are offering as you advertise full fcgi support not only for several clusters.

It seems like your support again has no idea about what they are doing. That is so sad for Servage to have such a poor support.

Simply go to t3log.info

then you see that the domain points to 1_redmine
now check this folder 1_redmine
here you will find the rakefile like in all ruby installations and lots of subfolders like in all ruby installations. Here you ALWAYS need to check the PUBLIC folder (it is again the same in all ruby installations) and inside this public folder you will find the .htaccess and the dispatch.cgi and dispatch.fcgi and dispatch.rb files.

Usually you don't need to change these files and they are also the same in all ruby installations.

the code is like this (simply compare it with your FAQ):
===================================
.htaccess
-----------------------------------
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

# If you don't want Rails to look in certain directories,
# use the following rewrite rules so that Apache won't rewrite certain requests
#
# Example:
# RewriteCond %{REQUEST_URI} ^/notrails.*
# RewriteRule .* - [L]

# Redirect all requests not available on the filesystem to Rails
# By default the cgi dispatcher is used which is very slow
#
# For better performance replace the dispatcher with the fastcgi one
#
# Example:
# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
RewriteEngine On

# If your Rails application is accessed via an Alias directive,
# then you MUST also set the RewriteBase in this htaccess file.
#
# Example:
# Alias /myrailsapp /path/to/myrailsapp/public
# RewriteBase /myrailsapp

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
#RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

# In case Rails experiences terminal errors
# Instead of displaying this message you can supply a file here which will be rendered instead
#
# Example:
# ErrorDocument 500 /500.html

ErrorDocument 500 "

Application error

Rails application failed to start properly"
=====================================
As you can see we had to DISABLE fcgi to get redmine working
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
#RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

if you change the # to the cgi rewrite the dispatch.fcgi won't get parsed at all and it will appear as textfile in your browser!
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

perhaps your fcgi isn't installed perfectly.

=====================================
dispatch.cgi
-------------------------------------
#!/usr/bin/ruby

require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)

# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch
==================================

==================================
dispatch.fcgi
----------------------------------
#!/usr/bin/ruby

#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off). A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
# # Default log path, normal GC behavior.
# RailsFCGIHandler.process!
#
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/redmine_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

RailsFCGIHandler.process!
===================================

All those files have been posted already quite often ;-)

I hope to get a resonse very soon, as we need this trouble ticket solved before we can open another one. Thanks Andi!

Jan 03 - 02:01 GMT
Customer

you will find these files here:
Current path: /1_redmine/public
Jan 03 - 02:19 GMT
Customer

biblio.t3pack.info - also a basic RoR Application for testing isn't working with fcgi either. It also works at the moment only with cgi:
Here its files
Current path: /www/RoR_biblio/public

=====================================
.htaccess
-------------------------------------
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

RewriteEngine On

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

ErrorDocument 500 "

Application error

Rails application failed to start properly"
======================================
It is actually the same like on t3log.info ;-) but here I enabled fcgi instead of cgi so you can see what happens if you enable fcgi. OUR t3log.info site is in PRODUCTION so I can't demonstrate it here!!!

======================================
dispatch.fcgi
--------------------------------------
#!/usr/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off). A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
# # Default log path, normal GC behavior.
# RailsFCGIHandler.process!
#
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

RailsFCGIHandler.process!
-------------------------------------

You can also check: biblio.t3pack.info to read the fcgi as it gets displayed on the screen instead getting parsed ;-)

Jan 03 - 07:52 GMT
Customer

HI we are waiting since hours for a soultion of the FCGI Problem and an answer from you!!!

Jan 03 - 11:49 GMT
Customer

Waiting since over 12 Hours for a response so we need to close this ticket as unsatisfied in all cases. > will be published again like usual


Wednesday, January 2, 2008

FCGI NOT WORKING ON SERVAGE HOSTING

Jan 02 - 08:41 GMT
Customer

When we activate fcgi in our .htaccess like given in your FAQ Examples then the sites won't work anymore.

Jan 02 - 08:47 GMT
Support - Mark

Hello Andreas,

Please provide us the exact URL and the error you are facing problem. In order to further investigate and assist you in a better way.


Kind regards,
Mark, Servage - Support
Servage Hosting

Jan 02 - 08:59 GMT
Customer

The site is meanwhile in production but only cgi and very slow as we were waiting ti get this problem solved since over 2 WEEKS

Please read the previous posts.
http://apapococ.blogspot.com/
search simply for ruby and rails problems at servage and you get them all ;-)

It is affecting EACH domain running an RoR.

i.e. http://www.t3log.info (That's the one in production since today running in cgi and it is Very very slow)

http://typo.t3pack.info
http://redmine.t3pack.info
http://helloworld.t3pack.info
http://biblio.t3pack.info - also running on cgi as fcgi is not working!

more will follow

TEAM 3 is ready for Redmine

We are proud to announce Redmine running on Servage Hosting. Redmine is a state of the art Project Management Tool which offers you lots of features. TEAM 3 will help you to set it up on Servage Hosting Accounts and any other Account. Contact us now!

Ruby on Rails fcgi - fastcgi NOT WORKING AT SERVAGE HOSTING

Jan 01 - 17:58 GMT
Customer
Hi it seems like your fcgi or fastcgi isn't working properly:

Try here: http://biblio.t3pack.org

It shows you a working Ruby on Rails Application.
Switching to fcgi/fastcgi will cause that the dispatch.fcgi won't get parsed. It will show up as text!!!

You can test tis when you change in www/biblio/.htaccess
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
#RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

to

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
-----------------------------------------

Line 32/33 .htaccess
--------------------
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

will display the ruby and rails application "biblio" and you can edit save ... with no problem

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
#RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

will display a text file (dispatch.fcgi)
-------------------------------------
#!/usr/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off). A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
# # Default log path, normal GC behavior.
# RailsFCGIHandler.process!
#
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

RailsFCGIHandler.process!
------------------------------------

in comparison dispatch.cgi looks like this:
------------------------------------
#!/usr/bin/ruby

require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)

# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch
------------------------------
NOTE: I switched to cgi mode in .htaccess
as fcgi isn't working at all.
------------------------------
==============================
Could you please check why fcgi isn't working and let's dispatch.fcgi not parsed and upshowing as text file? Thanks!

Please Check all Ruby on Rails applications we tested with the same problem. None of them is working in fcgi mode

http://www.t3log.info (/1_redmine - REDMINE)
http://typo.t3pack.info (/www/TYPO_rails - TYPO - Typosphere)
http://biblio.t3pack.info (/www/biblio - Test Case to locate the problem why no ror is working on servage hosting)


Jan 01 - 18:21 GMT
Customer

Hi Servage
YIPPI It is working but only with CGI!!

So please check fcgi - somethings seems to be wrong here in your server configuration:

I got Redmine Working using cgi instead of fcgi.
I copied the settings from our biblio example to redmine
.htaccess
dispatch.cgi
dispatch.fcgi

Then it was working

In other words something seems to be wrong with your fcgi and this was holding us up now since over 2 weeks!!! and delayed our progress a lot!

I hope you can fix the fcgi problem in the next 8 hours (our night here - but your day!) We will check tomorrow as like you write in your faq fcgi is 10times faster then cgi

CU Andi

Jan 02 - 03:52 GMT
Customer

ANY NEWS on the FCGI Front as ruby on rails is still not working with fcgi on SERVAGE HOSTING and therefore pretty slow

HOW TO MAKE SERVAGE HOSTING PERFECT?

Difficult Question as the first thing which needs realy to be changes is the SUPPORT at all. Fire all of them and try to work together with a professional SUPPORT CENTER > OUTSOURCE these activities to profis if you don't have own ones available. The one SERVAGE HOSTING has at the moment is not at all acceptable!
--------------------------------
But this will be another Thread:
We will list here some small things which would make life at SERVAGE HOSTING much easier:
--------------------------------
THE FILEMANAGER
  1. Insert a reload bottom into your filemanager
  2. Add a ZIP/TarGZ Functionality to the filemanager to pack folders and files (i.e. for backup)
  3. Add a COPY and PASTE functionality to the filemanager
THE WEB SERVERS
  1. The Virtual Hosts of xyz are not sorted which makes managing very difficult if you have a TEST website i.e. with 100 of sub domains. They should be sorted 0-9-A-Z
  2. Creating a subdomain is fast but it won't be active for hours / perhaps even days!!! this is incredible for any production, test or development site
MYSQL DATABASES
  1. All Databases should be sorted in a list 0-9-a-z in all views!
  2. The standard collation should be set to utf-8-unicode-ci instead the now existing latin-swedish-ci
    Until now you always need to switch to phpmyadmin before inserting any data into your databases to switch them to utf-8 otherweise they are latin1
    Actually it would be OK to have this process:
    1. Create a new database
    2. Add a field which asks for the collation utf8-unicode-ci
    3. execute the sql querie to achieve the utf-8 settings
    Then no additional accessing of phpmyadmin would be necessary
AUTOINSTALLER
  1. Drupal is running only on MYSQL 4 Mode
  2. Joomla is running only on MYSQL 4 Mode

This post will be continued and updated - so stay tuned!

Tuesday, January 1, 2008

ANNOUNCEMENT FOR TRAINING SERVAGE HOSTING STAFF IN RUBY ON RAILS

Jan 01 - 15:58 GMT
Customer

Hi Servage Support. As your support wasn't able to name me at least one ruby on rails website on their server which is running I created one myself. So now you get one ;-). It is a very simple one - only a small library program called biblio.

You can link to the article about it and how to get it running on Servage Hosting as it is pretty difficult as Servage won't provide SSH, which means you will need to build actually a local system and transfering it then to SERVAGE HOSTING step by step. I wrote the article like you HAVE ssh on Servage and only made a remark that there isn't ssh and you need to use another computer for this ssh part.

If you have any suggestions how this "ssh" Part could be created on Servage Hosting I really would appreciate it.

It became now very clear that the main problem creating Applications on Servage Hosting seems to be the routing and the population of the database via ruby.

Try to build "biblio" by yourselv on a SERVAGE ACCOUNT without ssh and you will see that it is IMPOSSIBLE without ssh. You should really reconsider making ssh available yes or no. :-) as it would improve Servage a Lot.

Jan 01 - 16:01 GMT
Customer

Oh sorry hit the wrong buttom - here is the link:
http://apapococ.blogspot.com/2008/01/biblio-another-ruby-on-rails-example.html

Jan 02 - 02:51 GMT
Servage - Sam

Hello Andreas,

Thanks for your link.

We do not allow Telnet/SSH access to our systems for security reasons. However our techs will be more than happy execute commands for you on request.

Have a nice day and Happy New Year!



Kind regards,
Sam, Support Team
Servage Hosting

Jan 02 - 04:01 GMT
Customer

Hi SAM

Unfortunately your Techs have written in the last 2 weeks just the opposite as you can read in our blog. Would they have executed the commands like I wrote them in my firstpost over 2 weeks ago we would never had lost so much time and even the blog you can read now about Servage Hosting Support would never been existing I guess. Please scroll down all posts in the blog about Servage Hostin and Ruby on Rails and how often I asked your techs to execute the mising commands as I could not do it lacking ssh access. And they even wrote the ADMIN will do it and get back to me, but even he did never get back to here and the commands have until now never been executed. It is IMPOSSIBLE torun RoR Application with this support you are giving on Servage Hosting. You really need to have a SECOND Installation at another hoster to build up your applicatation and test everything out and the you can transfer everything to SERVAGE - A real STUPID process or???

It would be much more help to have ssh access, and SECURITY reasons are the WRONG argument by the way as a GOOD HOSTER who thinks about quality provides ssh in a secured surrounding! ;-)

However our techs will be more than happy execute commands for you on request.

Why do you think ssh access would cause security problems for SERVAGE HOSTING why? Name me and we will see how you can secure each single argument ;-) quite easily.

Subdomain AGAIN not found on SERVAGE HOSTING

Jan 01 - 08:32 GMT
Customer

It is now the 6th time we are getting to you with exactly the same error. Everytime we create a Subdomain (in future this will happen about 10 times a day as we are testing lots of stuff) the subdomain won't get called and instead the MAIN DOMAIN Page shows up!!!

PLEASE SOLVE THIS NOW AND FOREVER - IT IS TOTALLY FRUSTRATING ALWAYS TO GET BACK TO YOU WITH EXACTLY THE SAME ERRORS - DON'T YOU HAVE QUALIFIED STAFF???

http://bibliothek.t3pack.info but http://www.t3pack.info shows up

Jan 01 - 09:37 GMT
Servage - Nick

Hello Andreas,

After adding the sub-domain into your control panel it will take few hours to update the dns,
Thank you.


Kind regards,
Nick, Support
Servage Hosting

Jan 01 - 10:00 GMT
Customer

HOW LONG HOE MANY HOURS AS THIS IS REALLY BLOCKING PRODUCTION!!!

Which means SERVAGE HOSTING would not be a good site for a development or a production setup! Really Bad!

On other hosters this works within seconds, why not at SERVAGE HOSTING? Is there any other chance (workaround) you can suggest?

One workaround could be to create by default hundreds or even thousands of subdomains for your accounts and existing domains at one time and then lateron choose from them. Would this be possible and will the subdomains connect then immediately to the right folder if you change them in

CONTROL PANEL,
WEB SERVER,
LIST VIRTUAL HOSTS,
GO TO THE DOMAINS via VIEW ZONES,
CHANGE SETTINGS
Enter a new LINK TO PATH: /....

will this path the connect immediately or do we need another day to get this working?

Jan 01 - 10:07 GMT
Customer

We are trying to find the error with your gigantic RUBY ON RAILS Problems on YOUR SERVAGE SERVERS and therfore we need to run several test applications to compare settings.

i.e. we started with
Hostname: bibliothek.t3pack.info
Document Root: /www/bibliothek

and need now as the above showed errors. to confirm them we wanna run another test here

Hostname: biblio.t3pack.info
Document Root: /www/biblio
> shows www.t3pack.info instead

We also just tried to set another document root but it shows only errors:
Hostname: bibliothek.t3pack.info
Document Root: /www/biblio
>shows Page not found Error 404

Jan 01 - 10:09 GMT
Servage - Nick

Hello Andreas,

Due to our clustered architecture your website/domain/subdomains are served by many servers and for dns update through all the servers it needs the time mentioned earlier, there is no other way around in our system to make it fast.
Thanks for your understanding.


Kind regards,
Nick, Support
Servage Hosting

Jan 01 - 10:38 GMT
Customer

I need to know HOW LONG I HAVE TO WAIT at MINIMUM and how long at MAXIMUM - we are running a business and not a round coffeetable ;-)

Jan 01 - 10:40 GMT
Customer

FEW HOURS SAYS NOTHING - This could even mean
"AT SERVAGE HOSTING CUSTOMERS NEED TO WAIT ABOUT ON MONTH TO GET THEIR SUBDOMAIN AVAILABLE"
So please answer in a concrete TIME/HOURS/DAYS/MONTHS value.

Jan 01 - 10:48 GMT
Customer

What is up now

http://bibliothek.t3pack.info/
I just was able to see the site and about seconds later (meanwhile again since minutes, I only see 404 Error Messages

Jan 01 - 11:12 GMT
Servage - Nick

Hello Andreas,

It may take upto 24 hours to update our dns.
Thank you.


Kind regards,
Nick, Support
Servage Hosting

Biblio Another Ruby on Rails Example for SERVAGE HOSTING Testing

First of all we will need databases:
We will use "development" and "test" in our example here
In your SERVAGE CONTROL PANEL go to MySQL Databases
  1. Create new Database
  2. Name one Database biblioTest and another one biblioDev
  3. don't forget to type in a password
  4. Note all Database Connection Informations as we will need them later
In CONTROL PANEL open up Online - Filemanager
...
now go to www
(as Servage does not offer ssh you need to do the following steps externally and copy the result "biblio"-folder to the www folder and the databases contents to the databases via import-sql)

TYPE
>rails biblio
this command will create a folder named "biblio" and inside of it the following:
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create components
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create script/process
GO TO
$ cd biblio
TYPE
>./script/generate scaffold_resource Book title:string isbn:string created_at:datetime updated_at:datetime
This will create the following:
exists app/models/
exists app/controllers/
exists app/helpers/
create app/views/books
exists app/views/layouts/
exists test/functional/
exists test/unit/
create app/views/books/index.rhtml
create app/views/books/show.rhtml
create app/views/books/new.rhtml
create app/views/books/edit.rhtml
create app/views/layouts/books.rhtml
create public/stylesheets/scaffold.css
create app/models/book.rb
create app/controllers/books_controller.rb
create test/functional/books_controller_test.rb
create app/helpers/books_helper.rb
create test/unit/book_test.rb
create test/fixtures/books.yml
create db/migrate create db/migrate/001_create_books.rb
route map.resources :books
TYPE
$ rake db:migrate
If you type it here then you will receive the following error:
rake aborted!
No such file or directory - /tmp/mysql.sock
A well known error caused as until now your "biblio" don't know where to find the right database. Therefore we need to enter some database information.

GO TO
Control Panel
Online File Manager
/www/biblio/config
EDIT
database.yml
Into this YAML(TM) Template you enter all database Values so that it looks like this:

# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# gem install mysql
# Choose the win32 build.
# Install MySQL and put its /bin directory on your path.
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql
database: rorbiblioDBdev
username: rorbiblioUSdev
password: DBpassword
host: mysqlxxx.servage.net

# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
# Do not set this db to the same as development or production.
test:
adapter: mysql
database: rorbiblioDBtest
username: rorbiblioUStst
password: DBpassword
host: mysqlxxx.servage.net

production:
adapter: mysql
database: bibliothek_production
username: root
password:
host: localhost
Save and Close and try again:

TYPE
$ rake db:migrate
Now the tables will get created as you can see in the output:

(in /mounted-storage/homeservage/subservage/scservage-id/www/biblio)
== CreateBooks: migrating=====================
-- create_table(:books)
-> 0.1884s
== CreateBooks: migrated (0.1885s) ==============
GO TO
Control Panel
Online Filemanager
/www/biblio/app/views/books/new.rhtml
EDIT

New book



<%= error_messages_for :book %>

<% form_for(:book, :url => books_path) do |f| %>


Title

<%= f.text_field :title %>




Isbn

<%= f.text_field :isbn %>




Created at

<%= f.datetime_select :created_at %>




Updated at

<%= f.datetime_select :updated_at %>




<%= submit_tag "Create" %>


<% end %>

<%= link_to 'Back', books_path %>
DELETE the bold Part
CHANGE "
Isbn" to "ISBN" as it will look much nicer :-)
GO TO
www/biblio/app/models/book.rb
EDIT so that it looks like this:
class Book < ActiveRecord::Base
validates_presence_of:title,:isbn
end
GO TO
www/biblio/app/controlers/book_controller.rb
EDIT and CHANGE line 5 to:
@books = Book.find(:all,:order=>'created_at DESC')
Now our book entries will get sorted. Before saving check that there is only ONE Bracket at the End of this line ;-)

GO TO
www/biblio/config/routes.rb
CHANGE line 16 to
14 # You can have the root of your site routed by hooking up ''
15 # -- just remember to delete public/index.html.
16 map.connect '', :controller => "books"
Don't forget to remove the # at line 16!!! to enable this line

GO TO
www/biblio/public/index.html
RENAME or DELETE it

GO TO
Control Panel
Web Server
View (your Host where you want to add the subdomain "biblio")
Let's fill some data in:
$ruby script/console
Now we are in the Surrounding to insert Ruby and Rails Code
>book=Book.new(:title=>'Ruby and Rails at Servage Hosting',:isbn=>'12345678')
This creates a new book
>book.save
Saves
the Entry

Go to your site and ENJOY.

This post will be continued with some more testing later - happy new year