List Info

Thread: Re: 3.1 installation




Re: 3.1 installation
user name
2007-01-30 00:25:15
Ken,

How do you propose I do this?

I have been looking at all the available plugins, but I
don't see anything
that can do what you suggest.

The only thing I do see is the Feed Import Plugin, but that
requires a URL
and a RSS field to import.

I did find the Export Blog Plugin, which saves your blog as
an XML file.

What would be slick is to find a way to import this XML file
of entries...I
think this would be beneficial for many reasons:

1) the ability to back up your blog in a format other than
backing up the
database
2) easier to upgrade from 2 to 3 (it certainly is for me)

So I think I'll have to create a custom plugin for this...or
am I missing
something...?

Regards,

Richard M. Spackmann

-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Horan,
Kenneth M.
Sent: Monday, January 29, 2007 1:08 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

You can try exporting all of the blojsom 2 entries into a
feed and then
importing them into your new blojsom 3 installation.  I
haven't tried it
but it sounds pretty straight-forward.



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
Richard Spackmann
Sent: Monday, January 29, 2007 1:01 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

An excellent point Ken,

I don't know why there are different URLS, I would think
that only one
would
suffice (I don't see how blog-admin and blog-base-admin
can't be
constructed
from blog-home).

Also, does anyone have a better upgrade tool from 2 to 3?
Specifically,
I am
looking for something just to read in the old entry files
and just store
them into the Database - I do NOT need all the other
configuration files
to
be copied over.

I think a much easier approach to upgrading would be to
simply install a
fresh 3.1 and then simply read the entry files and load into
DB.

(I have tried the upgrade tool and its going no where fast
:(

Regards,

Richard M. Spackmann
Acting Chairman, Board of Fire Commissioners
Greenfield Fire District
http://www.RichardSpa
ckmann.com


-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Horan,
Kenneth M.
Sent: Monday, January 29, 2007 12:51 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

Here's a SQL query which you can run to update every blog
simultaneously.  Just replace yourSite.com and yourBlogDir
with your own
url.

UPDATE properties SET property_value =
REPLACE(property_value,
'http://www.yourSi
te.com/yourBlogDir',
'http://www.
yourNewSite.com/yourNewBlogDir') WHERE property_name =
'blog-base-url' OR property_name = 'blog-base-admin-url' OR
property_name = 'blog-admin-url' OR property_name =
'blog-url';

As I was thinking about it, why is the full URL hard coded
into each
blog four times?  Is there a situation where one value would
ever need
to have a different base url than the rest?



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Adam
Batkin
Sent: Sunday, January 28, 2007 5:22 AM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

The URLs for the CSS files and redirects are generated based
on certain 
values in PROPERTIES table the database. Your best bet is to
edit the 
SQL file before running the initial creation script or to go
in to the 
database and update the relevant values. In particular:
blog-url
blog-admin-url
blog-base-url
blog-base-admin-url

Some like:
UPDATE properties SET property_value = 'http://localhost/blog/d
efault' 
WHERE property_name = 'blog-url';

etc...

Once that is all done and working you should be able to edit
those 
values from the admin page in the application itself (i.e.
if you wanted

to change the localhost to site.com or whatever)

Hope this helps,

-Adam Batkin

Richard Spackmann wrote:
> All,
> 
>  
> 
> Has anyone else had success in installing 3.1?
> 
>  
> 
> I could not get the 3.1 WAR file to work after doing a
CLEAN install
in 
> the ROOT webapp.
> 
>  
> 
> I've been reading the mailing list and I noticed that
someone posted
the 
> question on how to move blojsom from the
"blojsom" webapp to the ROOT 
> webapp and the solution was to simply install it in the
ROOT
directory.
> 
>  
> 
> I have not been able to get it work however...here is
what I have
done:
> 
>  
> 
> 1)       install clean install
> 
> 2)       modify the database information
> 
> 3)       I then see a page (no styles) at http://localhost/blog 
>     (note that I changed the port from 8080 to the
standard 80)
> 
> 4)       When looking at the page source (output) I see
that all the 
> style links have http://localho
st:8080/blojsom/blog.... as urls - I 
> suspect this is the default assumption
> 
> 5)       So I try and go to log in and change through
admin console
> 
> 6)       The admin login page doesn't show any style
either, but this 
> time the style links reference http://localhost:8
080/blojsom/.... Urls
> 
> 7)       I log in via the default user name and passwd
and I get 
> redirected to http://localhost:8080/blojsom/blog/default/?flavor=admin


> which does not exist.
> 
>  
> 
> Has anyone else seen this behavior - again, this is a
clean install.
> 
>  
> 
> Regards,
> 
>  
> 
> Richard M. Spackmann
> 
> http://www.RichardSpa
ckmann.com
> 
>  
> 
> 
>
------------------------------------------------------------
------------
> 
>
------------------------------------------------------------
------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to
share your
> opinions on IT & business topics through brief
surveys - and earn cash
>
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers



------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers





------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers





------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: 3.1 installation
user name
2007-01-30 10:23:20
The Export Blog plugin should be making an RSS feed of the
entire blog.
I'm pretty sure that you feed the XML file from the export
to the Feed
Import plugin.  I recall hearing David say he did something
similar to
upgrade his blog.  I used the upgrade script instead since I
needed to
keep the settings for each blog.



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
Richard Spackmann
Sent: Tuesday, January 30, 2007 1:25 AM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

Ken,

How do you propose I do this?

I have been looking at all the available plugins, but I
don't see
anything
that can do what you suggest.

The only thing I do see is the Feed Import Plugin, but that
requires a
URL
and a RSS field to import.

I did find the Export Blog Plugin, which saves your blog as
an XML file.

What would be slick is to find a way to import this XML file
of
entries...I
think this would be beneficial for many reasons:

1) the ability to back up your blog in a format other than
backing up
the
database
2) easier to upgrade from 2 to 3 (it certainly is for me)

So I think I'll have to create a custom plugin for this...or
am I
missing
something...?

Regards,

Richard M. Spackmann

-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Horan,
Kenneth M.
Sent: Monday, January 29, 2007 1:08 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

You can try exporting all of the blojsom 2 entries into a
feed and then
importing them into your new blojsom 3 installation.  I
haven't tried it
but it sounds pretty straight-forward.



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
Richard Spackmann
Sent: Monday, January 29, 2007 1:01 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

An excellent point Ken,

I don't know why there are different URLS, I would think
that only one
would
suffice (I don't see how blog-admin and blog-base-admin
can't be
constructed
from blog-home).

Also, does anyone have a better upgrade tool from 2 to 3?
Specifically,
I am
looking for something just to read in the old entry files
and just store
them into the Database - I do NOT need all the other
configuration files
to
be copied over.

I think a much easier approach to upgrading would be to
simply install a
fresh 3.1 and then simply read the entry files and load into
DB.

(I have tried the upgrade tool and its going no where fast
:(

Regards,

Richard M. Spackmann
Acting Chairman, Board of Fire Commissioners
Greenfield Fire District
http://www.RichardSpa
ckmann.com


-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Horan,
Kenneth M.
Sent: Monday, January 29, 2007 12:51 PM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

Here's a SQL query which you can run to update every blog
simultaneously.  Just replace yourSite.com and yourBlogDir
with your own
url.

UPDATE properties SET property_value =
REPLACE(property_value,
'http://www.yourSi
te.com/yourBlogDir',
'http://www.
yourNewSite.com/yourNewBlogDir') WHERE property_name =
'blog-base-url' OR property_name = 'blog-base-admin-url' OR
property_name = 'blog-admin-url' OR property_name =
'blog-url';

As I was thinking about it, why is the full URL hard coded
into each
blog four times?  Is there a situation where one value would
ever need
to have a different base url than the rest?



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Adam
Batkin
Sent: Sunday, January 28, 2007 5:22 AM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] 3.1 installation

The URLs for the CSS files and redirects are generated based
on certain 
values in PROPERTIES table the database. Your best bet is to
edit the 
SQL file before running the initial creation script or to go
in to the 
database and update the relevant values. In particular:
blog-url
blog-admin-url
blog-base-url
blog-base-admin-url

Some like:
UPDATE properties SET property_value = 'http://localhost/blog/d
efault' 
WHERE property_name = 'blog-url';

etc...

Once that is all done and working you should be able to edit
those 
values from the admin page in the application itself (i.e.
if you wanted

to change the localhost to site.com or whatever)

Hope this helps,

-Adam Batkin

Richard Spackmann wrote:
> All,
> 
>  
> 
> Has anyone else had success in installing 3.1?
> 
>  
> 
> I could not get the 3.1 WAR file to work after doing a
CLEAN install
in 
> the ROOT webapp.
> 
>  
> 
> I've been reading the mailing list and I noticed that
someone posted
the 
> question on how to move blojsom from the
"blojsom" webapp to the ROOT 
> webapp and the solution was to simply install it in the
ROOT
directory.
> 
>  
> 
> I have not been able to get it work however...here is
what I have
done:
> 
>  
> 
> 1)       install clean install
> 
> 2)       modify the database information
> 
> 3)       I then see a page (no styles) at http://localhost/blog 
>     (note that I changed the port from 8080 to the
standard 80)
> 
> 4)       When looking at the page source (output) I see
that all the 
> style links have http://localho
st:8080/blojsom/blog.... as urls - I 
> suspect this is the default assumption
> 
> 5)       So I try and go to log in and change through
admin console
> 
> 6)       The admin login page doesn't show any style
either, but this 
> time the style links reference http://localhost:8
080/blojsom/.... Urls
> 
> 7)       I log in via the default user name and passwd
and I get 
> redirected to http://localhost:8080/blojsom/blog/default/?flavor=admin


> which does not exist.
> 
>  
> 
> Has anyone else seen this behavior - again, this is a
clean install.
> 
>  
> 
> Regards,
> 
>  
> 
> Richard M. Spackmann
> 
> http://www.RichardSpa
ckmann.com
> 
>  
> 
> 
>
------------------------------------------------------------
------------
> 
>
------------------------------------------------------------
------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to
share your
> opinions on IT & business topics through brief
surveys - and earn cash
>
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers



------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers





------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers





------------------------------------------------------------
------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share
your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )