I woulg like to migrate a zotonic webapp from a running system to my local machine. I've copied the directory structure recursively, but not used the addsite command. Also i have imported the database using the command line tool psql and imported a database dump. After starting the site from the zotonic overview site, i'm getting a 404 in the content area of the webpage, although the application itself is running and header and footer is shown right apart from some small errors . Is this an issue of a config file, is it sth. in the database. Also i would like to know if there is a migration guide for moving a zotonic application from one to another location.
Are you sure you copied the db correctly (including putting data under the correct schema or changing the schema reference in <your site>/config)? That, along with not running 'make' after copying a site, are common gotchas.
I usually store a site's tree using git (except for 'files' that I copy manually!), then I dump/restore the db as you have described. I also symlink the sites from a "sites" path that is outside of the zotonic tree. It's as straightforward as that and there is no need to run a special command!
> I woulg like to migrate a zotonic webapp from a running system to my > local machine. I've copied the directory structure recursively, but > not used the addsite command. Also i have imported the database using > the command line tool psql and imported a database dump. After > starting the site from the zotonic overview site, i'm getting a 404 in > the content area of the webpage, although the application itself is > running and header and footer is shown right apart from some small > errors . Is this an issue of a config file, is it sth. in the > database. Also i would like to know if there is a migration guide for > moving a zotonic application from one to another location.
> Are you sure you copied the db correctly (including putting data under > the correct schema or changing the schema reference in <your > site>/config)? That, along with not running 'make' after copying a site, > are common gotchas.
> I usually store a site's tree using git (except for 'files' that I copy > manually!), then I dump/restore the db as you have described. I also > symlink the sites from a "sites" path that is outside of the zotonic > tree. It's as straightforward as that and there is no need to run a > special command!
> -signed(ahmed).
> On 12/12/11 4:58 PM, Alexander Ackermann wrote:
> > I woulg like to migrate a zotonic webapp from a running system to my > > local machine. I've copied the directory structure recursively, but > > not used the addsite command. Also i have imported the database using > > the command line tool psql and imported a database dump. After > > starting the site from the zotonic overview site, i'm getting a 404 in > > the content area of the webpage, although the application itself is > > running and header and footer is shown right apart from some small > > errors . Is this an issue of a config file, is it sth. in the > > database. Also i would like to know if there is a migration guide for > > moving a zotonic application from one to another location.
> In which context should i use the "make" command?
> On 14 Dez., 09:13, Ahmed Al-Saadi<thaterlang...@gmail.com> wrote: >> Are you sure you copied the db correctly (including putting data under >> the correct schema or changing the schema reference in<your >> site>/config)? That, along with not running 'make' after copying a site, >> are common gotchas.
>> I usually store a site's tree using git (except for 'files' that I copy >> manually!), then I dump/restore the db as you have described. I also >> symlink the sites from a "sites" path that is outside of the zotonic >> tree. It's as straightforward as that and there is no need to run a >> special command!
>> -signed(ahmed).
>> On 12/12/11 4:58 PM, Alexander Ackermann wrote:
>>> I woulg like to migrate a zotonic webapp from a running system to my >>> local machine. I've copied the directory structure recursively, but >>> not used the addsite command. Also i have imported the database using >>> the command line tool psql and imported a database dump. After >>> starting the site from the zotonic overview site, i'm getting a 404 in >>> the content area of the webpage, although the application itself is >>> running and header and footer is shown right apart from some small >>> errors . Is this an issue of a config file, is it sth. in the >>> database. Also i would like to know if there is a migration guide for >>> moving a zotonic application from one to another location. >>> Thanks in advance