Problems with installation, uninstallation


no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Wed Jun 12, 2024 12:19 am • via Web
Yesterday I first time downloaded the extention from this site and the version was 1.0.2

I had a timeout problem when installing (504) When installing the extention there were no messages about successful installation. After clicking "enable ext" the page was loading and loading... After a while I got 504. Extention was not installed but the data was, so I had to click "enable ext" once again to make it work. Everything seemed to work fine but when I tried to delete any reaction in "Configure Reactions" - it didn't work.

I decided to reinstall. I disabled the ext. Clicked "delete the data" - and again there was a timeout. But the ext was disabled and there were no link "delete the data" any more. I cleared the cache and deleted the files from the server. I thought the archive coud be corrupted and decided to download again. And this time I got 1.0.3 version for download

But nevertheless again while installing I had a timeout.
And I still have the same problem - I can't delete reaction from Configure Reactions I onlly can disable them
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Wed Jun 12, 2024 12:40 am • via Web
My problem looks similar to this one: viewtopic.php?f=53&t=1338
PHPBB - 3.3.10
PHP - 8.1
400000 posts
10000 users
VPS KVM
I've about 30 extentions installed but non of them similar to yours - I don't have another reaction system and never had.

In logs I have only this:
Code: Select all
2024/06/12 02:43:07 [error] 2581880#2581880: *32175835 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: xxx.ru, request: "POST /adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=delete_data&ext_name=canidev%2Freactions&hash=1e250abc HTTP/2.0", upstream: "http://0.0.0.0:81/adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=delete_data&ext_name=canidev%2Freactions&hash=1e250abc", host: "xxx.ru", referrer: "https://xxx.ru/adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=delete_data_pre&ext_name=canidev%2Freactions"
2024/06/12 02:59:37 [error] 2581880#2581880: *32177400 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: xxx.ru, request: "POST /adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=enable&ext_name=canidev%2Freactions&hash=9a8e30ed HTTP/2.0", upstream: "http://0.0.0.0:81/adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=enable&ext_name=canidev%2Freactions&hash=9a8e30ed", host: "xxx.ru", referrer: "https://xxx.ru/adm/?i=acp_extensions&sid=ba26d4db9ef9986fb68ce082f2e2f1c8&mode=main&action=enable_pre&ext_name=canidev%2Freactions"


No errors in logs when trying to delete reactions.
User avatar
IvanPF
Administrator
 
Posts: 2116
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Wed Jun 12, 2024 9:47 am • via Web
One of the installation steps is to create a new index on the phpbb_posts table. It is possible that in certain cases, with many posts, this task takes a long time and a timeout occurs.
I may have to remove the function of showing the score within the viewtopic page, since that's why all of this appears.

I can't fix the problem in this version, but I will try to do so in the next one.
An option right now would be to install it through the command console, where there is no timeout or, if you prefer, I can refund the money, since it doesn't work for you.
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Wed Jun 12, 2024 4:16 pm • via Web
Thank U for the answer. No I don't need the refund anyway. It almost works and the ext is good and necessary.
Unfortunately I don't have enought skills to install it through the command console.
How can I check if the fields are created correctly? Can I somehow check are there any other errors because of timeout? The only bad symptom besides problems with installation I have - is that I can't remove the reaction in admin panel. But I can turn it off and put it in the end of the list, so I can live with it witout any problems.

What makes me worried is that because of timeout I can't be sure that all steps of installation are done properly and there will be no problems with update and other things. Because if I let users use the extention and afterwards will have to delete their reactions - it will be no good, you see.

By the way the function of showing the score within the viewtopic page slows down the forum a lot so I had to turn it off immediately.
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Fri Jun 14, 2024 8:59 pm • via Web
When I try to reinstall the extention.
The error is:
SQL ERROR [ mysqli ]
Duplicate entry 'canidev/reactions' for key 'phpbb_ext.ext_name' [1062]
SQL
INSERT INTO phpbb_ext (ext_name, ext_active, ext_state) VALUES ('canidev/reactions', 0, 's:13:\"notifications\";')
BACKTRACE

When I try to completely delete the extention.
The error is:
SQL ERROR [ mysqli ]
Can't DROP 'post_reaction_score'; check that column/key exists [1091]
SQL
ALTER TABLE `phpbb_posts` DROP COLUMN `post_reaction_score`
BACKTRACE
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Fri Jun 14, 2024 9:24 pm • via Web
I tried to install the ext on my test forum which is on the same VPS and has the same settings as the main forum, but there are only 100 posts.
And the installation went without any problems. So the problems with installation are because of big number of posts as you said.

BUT! The deletion of reactions in admin panel doesn't work even when the installaton was correct.
User avatar
IvanPF
Administrator
 
Posts: 2116
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Fri Jun 14, 2024 9:27 pm • via Web
romeo_py wrote:I tried to install the ext on my test forum which is on the same VPS and has the same settings as the main forum, but there are only 100 posts.
And the installation went without any problems. So the problems with installation are because of big number of posts as you said.

BUT! The deletion of reactions in admin panel doesn't work even when the installaton was correct.

I'm working on a new version to try to fix this issue.
User avatar
IvanPF
Administrator
 
Posts: 2116
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Sun Jun 16, 2024 5:42 pm • via Web
BUT! The deletion of reactions in admin panel doesn't work even when the installaton was correct.

Please, before you try to delete a reaction, open the "Console" in the browser. (Ctrl + Shift + J) and see if any message appears when you press delete. That can give me clues about the error.
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Sun Jun 16, 2024 7:09 pm • via Web
No errors. Everithing looks normal.

1. Screenshot before I click the trasbin icon:
Untitled-1.jpg

2. Screenshot after I click the trasbin icon, the announcement which appeared says: "Are you sure you want to perform this operation (Y|N)"
Untitled-2.jpg

3. After clicking Yes I am redirected to the main page of admin panel. No errors and no result - the reaction remains undeleted.
Untitled-3.jpg
no_avatar
romeo_py
 
Posts: 10
Joined: Mon May 20, 2024 5:09 am
 Sat Jul 13, 2024 11:06 pm • via Web
Any news about new version?

And I would like to know what fields this ext creates in DB to be able to completely remove it manually if necessary as now I can't do it.
Next

Who is online

Users browsing this forum: No registered users and 0 guests