Does not work #1

Closed
opened 2017-04-26 12:22:32 -05:00 by Havouza · 15 comments
Havouza commented 2017-04-26 12:22:32 -05:00 (Migrated from github.com)

Hi!
The install OK but update dont work. Every step produce the attached warning and after pressing update, nothing happens, only the warnings
screenshot 2017-04-26 19 33 12

Hi! The install OK but update dont work. Every step produce the attached warning and after pressing update, nothing happens, only the warnings ![screenshot 2017-04-26 19 33 12](https://cloud.githubusercontent.com/assets/25871096/25447487/0eb63854-2abe-11e7-9cff-4b499a8fc8fd.png)
Havouza commented 2017-04-26 12:47:48 -05:00 (Migrated from github.com)

Installed 1.1.1

You do not have permission to configure this module.

Installed 1.1.1 You do not have permission to configure this module.
firstred commented 2017-04-26 13:02:48 -05:00 (Migrated from github.com)

Confirmed. Thanks

Confirmed. Thanks
firstred commented 2017-04-26 13:03:17 -05:00 (Migrated from github.com)

But does it block you from upgrading? I just successfully upgraded 3 stores that showed this warning, too.

But does it block you from upgrading? I just successfully upgraded 3 stores that showed this warning, too.
SeeTwoDev commented 2017-04-26 13:08:00 -05:00 (Migrated from github.com)

Having the Notices in debug mode, too.

And i can't seem to go forward. the script seems to think not all the checkboxes are there.
screenshot-at-14-04-09

Having the Notices in debug mode, too. And i can't seem to go forward. the script seems to think not all the checkboxes are there. ![screenshot-at-14-04-09](https://cloud.githubusercontent.com/assets/5693643/25449441/bf588c3c-2a89-11e7-90ac-0b56b6c3e7cf.png)
firstred commented 2017-04-26 13:13:10 -05:00 (Migrated from github.com)

There is one check missing from the list that is being displayed, I noticed and that is "is the autoupgrade folder (admin/autoupgrade) writable?"

There is one check missing from the list that is being displayed, I noticed and that is "is the autoupgrade folder (admin/autoupgrade) writable?"
SeeTwoDev commented 2017-04-26 13:18:06 -05:00 (Migrated from github.com)

Check gitter, think i found the issue

Check gitter, think i found the issue
Havouza commented 2017-04-26 13:19:18 -05:00 (Migrated from github.com)

The module does not get installed even it it say so. It is still in the list with green install button

The module does not get installed even it it say so. It is still in the list with green install button
SeeTwoDev commented 2017-04-26 13:23:37 -05:00 (Migrated from github.com)

Got it to work.

Change lin 864 in tbupdater.php to $allowedArray['admin_au_writable'] = ConfigurationTest::testDir($adminDir.DIRECTORY_SEPARATOR.$tools->autoupgradeDir, false, $report, false);

(the false at the end was change from true. It's a relative path, not asolute.

Got it to work. Change lin 864 in tbupdater.php to $allowedArray['admin_au_writable'] = ConfigurationTest::testDir($adminDir.DIRECTORY_SEPARATOR.$tools->autoupgradeDir, false, $report, false); (the false at the end was change from true. It's a relative path, not asolute.
firstred commented 2017-04-26 13:24:28 -05:00 (Migrated from github.com)

@Havouza What permissions does your current employee have and what version are you using?

@Havouza What permissions does your current employee have and what version are you using?
Havouza commented 2017-04-26 13:32:14 -05:00 (Migrated from github.com)

Superadmin and TB1.0.0 updater 1.1.1

Superadmin and TB1.0.0 updater 1.1.1
Havouza commented 2017-04-26 13:42:38 -05:00 (Migrated from github.com)

That change did not solve my problem. I still cant install the module even if it say it is
screenshot 2017-04-26 20 52 29

That change did not solve my problem. I still cant install the module even if it say it is ![screenshot 2017-04-26 20 52 29](https://cloud.githubusercontent.com/assets/25871096/25450953/40dec656-2ac9-11e7-9784-5ad0c99898cb.png)
firstred commented 2017-04-26 15:22:43 -05:00 (Migrated from github.com)

@Havouza Same problem with overrides disabled?

@Havouza Same problem with overrides disabled?
Havouza commented 2017-04-26 15:25:14 -05:00 (Migrated from github.com)

I deleted the module and uploaded it again, changed the line 864 and the update works but get the same errors as SiliticX

So I have restored latest backup from this morning and will test again tomorrow. Perhaps the patches are correct then. For the moment I see double computers.

Thanks for amazing work

I deleted the module and uploaded it again, changed the line 864 and the update works but get the same errors as SiliticX So I have restored latest backup from this morning and will test again tomorrow. Perhaps the patches are correct then. For the moment I see double computers. Thanks for amazing work
Havouza commented 2017-04-27 01:26:21 -05:00 (Migrated from github.com)

Hi Michael!

Cant add this in Github somehow

Well, slept on it and made a new test today. One warning came up on install but install run

After update following warning


 

`SQL 1.0.1 1146 in ALTER TABLE `tb_product_shop_attribute` ALTER COLUMN `available_date` SET DEFAULT '1970-01-01': Table 'db_beauty.tb_product_shop_attribute' doesn't exist

SQL 1.0.1 1146 in UPDATE `tb_product_shop_attribute` SET `available_date` = '1970-01-01' WHERE CAST(`available_date` AS CHAR(20)) = '0000-00-00 00:00:00': Table 'db_beauty.tb_product_shop_attribute' doesn't exist`

Warning detected during upgrade.

When I look in the db the name of the table is product_attribute_shop

From: Michael Dekker [mailto:notifications@github.com]
Sent: 26 April 2017 23:23
To: thirtybees/tbupdater
Cc: Havouza; Mention
Subject: Re: [thirtybees/tbupdater] Does not work (#1)

@Havouza https://github.com/Havouza Same problem with overrides disabled?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/thirtybees/tbupdater/issues/1#issuecomment-297529996 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYrC-P9E9rzfZjZmjjIGYWv4dM13HtYbks5rz6eUgaJpZM4NJLMz . https://github.com/notifications/beacon/AYrC-JsPmSDTfc_rpQsMVPo9eU2hEUl8ks5rz6eUgaJpZM4NJLMz.gif

Hi Michael! Cant add this in Github somehow Well, slept on it and made a new test today. One warning came up on install but install run After update following warning ``` `SQL 1.0.1 1146 in ALTER TABLE `tb_product_shop_attribute` ALTER COLUMN `available_date` SET DEFAULT '1970-01-01': Table 'db_beauty.tb_product_shop_attribute' doesn't exist SQL 1.0.1 1146 in UPDATE `tb_product_shop_attribute` SET `available_date` = '1970-01-01' WHERE CAST(`available_date` AS CHAR(20)) = '0000-00-00 00:00:00': Table 'db_beauty.tb_product_shop_attribute' doesn't exist` ``` Warning detected during upgrade. When I look in the db the name of the table is product_attribute_shop From: Michael Dekker [mailto:notifications@github.com] Sent: 26 April 2017 23:23 To: thirtybees/tbupdater Cc: Havouza; Mention Subject: Re: [thirtybees/tbupdater] Does not work (#1) @Havouza <https://github.com/Havouza> Same problem with overrides disabled? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/thirtybees/tbupdater/issues/1#issuecomment-297529996> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AYrC-P9E9rzfZjZmjjIGYWv4dM13HtYbks5rz6eUgaJpZM4NJLMz> . <https://github.com/notifications/beacon/AYrC-JsPmSDTfc_rpQsMVPo9eU2hEUl8ks5rz6eUgaJpZM4NJLMz.gif>
firstred commented 2017-11-20 18:33:06 -06:00 (Migrated from github.com)

Initial issue has been addressed with version 1.2.5. If you find anything new feel free to open a new issue.

Initial issue has been addressed with version 1.2.5. If you find anything new feel free to open a new issue.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-thirtybees/tbupdater#1
No description provided.