Closed ateliershen closed 7 years ago
Seems your web user cannot write to composer.json.. Chmodding to 777 doesn't always solve it, eg if that file is owned by root for instance. The better course of action is the chown the files to the web user.
@luceos Thank you for your reply. It works after chown the files to the web user. However, I'm not able to upgrade the Upload from 0.5.7 to 0.6.0-beta ( is it because of "beta"? ). But it works like a charm when installing other apps.
@ateliershen do you see any errors in the task page of Bazaar related to the upload update action?
@luceos No I didn't see any error nor warnings when I update Upload. The page refreshed without any changes. Please refer: https://imgur.com/a/kMBG8
On that Bazaar page at the top are a number of buttons. The last one is linking to a tasks page which holds a history of executed tasks within Bazaar. Can you see if that tasks page has information about your recent action while updating upload?
@luceos Sorry I didn't notice before.😢 Below is the latest log of Upload:
Seems it didn't install the 0.6.0-beta at all.
Can you try downloading manually with composer?
composer require flagrow/upload
I'm curious what it says xD
@luceos Hi Luceos,
It's kind of complex...
[Composer\Downloader\TransportException]
The "http://packagist.org/p/provider-2017-01%2423fe1d4098504a44c409de50742b
e760624c04154c7800f7711ffc0415936788.json" file could not be downloaded (HT
TP/1.1 404 Not Found)
I turned into the original extension manager to uninstall, nothing happened.
So I try to uninstall the plugin via Bazaar, it shows a warning modal after uninstallation. When I click the modal, my site crashed with 500 error.
I went back to terminal and reinstalled Upload with composer, it updates all the packages. My site was up again.
I decided to wait until 0.6.0 (not beta). XD
======
BTW, the log in Bazaar is empty.
I'll close this for now, feel free to reply or open a new issue if you still experience issues @ateliershen :wink:
Steps to reproduce
Expected behaviour
Upload should be upgraded (0.5.7 -> 0.6.0-beta).
Actual behaviour
Website down 500 ERROR.
Configuration
Operating system: Ubuntu 17.04
Version of Bazaar: 0.2.4 Version of Flarum: v0.1.0-beta.7 Other extensions: Here's what I got when running 'php flarum info' after site down:
**Logs**:
[2017-09-06 16:04:10] production.ERROR: Write permission missing for //composer.json [2017-09-06 16:04:27] production.ERROR: Write permission missing for //composer.json