Warning: The magic method Math_Captcha::__wakeup() must have public visibility in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":235,"date":"2021-02-25T20:31:12","date_gmt":"2021-02-25T19:31:12","guid":{"rendered":"https:\/\/blog.comfine.de\/?p=235"},"modified":"2021-03-16T12:33:45","modified_gmt":"2021-03-16T11:33:45","slug":"freepbx-upgrade-from-14-to-15","status":"publish","type":"post","link":"https:\/\/blog.comfine.de\/freepbx-upgrade-from-14-to-15\/","title":{"rendered":"FreePBX Upgrade from 14 to 15"},"content":{"rendered":"\n

if you just want to see the solution skip following until the headline „final solution“<\/strong><\/p>\n\n\n\n

i tried to upgrade from 14 to 15 with the FreePBX upgrader tool (https:\/\/wiki.freepbx.org\/display\/FOP\/Upgrade+to+FreePBX+15)<\/p>\n\n\n\n

tried to do it with <\/p>\n\n\n\n

fwconsole versionupgrade<\/em><\/code><\/p>\n\n\n\n

aswell without success.<\/p>\n\n\n\n

ran into problems with the framework module:<\/p>\n\n\n\n

fwconsole ma install framework
Updating tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications, cron_jobs\u2026Erledigt
PHP Fatal error: Call to a member function writeln() on string in \/var\/www\/html\/admin\/modules\/framework\/install.php on line 38
Whoops\\Exception\\ErrorException: Call to a member function writeln() on string in file \/var\/www\/html\/admin\/modules\/framework\/install.php on line 38
Stack trace:<\/p>\n\n\n\n

  1. Whoops\\Exception\\ErrorException->() \/var\/www\/html\/admin\/modules\/framework\/install.php:3<\/li><\/ol>\n\n\n\n

    so i tried to fix this with:<\/p>\n\n\n\n

    [root@localhost ~]# yum reinstall freepbx<\/em><\/p>\n\n\n\n

    but ended up with:
    Loaded plugins: fastestmirror, versionlock
    Loading mirror speeds from cached hostfile
    Installed package freepbx-14.1-1.sng7.noarch not available.<\/em><\/p>\n\n\n\n

    so i tried the usual install command that failed aswell:<\/p>\n\n\n\n

    yum install freepbx
    Loaded plugins: fastestmirror, versionlock
    Loading mirror speeds from cached hostfile
    Package: freepbx-14.1-1.sng7.x86_64 – can’t co-install with freepbx-14.1-1.sng7.noarch
    Nothing to do<\/em><\/p>\n\n\n\n

    i tried to remove freepbx that failed:<\/p>\n\n\n\n

    [root@localhost ~]# yum remove freepbx
    Loaded plugins: fastestmirror, versionlock
    Resolving Dependencies
    –> Running transaction check
    —> Package freepbx.noarch 0:14.1-1.sng7 will be erased
    –> Processing Dependency: freepbx for package: sangoma-pbx-2012-1.sng7.noarch
    –> Running transaction check
    —> Package sangoma-pbx.noarch 0:2012-1.sng7 will be erased
    –> Finished Dependency Resolution
    Error: Trying to remove „sangoma-pbx“, which is protected<\/em><\/p>\n\n\n\n

    <\/p>\n\n\n\n

    deleted the protection with<\/p>\n\n\n\n

    rm \/etc\/yum\/protected.d\/sangoma-pbx.conf<\/em><\/p>\n\n\n\n

    then<\/p>\n\n\n\n

    yum remove freepbx<\/em><\/p>\n\n\n\n

    then <\/p>\n\n\n\n

    yum install freepbx<\/em><\/p>\n\n\n\n

    then<\/p>\n\n\n\n

    fwconsole ma install framework<\/em><\/p>\n\n\n\n

    that should not fail anymore now!<\/p>\n\n\n\n

    fwconsole ma updateall <\/em><\/p>\n\n\n\n

    should work aswell.<\/p>\n\n\n\n

    freepbx gui was working then, but could not connect to asterisk.<\/p>\n\n\n\n

    res_odbc.c: res_odbc: Error SQLConnect=-1 errno=1045 [unixODBC][MySQL][ODBC 5.2(w) Driver]Access denied for use r ‚freepbxuser’@’localhost‘<\/em><\/p>\n\n\n\n

    edit \/etc\/asterisk\/modules.conf and comment out chan_local.so<\/p>\n\n\n\n

    ;preload = chan_local.so<\/em><\/p>\n\n\n\n

    create missing file:<\/p>\n\n\n\n

    touch \/etc\/asterisk\/extconfig_custom.conf
    chown asterisk:asterisk extconfig_custom.conf<\/em><\/p>\n\n\n\n

    now after asterisk could be started again i ran<\/p>\n\n\n\n

    asterisk-version-switch<\/em><\/p>\n\n\n\n

    again and „switched“ to the already running version 18 again, that re-installed sangoma-pbx-2012-1.sng7.noarch<\/p>\n\n\n\n

    not sure if this was installed before aswell – but at the end the problem remained. <\/p>\n\n\n\n

    final solution<\/strong><\/p>\n\n\n\n

    soo… i started again with the backup i made at the beginning! if you ran into this situation without a backup, i think youre lost! backup your configuration and start from scratch.<\/p>\n\n\n\n

    i just followed this guide step by step in the exact same order:<\/p>\n\n\n\n

    https:\/\/community.freepbx.org\/t\/how-to-upgrade-from-freepbx-14-to-15-from-command-line\/71770<\/a><\/p>\n\n\n\n

    except, that i ran fwconsole chown after installing the version-upgrade-module again, because rights were not fine anymore…
    and now the system is up to date with freepbx 15.0.17.24 and running without any problems! this means: while the GUI of the versionupgrade module destroyed my system, the steps described at the commandline worked without any problems!<\/p>\n\n\n\n

    so my advice to you: never use the GUI for upgrading from 14 to 15! system will probaply „unrepairable“ broken afterwards!<\/strong> this happened to me on two different machines! and on both machines the method via commandline worked without any problem! good luck, i hope you have a backup!<\/p>\n","protected":false},"excerpt":{"rendered":"

    if you just want to see the solution skip following until the headline „final solution“ i tried to upgrade from 14 to 15 with the FreePBX upgrader tool (https:\/\/wiki.freepbx.org\/display\/FOP\/Upgrade+to+FreePBX+15) tried to do it with fwconsole versionupgrade aswell without success. ran into problems with the framework module: fwconsole ma install frameworkUpdating tables admin, ampusers, cronmanager, featurecodes, freepbx_log,… <\/p>\n