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

"An error occurred #122

Open
Jofairden opened this issue Oct 6, 2018 · 7 comments
Open

"An error occurred #122

Jofairden opened this issue Oct 6, 2018 · 7 comments

Comments

@Jofairden
Copy link

Steps to reproduce

  1. Try to install an extension

Expected behaviour

No error

Actual behaviour

Error

Configuration

Operating system:

Version of Bazaar: 0.2.4
Version of Flarum: 0.1.0-beta.7
Other extensions:

EXT flarum-bbcode v0.1.0-beta.5
EXT wiwatsrt-best-answer v0.1.0-beta.11
EXT pnobbe-oauth-discord 1.0.2
EXT michaelbelgium-discussion-views v0.1.0-beta.7-3.3
EXT flarum-emoji v0.1.0-beta.6
EXT flarum-english v0.1.0-beta.7
EXT flagrow-bazaar 0.2.4
EXT flagrow-byobu 0.1.2
EXT flagrow-upload 0.6.0
EXT flarum-flags v0.1.0-beta.7
EXT flarum-auth-github v0.1.0-beta.6
EXT flarum-likes v0.1.0-beta.6
EXT flarum-lock v0.1.0-beta.7
EXT flarum-markdown v0.1.0-beta.5
EXT flarum-mentions v0.1.0-beta.7
EXT sijad-pages 0.1.0-beta.3
EXT wiseclock-profile-image-crop 0.1.1
EXT reflar-gamification 3.0.11
EXT reflar-koseki 0.2.0
EXT reflar-uncache 0.1.0-beta.3
EXT flarum-sticky v0.1.0-beta.7
EXT flarum-subscriptions v0.1.0-beta.6
EXT flarum-suspend v0.1.0-beta.7
EXT flarum-tags v0.1.0-beta.8
**Logs**: The mod kept complaining about not being able to write to composer.json, then composer.lock then vendor/ I chmod them all and it should be fine. After I tried to install something I can now no longer access the bazaar page it just says: ```An error occured. Check the History tab and your Flarum log for details. Don't be afraid to report it to us. Oops! Something went wrong. Please reload the page and try again.``` It also created a vendor2/ folder for some reason
@Jofairden
Copy link
Author

Now, itt actaully bricked my entire forum. Every page went completely blank. I can no longer even access the dashboard.

@luceos
Copy link
Member

luceos commented Oct 6, 2018

Nothing in the logs? Also you can fix the forum by deleting vendor and manually running composer install. Sorry we're improving bazaar, it's a pretty groundbreaking and young extension.

@Jofairden
Copy link
Author

Hmm.. there was a bunch of stuff in the logs, but I never saw anything mentioning bazaar. (something something zen zomething), for now I completely reinstalled Flarum (I'm not doing production stuff yet anyway, but soon)

I think what might've been the problem is the folder not owned by www-data, I just noticed it. Let me actually try it again now that I've fixed that.

@Jofairden
Copy link
Author

Jofairden commented Oct 6, 2018

Hmm, I'm now getting

We recommend allowing PHP to use at least of memory, your php.ini currently allows . Although we try to increase the memory limit during runtime, success depends on your hosting environment. For further information, refer to the wiki. 

But when I use htop, I only see 470M/1.95G usage

@Jofairden
Copy link
Author

Jofairden commented Oct 6, 2018

The bazaar page just says Processing for a second, and then simply no extension shows. The red button is giving that above error (this is a fresh install, no extensions added)

@luceos
Copy link
Member

luceos commented Oct 8, 2018

Hm the variable isn't even added. It should say that it needs 1GB of memory. Also the nginx/fpm timeout should be considerably large (15 minutes), because we're pulling in a lot of data unpaginated. The upcoming version for flarum beta 8 will be able to read paginated and run tasks in the background.

@Jofairden
Copy link
Author

Before I would instantly see the extensions, can I do something about it?

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

No branches or pull requests

2 participants