ILIAS open source Forums

Forums have been moved to the ILIAS Information Center!
Please do not post bug reports into these forums but into the Mantis Bug Tracker.
Please do not post any security exploits. Act accoring to RFPolicy and send a mail to "ilias-security AT uni-koeln DOT de" .
It is currently Wed May 22, 2013 04:19

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: problem with cron.php
PostPosted: Wed Sep 30, 2009 15:18 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
Hallo Community,

i have a problem with the cron.php
When i tray to aktivate the cronjob per http request like the install-instruction (Setting up cron job)
(http://campus.company.local/ilias3/setu ... ronjobpass)

The request shows no output in the Browser and the ilias.log say three lines of error-code:

[09-09-30 14:51:04] [unknown] Cron: Database not up to date. Aborting
[09-09-30 14:51:04] [unknown] Cron: Database not up to date. Aborting
[09-09-30 14:51:04] [unknown] Cron: Database not up to date. Aborting

Server Information:
ILIAS version 3.10.6 2009-04-18
NIC ID 4273
Database Version 1368
Database Type MySQL
Version 5.0.45
Database Host localhost
Server Software Apache/2.2.3 (Red Hat)

Have some one a tipp, whots wrong?

thx,
axel


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Mon Oct 05, 2009 14:35 
Offline
User avatar

Joined: Thu Oct 13, 2005 18:50
Posts: 130
Location: Copenhagen/Aarhus, Denmark
Hi Axel

Have you gone to /setup/setup.php
Logged in
ILIAS should tell you "Your database needs an update"
From there you can update.

Best regards,

Jesper

_________________
Image
Læs mere om e-læring med ILIAS platformen
We offer commercial ILIAS hosting, support and development.


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Tue Oct 06, 2009 22:39 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
Hi Jesper,

I will do this – but I dont understand for what reason?
Who can I see the hint or in which document is this coherence include.

The Setup-Tool say:
The database is uptodate in version 1368
And the Update-Tool say:
Please do not invoke this function unless it is explicitly stated in update or patch instructions.

Now I am unsettle what is to do.
Which version I need and where is the source for the update?
It was a first time installation in Version "ILIAS 3.10.6 2009-04-18 (Setup Version 2 Revision: 17651)"?

Please can you explain something more?

Now I have finished a clone of my live-system.
If the backup complete, I will test the update.

Or is it recommendable, make the update to ilias4 first?

Best regards from flensborg,
Axel


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Wed Oct 07, 2009 09:30 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
Hallo,

the results of the experiment were negativ.

The "Control Structure Tool" do nothing.
Then I found the "dbupdate.php" and the "dbupdate_02.php" in the sql-folder.

when start the script manual, I get this Error:

dbupdate.php
Parse error: syntax error, unexpected '<' in /var/www/ilias3/setup/sql/dbupdate.php on line 6827

dbupdate_02.php
Fatal error: Call to a member function getStructure() on a non-object in /var/www/ilias3/setup/sql/dbupdate_02.php on line 3

Waths wrong


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Wed Oct 07, 2009 16:13 
Offline
User avatar

Joined: Thu Oct 13, 2005 18:50
Posts: 130
Location: Copenhagen/Aarhus, Denmark
Hi Axel

You should not need to reload the control structure and you should definitely not do anything with the dbupdate_02.php. That will not help :-)

I suggest you upgrade your ILIAS to 3.10.9 which is the latest version in the 3.10-branch. If things does not work here they will not work in ILIAS 4.0 either.

Upgrading to a newer major version should always be done from the latest major-1 version and in your case not directly from 3.10.6.

Does everything else in your installation work as expected? Do you run multiple clients or only a single default one?

- Jesper

_________________
Image
Læs mere om e-læring med ILIAS platformen
We offer commercial ILIAS hosting, support and development.


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Wed Oct 07, 2009 20:25 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
Hi Jesper,

I use multiple clients - two testenvironments and one productive system
but in the testenviromment is no traffic.

Anny other funktions works fine.
I will tray the update to 3.10.9 at the clone on weekend.

thx,
Axel


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Wed Oct 07, 2009 21:52 
Offline
User avatar

Joined: Thu Oct 13, 2005 18:50
Posts: 130
Location: Copenhagen/Aarhus, Denmark
lexa wrote:
I use multiple clients - two testenvironments and one productive system
but in the testenviromment is no traffic.

I was thinking if your cron was connecting to the default client and not the one you want it to (?)

- Jesper

_________________
Image
Læs mere om e-læring med ILIAS platformen
We offer commercial ILIAS hosting, support and development.


Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Sat Oct 10, 2009 00:04 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
godvad wrote:
I was thinking if your cron was connecting to the default client and not the one you want it to (?)

- Jesper


o.k. - the update to 3.10.9 was successful but the cronjob do not run.

The Database-Tool run with out errors but the database-version is the same?!
Database Version : 1368

same error in the ilias.log
[09-10-09 23:52:04] [unknown] Cron: Database not up to date. Aborting
[09-10-09 23:52:04] [unknown] Cron: Database not up to date. Aborting
[09-10-09 23:52:04] [unknown] Cron: Database not up to date. Aborting

what do you mean with "connecting to the default client" ?
I am new on ILIAS and I do not understand the error message.
The default client is one of the three configure clients.
The cronjob cant connect to all three databases.
But what means "up to date" - witch version is the right one - and how can i change it?

Please can you give me an little bit more background information?

thx,
Axel


Last edited by lexa on Fri Oct 16, 2009 22:43, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: problem with cron.php
PostPosted: Sat Oct 10, 2009 01:15 
Offline

Joined: Tue Mar 10, 2009 22:27
Posts: 12
now i update to ilias40
and now i have see the database-update from 1368 to 2897 ;-)

it was the first time i have see this function
its new in "ILIAS 4.0.0 (Setup Version 2 Revision: 21711)" ?
in the old setup-tool was the message: Database OK

Attachment:
File comment: screen-shot of my ilias-setup after update to 3.10.9
ilias-setup-no-db-update.png
ilias-setup-no-db-update.png [ 59.8 KiB | Viewed 841 times ]


my problem is, that i cant update the database. after the update to 3.10.9 or i do not see the update-link in the setup-tool
"ILIAS 3.10.9 2009-08-20 (Setup Version 2 Revision: 17651).
before i use the "Control Structure tool" but there is no "database-update tool"

how can i fix the problem with the cronjob / database on ilias3.10.9?
where can i find the diff files for the Database or how can i patch the database from 1368 to x for run the cronjob ?
how can i update database with out the setup.php or how can i fix it?

so many questions.........

cu
axel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group