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

full-install.sql missing? #355

Open
lightweight opened this issue May 24, 2024 · 4 comments
Open

full-install.sql missing? #355

lightweight opened this issue May 24, 2024 · 4 comments

Comments

@lightweight
Copy link

I have been trying to do an install, but note that the database_schema/full-install.sql file is missing (and has been for a couple versions)... is it somehow meant to be assembled? I can't see any mention of it. Am I missing something?

@JohnVillalovos
Copy link
Contributor

I use the "web install method".

Go to http://example.com/Web/install Of course replace example.com with your server info.

But I do see in the latest release zip file they have:
database_schema/full-install.sql

I downloaded the release from: https://github.com/LibreBooking/app/releases/tag/2.8.6.1

I think the full-install.sql file is created when making a release. It isn't in the cloned repository.

@JohnVillalovos
Copy link
Contributor

I'm not 100% sure but I think the file is created by concatenating create-schema.sql & create-data.sql together

app/build.xml

Lines 143 to 145 in f64538c

<append destFile="${stagingdir}/${sql.file.full}">
<filelist dir="${stagingdir}/database_schema" files="create-schema.sql,create-data.sql" />
</append>

@lightweight
Copy link
Author

Many thanks for your help @JohnVillalovos - I used those two files to create my DB in any case, and my instance (running via Docker-Compose but not using the provided LibreBooking image or recipe) is running with pure Nginx (no Apache) and an Nginx reverse proxy.

@JohnVillalovos
Copy link
Contributor

Glad to hear you got it working @lightweight 👍

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

No branches or pull requests

2 participants