Comments (7)
This has been most likely a memory issue.
from bazaar.
@luceos but how come it used to work like a charm before? It used to work perfectly until i updated to the version with the update feature.
from bazaar.
Updating is a very lengthy process, we will explore new ways of reducing memory usage and process duration in the future. We already have some ideas how to do so, but that will be a bit more far-reaching in what we do to change the Flarum install.
from bazaar.
@luceos it's not the updating of extensions that's not working (in fact, I haven't even tried using the update feature yet) .... it's the installation of extensions.... it used to always work but ever since the bazaar version that contains the extension update feature, even the extensions that successfully installed previously now give this same exact error if i try install them again (yes, i did remove them for the purpose of testing... but I removed them through ssh)
from bazaar.
I have no idea what could trigger this error, but here are a few leads:
Laravel sets a database reconnect strategy (https://github.com/laravel/framework/blob/v5.1.38/src/Illuminate/Database/DatabaseManager.php#L195) but Flarum does not (https://github.com/flarum/core/blob/v0.1.0-beta.6/src/Database/DatabaseServiceProvider.php) so any database timeout will cause this exception (thrown here https://github.com/laravel/framework/blob/v5.1.38/src/Illuminate/Database/Connection.php#L715)
Not found any useful Stackoverflow thread so far, this exception probably never happens with a real Laravel application given it has a reconnector. Maybe adding a reconnector to Flarum could prevent such issue to happen again.
from bazaar.
We could temporarily do this ourselves and PR against core to patch this.
from bazaar.
@luceos Can't wait!!!
from bazaar.
Related Issues (20)
- Sync bazaar.md or readme.md
- Pagination doesn't work at flagrow.io HOT 1
- "Commissioned by" flagrow extra field HOT 1
- Bazar stuck unknown status when installing extensions HOT 11
- Bazaar Not loading HOT 2
- Bazaar extension list looping HOT 4
- Add a way for premium extension to authenticate themselves to external service HOT 1
- TypeError: n.apply is not a function HOT 1
- Extention... not installing? HOT 2
- Token field empty HOT 19
- Can't connect my flarum installation to flagrow HOT 28
- Waits for other background commands to be executed
- Bazaar Activated but no add-ins listed - Missing Token? HOT 11
- Failed to clone
- Substr error on extension update/install
- InvalidArgumentException. Cannot identify 268435456. HOT 2
- Error when I try to install FoF Gamification
- Error with fof-discussion-language
- Token field empty HOT 2
- no extensions are displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazaar.