Open Anthony-Webb opened 1 month ago
Hi There, Thanks for posting and sorry that you are having the issue. I don't understand if you are a novice then why do you use podmon instead of docker, I would suggest try not to modify the docker file at first and go with the defaults and use docker instead of podmon and let me know how it goes. By the way, there is no docker image published in the registry so it builds the docker image when you run the docker compose file from the repo folder, the app is still in beta and there are still some features of the app that require work, so bear with me until I publish the docker image.
Hi @Anthony-Webb,
I got it working on my local operating system and build.
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 N/A Build 22631
System Type: x64-based PC
Already tried it in a Ubuntu-22.04.5-desktop-amd64 inside a Hyper-V Virtual Machine. Had the same problems as you. Here's how I fixed it.
git clone https://github.com/Gsync/jobsync.git
docker compose up
Navigate to http://localhost:3000/
I was too lazy to setup environment variables for this as I'm new to the app. I just copied and pasted the default user name and password from the Dockerfile and was able to login ok. Haven't concerned myself with security while it's all secured behind my local firewall.
@Gsync I think some of those steps may need inclusion towards the top of the README. Willing to do a PR when asked, thanks for the hard work.
@Gsync
I don't understand if you are a novice then why do you use podmon instead of docker,
It's just what I am most familiar with, even though that familiarization is minimal.
I would suggest try not to modify the docker file at first and go with the defaults and use docker instead of podmon and let me know how it goes.
I removed all traces of Podman, and installed docker per their documentation for my distro. After running git clone https://github.com/Gsync/jobsync.git
, switching into that directory, then running docker compose up
, I get the following:
$ docker compose up
[+] Running 1/0
✔ Container jobsync_app Created 0.0s
Attaching to jobsync_app
jobsync_app | Prisma schema loaded from prisma/schema.prisma
jobsync_app | Datasource "db": SQLite database "dev.db" at "file:/data/dev.db"
jobsync_app |
jobsync_app | Error: Schema engine error:
jobsync_app | SQLite database error
jobsync_app | unable to open database file: /data/dev.db
jobsync_app |
jobsync_app exited with code 1
By the way, there is no docker image published in the registry so it builds the docker image when you run the docker compose file from the repo folder, the app is still in beta and there are still some features of the app that require work, so bear with me until I publish the docker image.
Understood, I was reading the messages as it was coming through and Podman was asking me where I wanted to download the image from. Docker does not do that.
@LayersOfAbstraction
I don't have a Windows machine to try this on, but it seems you just ran through the documentation as I did. Not sure what I am doing wrong, if anything. This is a fresh installation of Docker and fresh clone of the repo. I did not change anything.
-- Anthony Webb
@Gsync
I don't understand if you are a novice then why do you use podmon instead of docker,
It's just what I am most familiar with, even though that familiarization is minimal.
I would suggest try not to modify the docker file at first and go with the defaults and use docker instead of podmon and let me know how it goes.
I removed all traces of Podman, and installed docker per their documentation for my distro. After running
git clone https://github.com/Gsync/jobsync.git
, switching into that directory, then runningdocker compose up
, I get the following:$ docker compose up [+] Running 1/0 ✔ Container jobsync_app Created 0.0s Attaching to jobsync_app jobsync_app | Prisma schema loaded from prisma/schema.prisma jobsync_app | Datasource "db": SQLite database "dev.db" at "file:/data/dev.db" jobsync_app | jobsync_app | Error: Schema engine error: jobsync_app | SQLite database error jobsync_app | unable to open database file: /data/dev.db jobsync_app | jobsync_app exited with code 1
By the way, there is no docker image published in the registry so it builds the docker image when you run the docker compose file from the repo folder, the app is still in beta and there are still some features of the app that require work, so bear with me until I publish the docker image.
Understood, I was reading the messages as it was coming through and Podman was asking me where I wanted to download the image from. Docker does not do that.
@LayersOfAbstraction
I don't have a Windows machine to try this on, but it seems you just ran through the documentation as I did. Not sure what I am doing wrong, if anything. This is a fresh installation of Docker and fresh clone of the repo. I did not change anything.
-- Anthony Webb
This is what I have on Windows 11 which works fine.
docker --version
Docker version 27.2.0, build 3ab4256
On Ubuntu-22.04.5-desktop-amd64 I have this docker version
docker --version
Docker version 27.3.1, build ce12230
I think it may be an issue with the Docker versions it's self and not the operating systems. My working version 27.2.0 is not available on Ubuntu when I check. Haven't checked if it exists on Fedora Linux 40.
Preface
I am a novice when it comes to a lot of this. I don't often deal with podman/docker and this could very well be my fault, but I feel like I read it from top-to-bottom, left-to-right
podman compose up
▲ Next.js 14.2.3
Creating an optimized production build ... Downloading swc package @next/swc-linux-x64-gnu... Downloading swc package @next/swc-linux-x64-musl... ✓ Compiled successfully Linting and checking validity of types ... ⨯ ESLint must be installed in order to run during builds: npm install --save-dev eslint Failed to compile.
./jest.config.ts:6:29 Type error: Cannot find module 'jest' or its corresponding type declarations.
4 | */ 5 |
System Information
Operating System: Fedora Linux 40 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics Memory: 58.7 GiB of RAM Graphics Processor: AMD Radeon 780M Manufacturer: Framework Product Name: Laptop 16 (AMD Ryzen 7040 Series) System Version: AJ