RE: Fedora 25 and php 7.0
05-22-2017, 01:45 AM
(This post was last modified: 05-22-2017, 02:24 AM by Eulogy.)
Developement update!
Good News - Bad News
The installation script is almost done for the base test with Fedora 25.
The script works well overall, but I have differents bugs depending the base installation script
If I use the master branch, no bug at the installation, but once the installation done, I can't create mailbox. I've an error like "Wrong domain or domain doesn't exist". The good news about that! I have the bug even without the software upgrade. So this his mean the problem is the master branch it self, not the update script.
If I use the base installer script 1.0.3, I can create mailbox when all is done. But I've an
ERROR 1005 (HY000) at line 98: Can't create table `sentora_postfix`.`vacation_notification` (errno: 150 "Foreign key constraint is incorrectly formed")
error while the Postfix installation. That's mean the table 'vacation_notification' wasn't create. In the pass I only had to create the table manualy. Bug that error cause a problem to the Roundcube update.
Executing database schema update.
Updating database schema (2013011000)... [FAILED]
Next step, I need to check if I can update Roundcube if I fix `vacation_notification` manualy before the roundcube update. So if it's works. This will mean no major problem for the updated installation. So Good news!
After that I need to find out why I can't create mailbox with the master branch after the installation. If you have any clue, please just to send a reply in that post.
I'll post my futur developement want I've got something new again.
Eulogy
Hi again!
Short update!
After created the `vacation_notification` manualy with the SQL query
------------------------------
CREATE TABLE vacation_notification (
on_vacation varchar(255) NOT NULL,
notified varchar(255) CHARACTER SET latin1 NOT NULL,
notified_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (on_vacation,notified),
CONSTRAINT vacation_notification_pkey FOREIGN KEY (on_vacation) REFERENCES vacation (email) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation Notifications';
----------------------------
The roundCube update is a success
2017-05-21 12:15:23 URL:https://codeload.github.com/roundcube/roundcubemail/zip/release-1.2 [4952192] -> "roundcube.zip" [1]
Installer verified
All settings correct for using Composer
Downloading...
Composer (version 1.4.2) successfully installed to: /etc/sentora/panel/etc/apps/webmail/composer.phar
Use it: php composer.phar
What version are you upgrading from? Type '?' if you don't know.
1.0.4
Executing database schema update.
Updating database schema (2013042700)... [OK]
Updating database schema (2013052500)... [OK]
Updating database schema (2013061000)... [OK]
Updating database schema (2014042900)... [OK]
Updating database schema (2015030800)... [OK]
Updating database schema (2015111100)... [OK]
This instance of Roundcube is up-to-date.
------------------------------
And I can create maibox.
So All I have to find, it's why I can't create mailbox after master branch installation. I saw some post with problem to create sub domain aswell. It's probably the same base bug. So probably both will be solve in the same time.
Eulogy
Good News - Bad News
The installation script is almost done for the base test with Fedora 25.
The script works well overall, but I have differents bugs depending the base installation script
If I use the master branch, no bug at the installation, but once the installation done, I can't create mailbox. I've an error like "Wrong domain or domain doesn't exist". The good news about that! I have the bug even without the software upgrade. So this his mean the problem is the master branch it self, not the update script.
If I use the base installer script 1.0.3, I can create mailbox when all is done. But I've an
ERROR 1005 (HY000) at line 98: Can't create table `sentora_postfix`.`vacation_notification` (errno: 150 "Foreign key constraint is incorrectly formed")
error while the Postfix installation. That's mean the table 'vacation_notification' wasn't create. In the pass I only had to create the table manualy. Bug that error cause a problem to the Roundcube update.
Executing database schema update.
Updating database schema (2013011000)... [FAILED]
Next step, I need to check if I can update Roundcube if I fix `vacation_notification` manualy before the roundcube update. So if it's works. This will mean no major problem for the updated installation. So Good news!
After that I need to find out why I can't create mailbox with the master branch after the installation. If you have any clue, please just to send a reply in that post.
I'll post my futur developement want I've got something new again.
Eulogy
Hi again!
Short update!
After created the `vacation_notification` manualy with the SQL query
------------------------------
CREATE TABLE vacation_notification (
on_vacation varchar(255) NOT NULL,
notified varchar(255) CHARACTER SET latin1 NOT NULL,
notified_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (on_vacation,notified),
CONSTRAINT vacation_notification_pkey FOREIGN KEY (on_vacation) REFERENCES vacation (email) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation Notifications';
----------------------------
The roundCube update is a success
2017-05-21 12:15:23 URL:https://codeload.github.com/roundcube/roundcubemail/zip/release-1.2 [4952192] -> "roundcube.zip" [1]
Installer verified
All settings correct for using Composer
Downloading...
Composer (version 1.4.2) successfully installed to: /etc/sentora/panel/etc/apps/webmail/composer.phar
Use it: php composer.phar
What version are you upgrading from? Type '?' if you don't know.
1.0.4
Executing database schema update.
Updating database schema (2013042700)... [OK]
Updating database schema (2013052500)... [OK]
Updating database schema (2013061000)... [OK]
Updating database schema (2014042900)... [OK]
Updating database schema (2015030800)... [OK]
Updating database schema (2015111100)... [OK]
This instance of Roundcube is up-to-date.
------------------------------
And I can create maibox.
So All I have to find, it's why I can't create mailbox after master branch installation. I saw some post with problem to create sub domain aswell. It's probably the same base bug. So probably both will be solve in the same time.
Eulogy