Comments (7)
Hi @JaeggerLegane,
Can you detail the environment you're installing BookStack into (Operating System, database software & version/location etc...)
from bookstack.
Hi @JaeggerLegane, Can you detail the environment you're installing BookStack into (Operating System, database software & version/location etc...)
Hello Dan,
Thanks for your reply.
Here are some details of my environment:
- Shared host
- Apache 2.4.59
- MariaDB 10.5.25
- OS = Linux
- Web server = php 8.1.28
The error seems to point to script "2020_08_04_111754_drop_joint_permissions_id".
Do I need to update this script? If so, could you tell me what I would need to change?
Thanks in advance for your help
from bookstack.
Hi @JaeggerLegane,
You should not need to edit any app files, including that script.
The error shared would only really appear on subsequent php artisan migrate
runs, after the first.
The real underlying issue would likely only have been seen on the original php artisan migrate
run.
Ideally we need to see the error message thrown on the first command run.
If possible, and if there's no existing data to save in this instance, Could you delete all existing tables in the bookstack database then re-run the php artisan migrate
step, being sure to record any errors that appear on first run.
Be careful if you share this database with any other applications, to ensure you only delete the tables for BookStack (always a good idea to backup the whole database if there's any risk of data).
from bookstack.
Hi @JaeggerLegane, You should not need to edit any app files, including that script.
The error shared would only really appear on subsequent
php artisan migrate
runs, after the first. The real underlying issue would likely only have been seen on the originalphp artisan migrate
run. Ideally we need to see the error message thrown on the first command run.If possible, and if there's no existing data to save in this instance, Could you delete all existing tables in the bookstack database then re-run the
php artisan migrate
step, being sure to record any errors that appear on first run. Be careful if you share this database with any other applications, to ensure you only delete the tables for BookStack (always a good idea to backup the whole database if there's any risk of data).
Hello Dan,
Thanks for your response.
I've deleted all the underlying tables in the DB and reran the php artisan migrate command.
I'm getting an error again relating to the permissions id script but it's slightly different this time, see below:
Any ideas?
from bookstack.
Thanks for the information @JaeggerLegane.
I've seen this occur before when an older (now-non-default) database engine is used.
Does your shared hosting provider give any control/option/access for the default database engine in use? Or do you have access to change default database configuration options at all?
from bookstack.
Thanks for the information @JaeggerLegane. I've seen this occur before when an older (now-non-default) database engine is used. Does your shared hosting provider give any control/option/access for the default database engine in use? Or do you have access to change default database configuration options at all?
I have considerable access to make changes to the DB engine myself yes. But for anything else I may need the webhost team, they are however pretty flexible on my requests.
What would you recommend that I change?
from bookstack.
@JaeggerLegane Do you have the ability to set the default_storage_engineoption? (Commonly done on non-shared systems via a
my.conf` file)
If so, set that to default_storage_engine=InnoDB
(which is usually the default).
Then restart the database, then re-attempt from an empty database.
from bookstack.
Related Issues (20)
- Create new user does not send email HOT 1
- Expired OIDC login button
- Bullet list
- php8.3 .ini upload increase not working HOT 1
- Changelog for first revision is hardcoded as "initial revision" and not respecting the given changelog HOT 1
- Show update date/time in search result
- Session Management HOT 4
- Drawing page HOT 1
- Thumbnail via OIDC HOT 1
- Collapsible Block wont open after getting focused via href-Link
- Clean old revisions HOT 4
- Authentication Fails logged to webGUI and/or PHP/HTTPD
- Updating "thumbnailPhoto" on LDAP/AD does not get reflected in Bookstack after login
- PDF Preview HOT 4
- test_frame_src_csp_header_set fails on customized ALLOWED_IFRAME_SOURCES
- Copy Permissions (to books) only adds permissions, does not remove them
- Non PSR-4 compliant test class namespace
- User Avatar Caching HOT 1
- Import externally linked images to filesystem, on demand.
- Sorting pages HOT 3
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 bookstack.