チケット #48176

database connection problems on vim.org

登録: 2023-06-07 00:40 最終更新: 2023-07-17 04:35

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

A user has reported that uploading a script does not work. This happens on "https://www.vim.org/scripts/add_script.php". The error is "The package you uploaded ($package_name) is empty". The user says that the file upload did work, the browser did not report an error. The message is given when in the PHP script the "size" entry of the uploaded file is zero.

I have also seen other database related errors, they come and go. No clue when they happen. After a couple of hours later it works again.

The site was not changed, the script upload page was not changed for a year.

Can you please check the logs for vim.org for database related errors? Hopefully you can find a hint about what is wrong.

チケットの履歴 (5 件中 3 件表示)

2023-06-07 00:40 更新者: bram
  • 新しいチケット "database connection problems on vim.org" が作成されました
2023-06-08 00:14 更新者: bram
コメント

Additional information: Navigating to this page: https://www.vim.org/scripts/script_search_results.php Shows the error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I hope you can reproduce this, and find more information in logs.

2023-06-15 23:06 更新者: bram
コメント

Today it appears to work OK. No idea why, I did not make any changes.

2023-07-09 03:38 更新者: None
コメント

FWIW, I'm getting this same error today.

(Apologies for the anonymous message, I'm having some problem creating an account here.)

2023-07-17 04:35 更新者: bram
コメント

The problem persists. I can make a few requests without errors, then the database connection fails again. I assume this is because other vim.org users have also generated database transactions.

I cannot locate a log file with the exact error message. This depends on how PHP is being used. And how it is configured. You will have some engineers that know these details. For me it is like "finding a small needle in a fairly big haystack" :-).

I have not made changes to the website since 2023-06-15 23:06. If you have updated PHP or the configuration of the database connection, that would be the first place to look.

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする