Page 1 of 1

Upgrading from v0.8 to latest v1.0

Posted: Sat Jul 01, 2006 6:12 am
by PurpleCow
Hi,

I want to upgrade from my v0.8 to v1.0 the latest stable one. Are there any things particularly to keep in mind before i do the upgrade?

Also how to i upgrade form 0.8 to 1.0? is it the normal process of upload and load the index file and i get an option to do a fresh install or an upgrade?

I have nearly 4000 items on my blog, using it as a news system just like digg. so i don't want to lose anything.

Thanks for any help.

Cheers

Re: Upgrading from v0.8 to latest v1.0

Posted: Sat Jul 01, 2006 5:09 pm
by garvinhicking
Hi!

The most important thing is to create a backup of Files and SQL before you upgrade. then everything else is easy and can be done as outlined in the www.s9y.org FAQ. :)
Also how to i upgrade form 0.8 to 1.0? is it the normal process of upload and load the index file and i get an option to do a fresh install or an upgrade?
Exactly! :-)

Best regards,
Garvin

Posted: Fri Jul 07, 2006 12:02 pm
by PurpleCow
Are there any extra specific technical requirements my server should have to complete the upgrade successfully?

Posted: Fri Jul 07, 2006 12:04 pm
by garvinhicking
Hi!

If serendipity 0.8 runs well on your server, so should 1.0. :-)

Best regards,
Garvin

Nooooo!!

Posted: Sat Aug 12, 2006 1:27 am
by MASiR
I finally decided to upgrade .. It all looks so simple when reading the FAQs .. but now ... well take a look at http://blog.thingsdesigner.com/index.php

I do not see the upgrade option in the admin module .. what I DO see, is above the admin panel the following :

if (isset($_SESSION['serendipityEmail'])) { $serendipity['email'] = $_SESSION['serendipityEmail']; } serendipity_plugin_api::hook_event('frontend_configure', $serendipity); /* vim: set sts=4 ts=4 expandtab : */

and below the 'frame' :

Powered by Serendipity 0.8-beta4 and PHP 4.4.2
f (!isset($serendipity['GET']['adminModule'])) { $serendipity['GET']['adminModule'] = (isset($serendipity['POST']['adminModule']) ? $serendipity['POST']['adminModule'] : ''); } serendipity_checkXSRF(); switch($serendipity['GET']['adminModule']) { case 'installer': case 'configuration': if (!serendipity_checkPermission('siteConfiguration') && !serendipity_checkPermission('blogConfiguration')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/configuration.inc.php'; break; case 'media': case 'images': if (!serendipity_checkPermission('adminImages')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; break; case 'templates': if (!serendipity_checkPermission('adminTemplates')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/templates.inc.php'; break; case 'plugins': if (!serendipity_checkPermission('adminPlugins')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/plugins.inc.php'; break; case 'users': if (!serendipity_checkPermission('adminUsers')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/users.inc.php'; break; case 'groups': if (!serendipity_checkPermission('adminUsersGroups')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/groups.inc.php'; break; case 'personal': if (!serendipity_checkPermission('personalConfiguration')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/personal.inc.php'; break; case 'export': if (!serendipity_checkPermission('adminImport')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/export.inc.php'; break; case 'import': if (!serendipity_checkPermission('adminImport')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/import.inc.php'; break; case 'entries': if (!serendipity_checkPermission('adminEntries')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/entries.inc.php'; break; case 'comments': if (!serendipity_checkPermission('adminComments')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/comments.inc.php'; break; case 'category': case 'categories': if (!serendipity_checkPermission('adminCategories')) { break; } include S9Y_INCLUDE_PATH . 'include/admin/category.inc.php'; break; case 'logout': echo LOGGEDOUT; break; case 'event_display': if ($serendipity['no_create'] !== true) { serendipity_plugin_api::hook_event('backend_sidebar_entries_event_display_' . $serendipity['GET']['adminAction'], $serendipity); } break; case 'logout': echo LOGGEDOUT; break; default: include S9Y_INCLUDE_PATH . 'include/admin/overview.inc.php'; break; } } ?>
Powered by Serendipity 0.8-beta4 and PHP 4.4.2




here's my serendipity_config_local.inc.php

$serendipity['versionInstalled'] = '0.8-beta4';
$serendipity['dbName'] = 'SOMEDBNAME';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'localhost';
$serendipity['dbUser'] = 'SOMEUSER';
$serendipity['dbPass'] = 'SOMEPASSWD';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;

Re: Nooooo!!

Posted: Sun Aug 13, 2006 1:31 pm
by garvinhicking
Hi!

If you see PHP code as HTML output it means that your FTP upload was garbaged and files are corrupt. Please re-upload the serendipity release files again and check for their validity!

Best regards,
Garvin

It worked

Posted: Fri Sep 01, 2006 10:40 am
by MASiR
Thenks Garvin .. The blog is alive and kickin'..

Well, almost .. I can not seem to install new plugins .. I might have fiddled around in configuration files when I tried to move towards the new S9y version .. check:

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 206784 bytes from already existing file on your server. Saving file as /home/pidk6200/domains/thingsdesigner.com/public_html/blog/templates_c/package_event_en.xml...


Cannot write to directory /home/pidk6200/domains/thingsdesigner.com/public_html/blog//plugins/. Please check the permissions.
 
what happen ?

Re: It worked

Posted: Fri Sep 01, 2006 12:28 pm
by garvinhicking
Hi!

The error says:
Cannot write to directory /home/pidk6200/domains/thingsdesigner.com/public_html/blog//plugins/. Please check the permissions.
:) Did you check the permissions? :)

Regards,
Garvin

Posted: Fri Sep 01, 2006 12:42 pm
by MASiR
I thought the URL was not correct .. look at the double slash in there ..

Posted: Fri Sep 01, 2006 12:45 pm
by garvinhicking
Hi!

That's no problem. "///////////////////" is the same like "/". :)

Best regards,
Garvin

Posted: Fri Sep 01, 2006 5:24 pm
by MASiR
changed rights and it seems that shit now really hits the fan ..

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 206784 bytes from already existing file on your server. Saving file as URL/public_html/blog/templates_c/package_event_en.xml...


Trying to open URL serendipity_xmlrpc.inc.php?rev=1.9999...
Fetched 28279 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/serendipity_xmlrpc.inc.php...
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/serendipity_xmlrpc.inc.php.
Trying to open URL serendipity_event_xmlrpc.php?rev=1.9999...
Fetched 2886 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/serendipity_event_xmlrpc.php...
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/serendipity_event_xmlrpc.php.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 208 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/lang_de.inc.php...
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/lang_de.inc.php.
Trying to open URL Server.php?rev=1.9999...
Fetched 21339 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/RPC/Server.php...

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access URL/public_html/blog/plugins/serendipity_event_xmlrpc owned by uid 101 in URL/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 209
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/RPC.
Trying to open URL Dump.php?rev=1.9999...
Fetched 5186 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/RPC/Dump.php...

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access URL/public_html/blog/plugins/serendipity_event_xmlrpc owned by uid 101 in URL/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 209
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/RPC.
Trying to open URL RPC.php?rev=1.9999...
Fetched 56446 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/RPC.php...

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access URL/public_html/blog/plugins/serendipity_event_xmlrpc owned by uid 101 in URL/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 209
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML.
Trying to open URL BUNDLE_NOTICE?rev=1.9999...
Fetched 181 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML/BUNDLE_NOTICE...

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access URL/public_html/blog/plugins/serendipity_event_xmlrpc owned by uid 101 in URL/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 209
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/PEAR/XML.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 211 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/UTF-8/lang_de.inc.php...

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access URL/public_html/blog/plugins/serendipity_event_xmlrpc owned by uid 101 in URL/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 209
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/UTF-8.
Trying to open URL lang_en.inc.php?rev=1.9999...
Fetched 378 bytes from the URL above. Saving file as URL/public_html/blog//plugins/serendipity_event_xmlrpc/lang_en.inc.php...
Cannot write to file URL/public_html/blog//plugins/serendipity_event_xmlrpc/lang_en.inc.php.
Error: serendipity_event_xmlrpc:3b64d6df651fb1b0a3e17089f7eac6fc (serendipity_event_xmlrpc)
DEBUG: Plugin serendipity_event_xmlrpc:3b64d6df651fb1b0a3e17089f7eac6fc not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => serendipity_event_xmlrpc [install_plugin] => serendipity_event_xmlrpc [spartacus_fetch] => event [action] => [adminAction] => ) .

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_xmlrpc [1] => [2] => event [3] => 0 [4] => serendipity_event_xmlrpc ) 
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_xmlrpc:3b64d6df651fb1b0a3e17089f7eac6fc', 9, 'event', '0', 'serendipity_event_xmlrpc')
No valid path/filename found. Aborting.
Classname serendipity_event_xmlrpc still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_xmlrpc still does not exist. Aborting.

Fatal error: Call to a member function on a non-object in URL/public_html/blog/include/admin/plugins.inc.php on line 376

Posted: Fri Sep 01, 2006 9:40 pm
by judebert
Ah, safe_mode. How long will you continue to destroy the functioning of perfectly good scripts?

Searching this forum for safe_mode will give you some idea of what you're up against. The big problem is that your server believes SPARTACUS is not allowed to create directories and write files. Changing the directory permissions to match the webserver will get you past this. But the media gallery won't work in safe_mode.

Try talking your provider into turning off safe_mode.

Nightmares? Upgrading

Posted: Sat Oct 28, 2006 7:16 am
by G_W
Looking at some of the comments, I think I'll keep my 8.4 version until I have some time to look it over. Love your Mozilla theme Garvin ...