watzon / paste69 Goto Github PK
View Code? Open in Web Editor NEWSimple CURL-able pastebin
Home Page: https://0x45.st
License: MIT License
Simple CURL-able pastebin
Home Page: https://0x45.st
License: MIT License
Hello, I'm trying to use the docker image (with docker-compose) to run the project, when I start it I get the following message:
pastebin_1 | stty: 'standard input': Inappropriate ioctl for device
pastebin_1 | stty: 'standard input': Inappropriate ioctl for device
pastebin_1 |
pastebin_1 | In db.cr line 101:
pastebin_1 |
pastebin_1 | no driver was registered for the schema "sqlite", did you maybe forget to r
pastebin_1 | equire the database driver?
pastebin_1 |
pastebin_1 |
pastebin_1 | prune
pastebin_1 |
pastebin_1 | 2024-06-08T21:23:05.921285Z INFO - athena.framework: Server has started and is listening at http://0.0.0.0:4633
And it starts correctly, but as soon as I try to use it, the sqlite error bites back:
pastebin_1 | 2024-06-08T21:23:10.626409Z INFO - athena.framework: Matched route 'paste69_home_controller_index' -- route: "paste69_home_controller_index", route_parameters: {"_route" => "paste69_home_controller_index", "_controller" => "Paste69::HomeController#index"}, request_uri: "/", method: "GET"
pastebin_1 | 2024-06-08T21:24:35.379922Z INFO - athena.framework: Matched route 'paste69_home_controller_index' -- route: "paste69_home_controller_index", route_parameters: {"_route" => "paste69_home_controller_index", "_controller" => "Paste69::HomeController#index"}, request_uri: "/", method: "GET"
pastebin_1 | 2024-06-08T21:24:52.100878Z INFO - athena.framework: Matched route 'paste69_paste_controller_create_paste' -- route: "paste69_paste_controller_create_paste", route_parameters: {"_route" => "paste69_paste_controller_create_paste", "_controller" => "Paste69::PasteController#create_paste"}, request_uri: "/", method: "POST"
pastebin_1 | 2024-06-08T21:24:52.363819Z ERROR - athena.framework: Uncaught exception #<ArgumentError:no driver was registered for the schema "sqlite", did you maybe forget to require the database driver?> at /usr/share/crystal/src/primitives.cr:36:1 in 'get_connection'
pastebin_1 | no driver was registered for the schema "sqlite", did you maybe forget to require the database driver? (ArgumentError)
pastebin_1 | from /usr/share/crystal/src/primitives.cr:36:1 in 'get_connection'
pastebin_1 | from lib/crecto/src/crecto/repo.cr:88:30 in 'all'
pastebin_1 | from /usr/share/crystal/src/indexable.cr:574:11 in 'get_by:sha256'
pastebin_1 | from src/models/paste.cr:81:18 in 'create_paste'
pastebin_1 | from lib/athena/src/action.cr:42:13 in 'handle_raw'
pastebin_1 | from lib/athena/src/route_handler.cr:19:5 in '->'
pastebin_1 | from /usr/share/crystal/src/http/server/request_processor.cr:51:20 in 'handle_client'
pastebin_1 | from /usr/share/crystal/src/fiber.cr:146:11 in 'run'
pastebin_1 | from ???
do I need a specific configuration that I'm missing? the docker-compose is fairly simple:
version: '3.3'
services:
pastebin:
image: ghcr.io/watzon/paste69
ports:
- <private>
environment:
- PORT=<private>
- SITE_URL=<private>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.