Open maziarz opened 5 years ago
Does a vendor2 directory exist by any chance? And any entries in the storage/logs directory that relates to this?
Does a vendor2 directory exist by any chance? And any entries in the storage/logs directory that relates to this?
Not right now, i have seen it appear, but now it has disappeared. What does that mean?
I can install extensions manually with composer.
For further debugging:
ls -la
in your Flarum installation pathI'm not sure what's causing this yet as Bazaar is pretty ground breaking I'm hoping we can get the kinks out soon.
/var/www/flarum# ls -la
total 272
drwxr-xr-x 5 www-data www-data 4096 Dec 13 19:12 .
drwxrwxr-x 5 www-data www-data 4096 Dec 13 19:11 ..
-rw-r--r-- 1 www-data www-data 354 Dec 6 08:27 .editorconfig
-rw-r--r-- 1 www-data www-data 1509 Dec 6 08:27 .nginx.conf
-rw-r--r-- 1 www-data www-data 252 Dec 6 08:27 CHANGELOG.md
-rw-r--r-- 1 www-data www-data 1073 Dec 6 08:27 LICENSE
-rw-r--r-- 1 www-data www-data 2623 Dec 6 08:27 README.md
-rw-r--r-- 1 www-data www-data 3098 Dec 13 19:15 composer.json
-rw-r--r-- 1 www-data www-data 218519 Dec 13 19:13 composer.lock
-rw-r--r-- 1 www-data www-data 471 Dec 13 19:12 config.php
-rw-r--r-- 1 www-data www-data 311 Dec 6 08:27 extend.php
-rw-r--r-- 1 www-data www-data 487 Dec 6 08:27 flarum
drwxr-xr-x 3 www-data www-data 4096 Dec 6 08:27 public
drwxr-xr-x 10 www-data www-data 4096 Dec 6 08:27 storage
drwxr-xr-x 38 www-data www-data 4096 Dec 13 19:13 vendor
mysql> SELECT * FROM bazaar_tasks;
+----+--------+---------+---------------------------+--------+---------------------+------------+-------------+------------------------------------+
| id | status | command | package | output | created_at | started_at | finished_at | command_class |
+----+--------+---------+---------------------------+--------+---------------------+------------+-------------+------------------------------------+
| 1 | NULL | install | s9e/flarum-ext-mediaembed | | 2018-12-13 19:15:50 | NULL | NULL | Flagrow\Bazaar\Jobs\RequirePackage |
+----+--------+---------+---------------------------+--------+---------------------+------------+-------------+------------------------------------+
1 row in set (0.00 sec)
crontab -u www-data -l
* * * * * php /var/www/flarum schedule:run >> /dev/null 2>&1
Oh i forgot to mention that i am using PHP-FPM 7.2
My logs were complaining about curl. So i installed php7.2-curl and it fixed the install problem. Now when i disable Use crons for task processing
the installs work without any problems, when i enable it, its still stuck.
Please do the following:
$ php flarum bazaar:task -vvv
Post the output ;)
@luceos I post here the output of the command as I have the same issue, although this issue is 1 year old.
[maicol07@maicol07 community]# php flarum bazaar:task -vvv
Processing task 11, to install jordanjay29/flarum-ext-summaries
[maicol07@maicol07 community]#
Steps to reproduce
* * * * * php /var/www/flarum schedule:run >> /dev/null 2>&1
Expected behaviour
That the extensions are installed.
Actual behaviour
It is stuck i "Unknown" status.
Configuration
Operating system: Ubuntu 18.04 LTS
Version of Bazaar: 0.3.9
Version of Flarum: 0.1.0-beta.8.1
Other extensions: +----------------------+-----------------+------------------------------------------+ | Flarum Extensions | | | +----------------------+-----------------+------------------------------------------+ | ID | Version | Commit | +----------------------+-----------------+------------------------------------------+ | flarum-approval | v0.1.0-beta.8 | 6ed2a7fa68f50dcee6570b90a66ed9af75c95e32 | | flarum-bbcode | v0.1.0-beta.8 | 345fb9d4fbc02e41f3ff9b02c79f2a27ff345722 | | flarum-emoji | v0.1.0-beta.8 | 322023b28e3aaf594b32ab5ca4ac33581516ff5f | | flarum-lang-english | v0.1.0-beta.8 | 3ec1647c0860c17aaa74870983c18dd0106fe9d7 | | flarum-flags | v0.1.0-beta.8.1 | 93c72cc864b6befc641df709ca90f89adae612f6 | | flarum-likes | v0.1.0-beta.8.1 | 1959948594b0dc2daf987b70c442d6970f8aad7b | | flarum-lock | v0.1.0-beta.8 | 55d8589f36e5e87fc08c5eb32f34e610665038c2 | | flarum-markdown | v0.1.0-beta.8 | fd67301b9eb18009bf548ffa601d0d61b8d71e8b | | flarum-mentions | v0.1.0-beta.8.1 | af80a637a0d7b5250150e9f6ba52512decb709a7 | | flarum-statistics | v0.1.0-beta.8 | 1d2c81d0c7d9eb1563e073f5acb949234c3eea88 | | flarum-sticky | v0.1.0-beta.8 | c85e9a0191da8004f54f2a1916e41471f83f19ca | | flarum-subscriptions | v0.1.0-beta.8 | 7fae63a5279aed01678d01e23d293817ce115466 | | flarum-suspend | v0.1.0-beta.8 | fcb2d4657af3123d2a8a3d0e223b43df0ed1b7a3 | | flarum-tags | v0.1.0-beta.8.2 | 58af69d4ea320e22f9e7ba2e3fdf13e2cb5cb96e | | flagrow-bazaar | 0.3.9 | 26e38959e5447ce8408047f70b17eb832c85d195 | | s9e-mediaembed | 1.0.0 | fc7b7812552ff3e1e141f1780cf089080a2510cf | | flagrow-console | 0.4.2 | 1b864b3c7c0cb6818065edf2322bc3471e08903e | +----------------------+-----------------+------------------------------------------+
**Logs**:
Insert logs here (if necessary)