Upgrade 

If you upgrade EXT:weather2 to a newer version, please read this section carefully!

Update from 6.x to 7.0 

The three console commands were renamed to be shorter and to make it clear which one fetches warnings and which one only fetches the region reference data:

  • weather2:fetch:deutscherWetterdienstAPI is now weather2:fetch:dwdAlerts
  • weather2:fetch:warnCellsFromDeutscherWetterdienstAPI is now weather2:fetch:dwdWarnCells
  • weather2:fetch:fromOpenWeatherAPI is now weather2:fetch:openWeatherMap

If you already have Scheduler tasks of type Execute console commands referencing one of the old command identifiers, edit each task and re-select the command under its new name - the old identifier no longer exists and the task will fail otherwise. See Console commands overview for the arguments of each command and whether it should be single or recurring.

Update from 5.x to 6.0 

Added TYPO3 13 compatibility. Removed all weather2 Scheduler task types and replaced them with Symfony console commands. Your existing weather2 Scheduler tasks will no longer run and should be deleted. For each one, create a new task of type Execute console commands instead, and select the matching weather2 command (weather2:fetch:fromOpenWeatherAPI, weather2:fetch:warnCellsFromDeutscherWetterdienstAPI or weather2:fetch:deutscherWetterdienstAPI - renamed again in version 7.0, see above). There is an upgrade wizard available with this extension to convert the older list type plugins to custom CType.

Update from 4.x to 5.0 

Added TYPO3 12 compatibility. Removed older version compatibility. Removed dependency with static_info_tables. Removed ObjectManager usage from scheduler tasks, so after upgrading the extension it is better to remove the old tasks and recreate the tasks, because the old serialized version is saved in the database.

Update from 3.x to 4.0.0 

Added TYPO3 11 compatibility. Removed TYPO3 9 compatibility.

We have removed all TYPO3 columns from ext_tables.sql. Please execute the database compare to update the database columns.

Execute Flush Cache in the maintenance section of TYPO3 to update the dependency injection cache.

We require recordStoragePid as int in the weather2 scheduler task. It may happen that a call to setPid() will fail, because it is not an int. That happens because all scheduler tasks, including their earlier variable types, are stored serialized in the scheduler. While unserializing, the old type (string) will not match the current type (int) anymore. So please delete that task and create that task again. Sorry, no upgrade wizard is available for that operation.

Update from 2.x to 3.0.0 

Added TYPO3 10 compatibility. Removed TYPO3 8 compatibility.

Nothing to do.

Update from 2.x to 2.0.4 

Because of a security patch of TYPO3, all of our weather2 scheduler tasks can no longer be unserialized. For you it is not possible anymore to delete, modify or start any task, as you can not open the scheduler module. Furthermore no task will be executed anymore by cronjob. Please visit the Upgrade module of TYPO3 and execute our upgrade wizard to update our tasks in the database.

Update from 1.x to 2.x 

There are breaking changes if you're updating weather2 from 1.x to 2.x. This chapter is about how to fix those breaking changes.

  1. Update weather2 using Composer or the Extension Manager.
  2. If you're using Composer you may need to disable and enable the extension using the Extension Manager or using the database analyzer to get the new database structure.
  3. Clear all caches.
  4. Open the scheduler module.
  5. Edit all tasks of type Call openweathermap.org api. Directly save them after clicking edit. You don't need to change any fields inside here.
  6. Remove all tasks of type Get regions from Deutscher Wetterdienst. They should have a red background because they no longer exist.
  7. Either create a warn cell record manually OR create a task of type Get warn cell records from Deutscher Wetterdienst, set it as single and execute it one time.
  8. Edit all tasks of type Get weather alerts from Deutscher Wetterdienst and select the cities/locations you want to fetch. Then save those tasks.
  9. Edit all plugins with list type weather2_weatheralert (Weather Alerts) and select the cities/locations you want to display. Also check out the new setting Show preliminary information.
  10. Clear frontend caches.