Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » installation stuck on "Building database schema..."

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 3945 Views
  • rgl
    Avatar
    7 Posts

    installation stuck on "Building database schema..." Link to this post

    I am attempting to install Silverstripe; however, the installation process stuck on "Building database schema..." and would not proceed any further.

    My setup is as follows:
    - Mandriva Linux 2007 Spring (GNOME interface - shouldn't matter though)
    - Apache 2, PHP 5.2.1, MySQL 5.0.37, installed using built-in software installation management utility
    - silverstripe tarball uncompress directory onto /var/www/html, with all previous subdirectories eliminated - that is, index.html, index.php, etc. are directly on /var/www/html and access by just http://localhost via the web browser
    - owner:group of /var/www/html and all files/sub-subdirectories below are apache:apache
    - all status indicates green/OK on the install.php page prior to clicking "Install SilverStripe" button.

    What are the ways to eliminate this problem? I am using SilverStripe 2.0.2b - the latest available on the website.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    Any idea on the CPU and RAM of the machine? We get this happening from time to time, so your specs would be useful. I wonder if it is just a memory/CPU-intenstive operation that isn't playing nicely with the machine?

    You should be able to either visit the homepage of your site, or run /db/build to progress through the installation bit by bit...

    e.g. try visiting the base page of your site, and it has errors, visit

    <your website root>/db/build

  • rgl
    Avatar
    7 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    Hi:

    The setup is inside a virtualized environment within VMWare Workstation 6.0:
    - based CPU: AMD Turion 64 X2 TL-60
    - VM profile: VMWare Workstation 5.x compatible, ESX compatible
    - RAM given to VM: 384MB (there is a Linux swap partition of equilvent size in the vm)
    - file system: xfs (don't think whether that matters)
    - VMWare-tools: installed and working

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    Thanks.

    Did you try my ideas above ?

  • Andy
    Avatar
    230 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    The most likely reason for db/build failing is PHP running out of memory. Try upping the memory given to PHP.

  • rgl
    Avatar
    7 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    I screwed up the VM (something unreleated to Silverstripe) so I have to reinstall the VM from scratch. I'll try installing Silverstripe again; I'll also be trying out different Linux distros to see if it makes a difference.

  • rgl
    Avatar
    7 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    I finally got Silverstripe installed - this time around I used Fedora 7 (I chose F7 because it has the latest PHP versions as recommended by SS). I'll share my experience in another posting.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: installation stuck on "Building database schema..." Link to this post

    Glad to hear!

    3945 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.