Closed VenielOuria closed 1 year ago
what directory are you in when you issued the build command? you'd have to be in the root directory (/) and the project checked out there for that command to work. did you type "crystal build src/ktistec/server.cr" instead (that's what i would have expected).
I run the command from folder in home/username/ktistec I've also tried cloning the repo to / root and repeating process, same result.
The "src/ktistec/server.cr" path refers to the subfolders of the cloned ktistec/ folder, correct? I can see the server file there so it seems to makes sense to run the command from project folders root. Or is it meant to be system root folder?
it should be run from the project root. can you show me the steps you are taking, starting from a fresh clone of the repository. it would also help to know more about the system you are running and the version of crystal you have installed.
Thanks for input so far. I've reinstalled with same result. Running on a Debian vps with 2gb RAM, definitely low-end but I'm hoping it's sufficient and not the issue.
Here's the terminal out as requested: https://pastebin.com/tsRFgmPP
what is the contents, ownership and permissions of the files in src/controllers?
$ ls -l total 88 -rw-r--r-- 1 veniel veniel 948 Dec 30 04:50 activities.cr -rw-r--r-- 1 veniel veniel 3006 Dec 30 04:50 actors.cr -rw-r--r-- 1 veniel veniel 657 Dec 30 04:50 everything.cr -rw-r--r-- 1 veniel veniel 2256 Dec 30 04:50 home.cr -rw-r--r-- 1 veniel veniel 10335 Dec 30 04:50 inboxes.cr -rw-r--r-- 1 veniel veniel 3835 Dec 30 04:50 metrics.cr -rw-r--r-- 1 veniel veniel 4169 Dec 30 04:50 objects.cr -rw-r--r-- 1 veniel veniel 9889 Dec 30 04:50 outboxes.cr -rw-r--r-- 1 veniel veniel 928 Dec 30 04:50 relationships.cr -rw-r--r-- 1 veniel veniel 2204 Dec 30 04:50 remote_follows.cr -rw-r--r-- 1 veniel veniel 1505 Dec 30 04:50 searches.cr -rw-r--r-- 1 veniel veniel 1199 Dec 30 04:50 sessions.cr -rw-r--r-- 1 veniel veniel 2522 Dec 30 04:50 settings.cr -rw-r--r-- 1 veniel veniel 460 Dec 30 04:50 suggestions.cr -rw-r--r-- 1 veniel veniel 871 Dec 30 04:50 tags.cr -rw-r--r-- 1 veniel veniel 2035 Dec 30 04:50 uploads.cr -rw-r--r-- 1 veniel veniel 2476 Dec 30 04:50 well_known.cr
@VenielOuria following up... your project directory seems fine. i don't have any other suggestions for troubleshooting, or theories as to what could be going wrong in your build.
Okay, thank you for your time, I will let you know if I ever figure out what happened.
Greetings, I'm following the install instructions, got all the prerequisites, up to the
after about 10 sec it throws an error
No other info. Is this a common issue. Or is there a way to have more verbose output so I can track down the cause? No previous experience with Crystal.