Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment Post Not Workiing #14107

Open
1 task done
4nanook opened this issue Apr 21, 2024 · 6 comments
Open
1 task done

Comment Post Not Workiing #14107

4nanook opened this issue Apr 21, 2024 · 6 comments
Labels

Comments

@4nanook
Copy link

4nanook commented Apr 21, 2024

  • I have searched open and closed issues for duplicates

Bug Description

Steps to Reproduce

  1. step one
    Try to post a reply to a comment or a comment. An actual post works. But when trying to reply, the little spinny thing spins until I reload the page and the comment does not appear.

Expected Result:
Just post and come back to a ready state.

In all fairness this is likely to be an issue with my machine but if anyone can identify and point it out it would be much appreciated. I was running Ubuntu 22.04 but upgraded to 24.04, however something is seriously broken in initramfs on 24.04 and it would not auto-assemble the raid1 partition that root is on so it just booted into the emergency prompt. There, I could assemble the raids manually and mount the partitions and continue but given the machine is in a co-lo facility 25 miles from my home, it is no good to have to drive 50 miles every time the machine is rebooted. However since there is no way to downgrade, I had to re-install all of the operating system. I did not re-install friendica as it was on a separate partition but I did bring it to the current development release.

Also previously I had Apache 2.4.57 installed, self compiled, but opted to go with the latest, 2.4.59 on the re-install, still same configuration as previous. I am using su-exec and php8.1 cgi. I am not sure what PHP version I had friendica running under previously, I have 5.6 through 8.3 installed on the machine but chose 8.1 as it was the oldest not past end of life for security updates. Friendica runs as friendica not httpd or www-data or some other generic ID. This is how it was previously configured.

Initially I had numerous errors in friendica logs, mariadb logs, and apache logs but I've chased all of those down and now is running clean but comments still don't work.

I've tried disabling all my plugins and even tried a different browser (normally use Firefox but tried Microsoft Edge (from Linux not Windows) and it behaves the same way.

Screenshots

Platform Info

Ubuntu 22.04 on i9-10900x 4.2 Ghz 256GB RAM, database is on Raid1 array consisting of two wd-black 1TB SSD in a RAID1, program and storage files are on two Western Digital 14TB Ultrastar DC HC530 SATA HDD - 7200 RPM Class, SATA 6 Gb/s, 512MB Cache, 3.5" - WUH721414ALE604 OEM in a RAID1. I doubt hardware is the issue as it has not changed since before the reload.

Friendica Version:

This is Friendica, version 2024.06-dev that is running at the web location https://friendica.eskimo.com. The database version is 1560/1560, the post update version is 1544/1550.

Friendica Source:
Github

PHP version:
PHP 8.1.27 (cli) (built: Apr 11 2024 21:34:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans

SQL version:
mariadb from 11.3.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper

@4nanook 4nanook added the Bug label Apr 21, 2024
@4nanook
Copy link
Author

4nanook commented Apr 21, 2024

So if anyone can give me a clue as to where to go further to troubleshoot, it would be much appreciated.

@haheute
Copy link

haheute commented Apr 21, 2024

Maybe you can try to see something in the browser developer tools (rightclick on the page --> inspect).
There directly or in the network tab could appear some information what happens, when you try to post a comment. ..

What error code or response, maybe.
Otherwise you could try to find something in the server logs.. or in the logs in the admin section of your instance.

@4nanook
Copy link
Author

4nanook commented Apr 22, 2024

Unfortunately this was not very productive.
friendica
Just the header line until I hit reload.

@haheute
Copy link

haheute commented Apr 22, 2024

Maybe check the console or network tabs. Or, as said above, try to find some something in the logs.

@4nanook
Copy link
Author

4nanook commented Apr 22, 2024

Nada, as I in the initial post of this bug, I've already worked through the Friendica, Apache, and mariadb logs and cleaned up all the issues there but still haven't fixed this behavior. I am getting close to doing a full re-install but really don't want to loose three years worth of history and two thousand plus users profiles.

@4nanook
Copy link
Author

4nanook commented Apr 22, 2024

Also I have display_errors and startup_errors in php turned on and no errors are printed either. I do have some weird php errors showing up in /var/log/syslog:

Apr 22 04:27:10 inuvik php: PHP 3. Friendica\Core\System::echoResponse($response = class GuzzleHttp\Psr7\Response { private $reasonPhrase = 'OK'; private $statusCode = 200; private $headers = ['Content-type' => [...], 'X-RESPONSE-TYPE' => [...]]; private $headerNames = ['content-type' => 'Content-type', 'x-response-type' => 'X-RESPONSE-TYPE']; private $protocol = '1.1'; private $stream = class GuzzleHttp\Psr7\Stream { private $stream = resource(414) of type (stream); private $size = NULL; private $seekable = TRUE; private $readable = TRUE; private $writable = TRUE; private $uri = 'php://temp'; private $customMetadata = [...] } }) /space/www/friendica/src/App.php:723

Apr 22 04:27:10 inuvik php: PHP 4. header($header = 'X-RESPONSE-TYPE: json') /space/www/friendica/src/Core/System.php:307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants