Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Feature request - install/upgrade must be specifically envoked and upgrade requires admin login

#421

As a result of several discussions concerning ticket #417, the following is proposed for implementation:

  • installer MUST be envoked by going to a specific url (install/index.php) just like we do now with logins.
  • if there is no config or database connection, the site will appear to be down/in maintenance mode, but this is transitory and checked each page load (do NOT create the not_configured file)
  • IF an upgrade condition exists, the admin user will will be notified (via flash message) that they should upgrade the site after logging in (page load) and given a link to launch the upgrade.

Drawbacks to this appraoch will be the 1) install/upgrade will no longer be semi-automated and 2) in some cases the site/page may crash if it is in an upgrade condition (system & database versions don't match) due to missing (new) database table fields

Reported by dleffler · December 9th, 2011 @ 09:38 PM

State: open
Milestone: 2.0.4
Assigned to: dleffler dleffler

Activity

  1. Richard Toohey
    Richard Toohey

    Thanks, guys, this sounds like a better approach.

    Looking forward to 2.0.3.

    December 12th, 2011 @ 07:52 AM

  2. expNinja
    expNinja

    (from [7a56c4d222a176d82bf3b507d4786ca3915b5dbe]) Better handling of situations where no database connection is present...now sends you to the maintenance screen with a note that the database is offline. Also updates version checking in preparation for online version checking and the new install/upgrade process for the next release version. Adds new method to expDateTime to format and return a date based on system settings [#314 Feature request: Add update version checking (online) #421 Feature request - install/upgrade must be specifically envoked and upgrade re...] https://github.com/exponentcms/exponent-cms/commit/7a56c4d222a176d8...

    December 15th, 2011 @ 10:17 PM

  3. expNinja
    expNinja

    (from [12a81dda0896ddc865dbcc1dd732c214876954c3]) Revises install/upgrade process to no longer be semi-automated. Now installation MUST be called explicitly and if an 'upgrade' condition exists, but the site is still configured, the admin user will be notified with a link to upgrade the site after logging in. Also contains the basics for doing an online version check displaying a notice once per session. Still need a location (or new method) to store the version check. [#421 Feature request - install/upgrade must be specifically envoked and upgrade re... #314 Feature request: Add update version checking (online)] https://github.com/exponentcms/exponent-cms/commit/12a81dda0896ddc8...

    December 24th, 2011 @ 04:03 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.