3.0.0 升级组件发现 3.0.9 可以 到 3.0.13 就报错
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the upgrade from hyperf/crontab v3.0.9 to v3.0.13 with composer update, then run php bin/hyperf.php start. Inspect the startup path in vendor/hyperf/server/src/Server.php and compare the two package versions to identify why the Swoole event loop is already created. Done means the upgraded version starts without the reported warning and deprecation.
Written by the indexing model from the issue text.
Description
/data # composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading hyperf/crontab (v3.0.9 => v3.0.13)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading hyperf/crontab (v3.0.13)
- Upgrading hyperf/crontab (v3.0.9 => v3.0.13): Extracting archive
Package laminas/laminas-mime is abandoned, you should avoid using it. Use symfony/mime instead.
Generating optimized autoload files
> rm -rf runtime/container
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
/data # php bin/hyperf.php start
START
PHP Warning: Swoole\Server::start(): eventLoop has already been created, unable to start Swoole\Http\Server in /data/vendor/hyperf/server/src/Server.php on line 50
Warning: Swoole\Server::start(): eventLoop has already been created, unable to start Swoole\Http\Server in /data/vendor/hyperf/server/src/Server.php on line 50
PHP Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
3.0.9 就正常
/data # composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Downgrading hyperf/crontab (v3.0.13 => v3.0.9)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downgrading hyperf/crontab (v3.0.13 => v3.0.9): Extracting archive
Package laminas/laminas-mime is abandoned, you should avoid using it. Use symfony/mime instead.
Generating optimized autoload files
> rm -rf runtime/container
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
- Dominant language
- PHP
- Stars
- 13
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hyperf/crontab
-
[BUG] 定时任务重复执行Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
任务执行时间迟了一秒钟Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
解析不了 每月最后一天Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
mailcow/mailcow-dockerized#7652 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
benjaminkott/bootstrap_package#1675 ·