Nebula will not install on clean install of Blueprint
Bit confused here: https://jasmeow.pics/yOEUPA.png
120 Replies
So I then did a bit of digging:
https://jasmeow.pics/nWOzZa.png
"Can't find ENV" so I went further...
https://jasmeow.pics/8CoFX5.png https://jasmeow.pics/20itaA.png This makes NO sense. It's complaining about it needing the .env but it exists?
It's clearly existing and it's there and there's no jank fields or broken config here.
Chowned it all, so there's no weird www-data nonsense breaking.
yes @Emma
I am absolutely not that mental, I will always make sure to RTD haha.
I swear i've not done anything wrong there.
I would lie if I knew what was happening here
Which operating system are you running - just asking this now so we can get that question out of the way
https://jasmeow.pics/yB3nhq.png
22.04 good sir.
I'll give you embed perms real quick haha
Thanks lmfao.
Please just do, drives me bat shit :kek
EMOJIS TOO?
JESUS
šŖ
permissions are a bit confusing here, should go over them in a bit
You've royally stumped me and that's coming from me whos installed addons and themes for the past 5 years lmfao.
Like I don't dev, but I can read simple code and scripts, and I'm pretty sure there's no jank there.
When I run the sh file directly, it returns no data. Is it meant to?
uhhh im not sure
Concerning.
Ill implement some echo lines.
could you run 
blueprint -upgrade remote blueprintframework/framework for me?
(if that works at least)
alright - some stuff here is done differently compared to the current latest commit, so if you can't figure it out it might be best to just grab everything from the blueprintframework/framework repo
I'll take a peek in a bit as well, just not at my pc right now.It was not happy.
oh help
Sorry, full data there.
EOF is sorta expected
related to updating something while it's being ran which freaks out bash
Kek
yeah thats concerning
i'll be at my pc within the hour - i'll do some digging as well
You got it.
Ran it myself, got it really ticked off.
Cos I bet I didn't run the node legacy crap.
Ping me on return movie watching.
@JasmeowTheCat hello again - i have returned
you've successfully made the support ticket that (so far) has confused me the most
like everything that can go wrong is going wrong here
:fire:
I might know whats happening here
@vic welcome to this forum post - the $FOLDER variable is as screwed as it has ever been
im guessing we both don't know what is actually going wrong with your logic^
(at least im guessing it's the folder variable as these are all "could not open input file" and "file does not exist" errors)
well
some stuff is working
logging works and that's also a bp lib
thats why im so confused
like all blueprint libs are imported, but everything else breaks for some reason
refactor going well huh
Could not open input file: artisan
this is not refactor smhwtf š
take a peek at this
what the
yeahh
everything here is hinting at the fact that everything that aren't blueprint libs are in the wrong location - or at least try to get files from the wrong location
for some reason
what if blueprint wasn't installed in the pterodactyl panel dir?
would explain why bp libs work but nothing else
in which case my FOLDER code did it's job
.
scratch that
I have no bloody idea
this is bad
well loki is the only other person i could see knowing what causes this
im constantly going over everything again and i just can't seem to get everything lining up
im so confused
@JasmeowTheCat Are you doing this for a client? Currently have them in my email and they have the same hostname.
Yes, that's it @Emma, they've got it installed now I presume.
What actually was the issue? This is so strange that I actually wanna try it on my system :Kek:
i have no clue š
wait i might think i know what was going on
it all makes sense now
1. User tried putting Nebula and Blueprint in home dir and Blueprint logs errors but does generate a command shortcut which links to that specific blueprint.sh file.
2. User installs Blueprint into the correct directory but somehow the old command shortcut stays in tact.
3. Every time that 
blueprint is ran, it actually runs the script from the home directory - not the Pterodactyl folder.
im a bit confused about step2 thoughhttps://github.com/BlueprintFramework/framework/blob/main/blueprint.sh#L228
It checks if the blueprint command exists on path. If it does, it won't run the place shortcut function at all.
To make it overwrite each time in case of things like that, just get rid of the if statement. Have it run every time.
https://github.com/BlueprintFramework/framework/blob/bf732b4adb6da5b733e4396c6cc7550158479856/blueprint.sh#L247
It's placed again when the install script is ran though
GitHub
framework/blueprint.sh at bf732b4adb6da5b733e4396c6cc7550158479856 ...
Powerful, fast and developer-friendly extension framework for Pterodactyl. Utilize extension APIs, inject HTML, modify stylesheets, package extensions and so much more. - BlueprintFramework/framework
Wack?
which should've fixed everything here
hm
so im genuinely confused
I am genuinely confused by what you mean here, as it was a fresh ptero instance of the ptero folder. But what you're saying it somehow yarn/npm/some magical shit stored it somewhere else?
I deleted the ptero folder, copied env, made new one, ENV back in, installed panel. Step one done.
got some emails that gave me some additional context about this
Then installed blueprint in that folder.
That's step 2.
Then did the literal nebula file lmfao.
your customer installed blueprint in their home folder before that
without pterodactyl or anything
I don't do your cd /move/to/ptero folder nonsense, as I already do it in the root of that folder.
OH
So it broke sys links?
seems like it
OHHHHHHHHHHHHH
Since you run "blueprint"
yeahh
as a terminal command
So it picks it up
and panics
Makes sense now
they didnt remove the older file
I got you I got you.
It's in the usr/lib/bin? whatver place it is.
And it thinks the home is where you were, got it.
uhh lemme see
something like that yeah
Ok I fully get you now, so if this happens again, actually check for stupidity?
yep
But shouldn't the script know that and panic when installing BP?
"Can't see env, fuck it."
i'll make sure to add a check
Yeah, ideally chief lmfao.
Surprised that's not actually implemented.
"This isn't the actual ptero folder you moron."
we never encountered this before
:Kek:
My clients like to break shit ya see.
and we have had some considerably less knowledgable people here
All good haha.
oh yeah one more thing
Glad I could help implement a check to make it not be a dumb moment in the future.
I literally looked across all the discord.
I was so stumped.
I didn't wanna bother you heh!
A good way to check is the vendor, public and .env, as they always exist in the laravel.
ah yeah
Then make the script panic out.
"You're a donut, this isn't the ptero folder."
at least it didn't cause data loss
Aye haha
yeah that would definitely have been bad
thankfully i do a little bit of shellcheck so
we're fine there :3
Like, I like your idea of implementing the "blueprint" command as a shell cmd, but why not in the artisan itself?
php artisan blueprint:etc
Like arix theme or whatever, php artisan arix:install
kinda came up with using bash over a year ago and its a bit too late to switch now
Fair dos fair dos.
blueprint's been my main way of getting started with the languages pterodactyl uses - so some dumb mistakes are there
It looks like it could happen if FOLDER isn't set correctly.
You could add a check for Pterodactyl-specific files, i.e. if artisan is in the dir.
Oh, you figured it out while I was gone lmao
Ye
We were faffing
lol
Just having a chat :Kek:
im just confused about why exactly upgrading blueprint did not fix it
it shouldve
Does it do clean up then?
just overwrites the heck out of the script
And yeet old bin references?
I see.
at least its supposed to do that
:Eyes:
Supposed.
Dev speak, I like it.
latest release is also supposed to have a working removal command
I don't see any kind of fail condition that would actually exit the script before it runs 
dbAdd "blueprint.setupFinished"my refactor pull request was also to export developer extensions upon running -export instead of wiping the dev folder
oops
It looks like it will set it no matter what. The only line with an exit condition there is if it's already been set xD
i mean im gonna blame this one on younger me again
Well glad I could stump your brains out for today :Kek:  and had a competent sys admin come across and tell you.
having someone who knows what they are talking about making a support request is definitely new
š Glad I could lend a hand.
thanks :3
Ping me if you need me again for tickets that piss you off.
Or use my extra special fuck you site.
Seriously?
Please don't just say hello, ping, complain, ask empty questions or just make a ticket with no content - It doesn't help anyone!
Aka, don't ask to ask v2.0.
My own little creation with examples š
ah yes
i have fun experience with talking to people

it gets better
Smort lmfaooo

Very smoooort
LOL
LOL
lmao
Dude I need to friend you lmfao, you're actually like me hahaha
I love this shit
lmfaoo
i'll send you one
I take no BS hahaha
im on my phone so at least discord cant kick me out from all devices here (discord logs me out everywhere every time i send a friend request on desktop)
there we go
Sounds like a skill issue
fire
fired
grab your stuff
oh hey jasmeow
nice to see you here
Why hello there.
I'm the mzunguhosting guy in admincraft
you should send me a friend request :kek:
for step 2 -- blueprint doesn't regenerate the blueprint shortcut if it exists
including through FOLDER changes
it should
.
hmm. weird