A
Admincraft•8mo ago
fernow

can anyone help

No description
244 Replies
Admincraft Meta
Admincraft Meta•8mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by vanvour#0
Discount Milk
Discount Milk•8mo ago
Context?
fernow
fernowOP•8mo ago
tried getting into my oracle cloud instance and i got this error the error happened after i deleted every file on the instance with an ftp client
Skullians
Skullians•8mo ago
uh every file? what do you mean by "every file"
fernow
fernowOP•8mo ago
yeah
Skullians
Skullians•8mo ago
like including the OS?
fernow
fernowOP•8mo ago
every file that was shown in the ftp client
Skullians
Skullians•8mo ago
and uh where was that
fernow
fernowOP•8mo ago
in...the ftp client?
Skullians
Skullians•8mo ago
no as in what folders do you remember seeing and why would you even do it?
fernow
fernowOP•8mo ago
minecraft stuff because i wanted to delete my server files
Skullians
Skullians•8mo ago
so you... decided to delete EVERY file / folder that you could see? are you able to ftp into it right now?
fernow
fernowOP•8mo ago
yeah, but i only saw stuff related to mc no
Skullians
Skullians•8mo ago
are you sure your auth details are correct? you haven't changed your keys
fernow
fernowOP•8mo ago
what do you mean by "you haven't changed your keys"
Skullians
Skullians•8mo ago
ssh keys the ones that you downloaded to ssh into the server
fernow
fernowOP•8mo ago
like the putty key?
Skullians
Skullians•8mo ago
when you created the instance yeah
fernow
fernowOP•8mo ago
or the normal one
Skullians
Skullians•8mo ago
both
fernow
fernowOP•8mo ago
maybe it did change i dont know
Skullians
Skullians•8mo ago
try recreate a new putty key from the normal one
fernow
fernowOP•8mo ago
i dont think i changed it myself tho i tried doing that didnt work yea didnt work
Skullians
Skullians•8mo ago
try restart the oracle instance via the panel
fernow
fernowOP•8mo ago
ok that didnt do anything :thonk:
SilentBot
SilentBot•8mo ago
The server offered to authenticate via your private key, but your client decided it didn't want to (or the key you have locally didn't match the key on the server). When you deleted everything on your server, did that include your entire home folder? Because that would've removed your ~/.ssh/authorized_keys file
fernow
fernowOP•8mo ago
what is the name of the home folder?
SilentBot
SilentBot•8mo ago
Depends on your user and os it's either in /root/ for the root user
fernow
fernowOP•8mo ago
oracle linux
SilentBot
SilentBot•8mo ago
or /home/username
fernow
fernowOP•8mo ago
i think i might have deleted it 🥲 i didnt see the home folder tho its my fault tho
SilentBot
SilentBot•8mo ago
do you see root? I have no experience with oracle linux, so unsure how different it is from what I know
fernow
fernowOP•8mo ago
i cant check because i cannot connect to the ftp server anymore
SilentBot
SilentBot•8mo ago
Does oracle not give you a way to get console access via their panel? Realistically, if you're unsure how, and you just deleted everything, re-creating the instance will probably be easier for you
fernow
fernowOP•8mo ago
no idea hold on
SilentBot
SilentBot•8mo ago
But what you would need to do is sign in as root, create a new user / re-create your existing user, re-add your public key to the ~/.ssh/authorized_keys of that new/recreated user
fernow
fernowOP•8mo ago
can you do that in oracle?
Skullians
Skullians•8mo ago
iirc no
fernow
fernowOP•8mo ago
what can i do then
Skullians
Skullians•8mo ago
remake your instance
fernow
fernowOP•8mo ago
is there not any other way cant i reinstall everything i dont want to lose my original instance
fernow
fernowOP•8mo ago
@SilentBot
No description
fernow
fernowOP•8mo ago
found this maybe this could be helpful i am in my shell
SilentBot
SilentBot•8mo ago
Nice
fernow
fernowOP•8mo ago
No description
fernow
fernowOP•8mo ago
how do i see my password? ??? where do i get my password
SilentBot
SilentBot•8mo ago
If they let you set it, it would've been as you setup the machine
fernow
fernowOP•8mo ago
they didnt what do i do
SilentBot
SilentBot•8mo ago
If you can't sign in as root, and oracle do not give you a way to seset it via their VM agent, it depends if disk encryption is setup and if you can boot attached media / isos or if they offer a recovery mode
fernow
fernowOP•8mo ago
how do i sign in as root?
SilentBot
SilentBot•8mo ago
Enter the username root, and whatever password is set, if you don't know it / never set it and oracle don't provide you a way to get it, you can't
Cooleg
Cooleg•8mo ago
you may have recieved an email i know some providers do that
fernow
fernowOP•8mo ago
yeah i dont know my password i have recieved couple of emails
Cooleg
Cooleg•8mo ago
do they have a password
fernow
fernowOP•8mo ago
no i checked all of the emails i recieved i hate this so much ughhhh
SilentBot
SilentBot•8mo ago
Which shows you how to enter recovery, mount the volume, chroot and do what you need to in order to create a new user / reset a password / add your ssh key to the authorized_keys file, etc.
Zeda
Zeda•8mo ago
Recreate the instance
SilentBot
SilentBot•8mo ago
They are pretty much the options recovery + reset or recreate
fernow
fernowOP•8mo ago
?
Zeda
Zeda•8mo ago
Click terminate instance and create a new instance Also how the heck didn't you notice the filenames aren't the same as your minecraft server's when deleting
fernow
fernowOP•8mo ago
i just didnt i mean i would atleast expect some sort of warning when deleting those files
Zeda
Zeda•8mo ago
This isn't windows. Next time don't delete the files without being careful
fernow
fernowOP•8mo ago
There are linux operating systems that give you warnings for deleting files that are required like i said i didnt notice the other files i read through fast but it was my fault at the end of the day i uhhh
Zeda
Zeda•8mo ago
Anyways, what is done is done and you need to recreate the instance and I would recommend using pterodactyl for the panel
fernow
fernowOP•8mo ago
dont understand what this guy is doin is installing ptero easy
Zeda
Zeda•8mo ago
yes if you read the docs
fernow
fernowOP•8mo ago
i watched the video and he just reboots the instance and somehow gets into recovery
Skullians
Skullians•8mo ago
use Crafty as a panel easier for beginners
Zeda
Zeda•8mo ago
Did you delete all the files on the system or just the home folder ubuntu
Skullians
Skullians•8mo ago
they don’t know
fernow
fernowOP•8mo ago
the instance runs on oracle linux not ubuntu
Skullians
Skullians•8mo ago
still matters
Zeda
Zeda•8mo ago
Same
fernow
fernowOP•8mo ago
true i uh
Skullians
Skullians•8mo ago
both are Linux
fernow
fernowOP•8mo ago
just logged into the instance on a ftp client
Skullians
Skullians•8mo ago
are you able to FTP right now?
fernow
fernowOP•8mo ago
and deleted every file sadly no
Skullians
Skullians•8mo ago
why didn’t you just… use ssh to delete what you needed rather than blindly deleting every file
Zeda
Zeda•8mo ago
This is why it's recommended to learn linux before using it
Skullians
Skullians•8mo ago
^ Linux != windows there’s no ‘are you sure you want to delete this’
Zeda
Zeda•8mo ago
I personally had no problems learning it I eventually remembered the commands which I was googling for
fernow
fernowOP•8mo ago
ill def learn linux
Zeda
Zeda•8mo ago
Nah you first have to learn to not delete something without checking
fernow
fernowOP•8mo ago
right ill def learn that after i process the 50 messages about that
Zeda
Zeda•8mo ago
Good
fernow
fernowOP•8mo ago
ok so are you done with telling me to not deleting something without checking
Zeda
Zeda•8mo ago
We told you what to do
fernow
fernowOP•8mo ago
yeah no ill try entering grub mode first @SilentBot i cant enter grub mode
SilentBot
SilentBot•8mo ago
Are you not seeing the option during boot or?
fernow
fernowOP•8mo ago
When i launch cloud shell connection, and i press esc the option does not show up
SilentBot
SilentBot•8mo ago
And you're rebooting the VM before opening the console? As you only get the option during the boot of your VM
fernow
fernowOP•8mo ago
I already have the console open while rebooting
SilentBot
SilentBot•8mo ago
And you're pressing it as it says to press it during boot?
fernow
fernowOP•8mo ago
as what says?
SilentBot
SilentBot•8mo ago
Sorry, while it's doing the boot countdown
fernow
fernowOP•8mo ago
It's okay, i pressed esc and got an error so i decided to re restart again and then nothing happened so for some reason i cant boot into grub mode maybe im doing something wrong does anyone know the problem
SilentBot
SilentBot•8mo ago
It would be more effort to recover it than re-creating it at this point
fernow
fernowOP•8mo ago
i understand but i really dont want to make a new instance
SilentBot
SilentBot•8mo ago
Is there any reason why?
fernow
fernowOP•8mo ago
wont the ip of my server instance change
SilentBot
SilentBot•8mo ago
It doesn't necessarily need to, assuming OCI allows you to detatch the IP from the current instance, and re-attach it to the new one
fernow
fernowOP•8mo ago
dunno if oci allows you to do that i mean if i just find out how to boot into grub mode, fixing the instance should be easy
SilentBot
SilentBot•8mo ago
Arguably it's more effort than just giving people a new IP, but I guess that's for you to decide
fernow
fernowOP•8mo ago
i really dont want to get rid of my original instance
Torrent
Torrent•8mo ago
GET RID OF IT SO I CAN MAKE ONE >:)
fernow
fernowOP•8mo ago
what
Torrent
Torrent•8mo ago
i've been trying to make an instance for over a week
Skullians
Skullians•8mo ago
:doom_wojak:
fernow
fernowOP•8mo ago
over a week? me deleting my instance will probably not help you make one in the first place if you have been trying to make one for a WEEK anyways the fact that you asked me to delete my instance makes me not to want to delete it
Skullians
Skullians•8mo ago
:LUL:
fernow
fernowOP•8mo ago
@Skullians help!!!
Skullians
Skullians•8mo ago
it's been like 12 days
fernow
fernowOP•8mo ago
do you have experience with oracle
Skullians
Skullians•8mo ago
i have a server and i must say recreate your instance if you can't fix it and you can't go into recovery mode there is, afaik, no way to get your instance back hence why you don't just randomly delete every file you see
fernow
fernowOP•8mo ago
why not i dont want to lose my instance man
Skullians
Skullians•8mo ago
idk :Shruge: never had to use it
fernow
fernowOP•8mo ago
there has to be a way to get it back
Skullians
Skullians•8mo ago
email oracle that's what i'd do
Discount Milk
Discount Milk•8mo ago
They don't provide support for free users. Free users are on their own.
Skullians
Skullians•8mo ago
do they not? they did for me
fernow
fernowOP•8mo ago
i did actually email them and they wanted me to use like their customer support website and the site looks outdated as hell yep oracle support is not free
Torrent
Torrent•8mo ago
A guy named John Hudson from Oracle called me and emailed me once just to touch base. I sent him an email yesterday and he responded within minutes and helped me. Guess it's not the same for everyone, but I've gotten great support (for free.)
Discount Milk
Discount Milk•8mo ago
TIL, I usually see people saying they got told to figure it out on their own
Skullians
Skullians•8mo ago
it’s definitely a game of luck I’ve had help from some emails, sometimes not
Torrent
Torrent•8mo ago
I guess you need an actual human you can contact
fernow
fernowOP•8mo ago
What do you mean by just to touch base?
Torrent
Torrent•8mo ago
He called me, told me about Oracle, asked me if I needed any help, etc. It was like 6 months ago so I don’t really remember. Nice guy though.
fernow
fernowOP•8mo ago
Cool! Also what linux distro would you recommend for running a server? i know like most linux distros are basically the same but which one do most people go with? i went with oracle linux for my old instance i deleted the old instance
Torrent
Torrent•8mo ago
Ubuntu 22.04 with Ampere shape That’s what was always recommended to me but I’m not Linux expert
Discount Milk
Discount Milk•8mo ago
setup.md
Oracle Cloud
A modified version of the guide produced by u/Belaboy1095969 on the Admincraft reddit using Ubuntu LTS.
Discount Milk
Discount Milk•8mo ago
Step by step!
fernow
fernowOP•8mo ago
Thanks! is this updated? because oracle sometimes changes stuff in the site
Torrent
Torrent•8mo ago
looks updated to me except atp you should probably go with java 21, as afaik MC 1.20.6+ requires it
fernow
fernowOP•8mo ago
in the bottom right theres a summary box that shows me how much im going to pay is that normal? i dont think i got that before when i made an instance this is free right? @Torrent sorry for the ping
Torrent
Torrent•8mo ago
Ignore that, it’s free as long as you follow the guide and use AD-3
fernow
fernowOP•8mo ago
i dont see ad 3 as an option
Torrent
Torrent•8mo ago
Availability domain, pretty sure it’s the top section and defaults to it
fernow
fernowOP•8mo ago
its not there ad 1 is the only option
Torrent
Torrent•8mo ago
That is a glitch for sure, or maybe has something to do with the fact you just deleted your instance That’s very strange
Snow Kit
Snow Kit•8mo ago
oh yeah, I got called from oracle cloud sales before. they hung up once they learned I used it for personal usage
Torrent
Torrent•8mo ago
I literally told them I was using it for Minecraft and the dude was totally cool and helpful about it
fernow
fernowOP•8mo ago
Are you kidding me so now i cant select ad 3?
Torrent
Torrent•8mo ago
Don’t know what to tell you bro Ur cooked
fernow
fernowOP•8mo ago
@Skullians help :sobble:
Skullians
Skullians•8mo ago
remake your instance yw
Torrent
Torrent•8mo ago
It won’t let him select AD-3. Is that the only one that’s always-free eligible?
fernow
fernowOP•8mo ago
no i am not welcome at all i cant select ad 3 now its not a choice anymore
Skullians
Skullians•8mo ago
could you select it before? also what region is this
fernow
fernowOP•8mo ago
Yeah i could
ProGamingDk
ProGamingDk•8mo ago
generally 1-3 are depending on regions
Skullians
Skullians•8mo ago
what AD did you create your current instance in or have you terminated it
fernow
fernowOP•7mo ago
AD 1 i believe i terminated it because everyone kept telling me so
Skullians
Skullians•7mo ago
well just select the AD that is available and free
fernow
fernowOP•7mo ago
also how do you reopen your server console after closing the ssh session?
Skullians
Skullians•7mo ago
use tmux or screen So you can keep the mc server running when you close the ssh session
ProGamingDk
ProGamingDk•7mo ago
or better yet docker/panel
Skullians
Skullians•7mo ago
no offence the fact that they erased their entire OS files suggests it might not be the best idea
fernow
fernowOP•7mo ago
true what is docker tho? i dont really understand what it is and what its meant for i heard its useful tho
ProGamingDk
ProGamingDk•7mo ago
container system, makes it able to isolate software in "containers", and easily replicate em
fernow
fernowOP•7mo ago
i think ill use screen for now when i close the ssh session how do i reopen my screen session?
Skullians
Skullians•7mo ago
iirc you just run screen If that doesn’t work, list the sessions with screen -ls and then screen -S <NAME_OF_SESSION>
fernow
fernowOP•7mo ago
the screen -s doesnt work i typed the name of my session
fernow
fernowOP•7mo ago
No description
Skullians
Skullians•7mo ago
send the output of screen -ls
fernow
fernowOP•7mo ago
No description
Skullians
Skullians•7mo ago
so you only want to type the numbers at the start of each one so 8274, 8115, etc
fernow
fernowOP•7mo ago
i did that but nothing shows up
Skullians
Skullians•7mo ago
send the command you are running
fernow
fernowOP•7mo ago
No description
Skullians
Skullians•7mo ago
Make sure it is an uppercase S
fernow
fernowOP•7mo ago
nothing shows up 🤔
Torrent
Torrent•7mo ago
@fernow honestly just install pterodactyl. If a noob like me can do it, anyone can.
fernow
fernowOP•7mo ago
way too complicated for a nobb like me i tried every session and nothing still showed up
SilentBot
SilentBot•7mo ago
Because to re-attach by ID, it is screen -r 8303 screen -S is to attach by session name iirc It seems like it will be a lot easier in the long run for you as otherwise you'll need to learn how to figure out and fix issues on your own.
fernow
fernowOP•7mo ago
the installation looks so complicated tho 😭
SilentBot
SilentBot•7mo ago
There are installation scripts (not that they are fully recommended though)
fernow
fernowOP•7mo ago
Ill install ptero but right now it would be really helpful if i could fix this simple issue, i attached a name to my session and did the command screen -r but it still didnt work
No description
SilentBot
SilentBot•7mo ago
do screen -ls again
fernow
fernowOP•7mo ago
No description
SilentBot
SilentBot•7mo ago
Then the only screen session you have created is ID 1435 Which you're currently attached to (and are typing commands in)
fernow
fernowOP•7mo ago
im attached to it in another instance of putty
SilentBot
SilentBot•7mo ago
That other session of putty isn't in a screen session
fernow
fernowOP•7mo ago
?
SilentBot
SilentBot•7mo ago
When you SSH into a server, you have a terminal you get placed in. When you run the screen command, you create a separate terminal which runs in the background even after you disconnect.
fernow
fernowOP•7mo ago
so i have to run the screen command then the screen -r command
SilentBot
SilentBot•7mo ago
No, screen -r is to reattach to a screen session you have already created previously You need to run screen -s MyServer to create a new session and start your server in this session Then at a later time, after you've disconnected / reconnected, you can type screen -r MyServer to reattach to that session
fernow
fernowOP•7mo ago
like screen -s MyServer server.jar or do i run the server.jar after the screen command?
SilentBot
SilentBot•7mo ago
You can do either way screen -s MyServer java -Xms 8G -Xmx 8G -jar server.jar Though it would be more like ^
fernow
fernowOP•7mo ago
screne?
SilentBot
SilentBot•7mo ago
Screen, I'm dyslexic, sorry
fernow
fernowOP•7mo ago
oh no its alright
fernow
fernowOP•7mo ago
it worked but now it doesnt work again randomly, could you help
No description
SilentBot
SilentBot•7mo ago
Because you're already connceted to the "minecraft" screen So start the server in there
fernow
fernowOP•7mo ago
but its already running
SilentBot
SilentBot•7mo ago
Then it's not running in that screen You'll have to check with screen -ls If there are any others That it's actually running in
fernow
fernowOP•7mo ago
No description
fernow
fernowOP•7mo ago
the other one isnt server related i think So what can i do? ok nvm i somehow got back in to the console dont know how but i did the -r command one final time and i got back in strange
AJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
thats what i said too, its so ez and gives you a nice interface to set up your servers in, and you can connect multiple oracle instanes if you like
Torrent
Torrent•7mo ago
Yeah fr it’s not that bad if you just pay attention (and have someone to beg for help)
AJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
oh that too i forgot
fernow
fernowOP•7mo ago
Can someone help i cant login to oracle instances for whatever reason it says "We have detected that your tenancy has been federated to another Identity Provider." then when i choose continue the web page just doesnt load
Arthurmeade12
Arthurmeade12•7mo ago
Ask oracle Or google
fernow
fernowOP•7mo ago
How can i ask oracle when their support is paid
Arthurmeade12
Arthurmeade12•7mo ago
Faq pages?
fernow
fernowOP•7mo ago
I looked and didnt find anything i really need help like right now
SilentBot
SilentBot•7mo ago
Seems like what Oracle possibly does when they close your free account down?
ProGamingDk
ProGamingDk•7mo ago
^^ from what i could find
fernow
fernowOP•7mo ago
What? They closed it?
SilentBot
SilentBot•7mo ago
You would have to reach out to them to figure that out
fernow
fernowOP•7mo ago
How do i do that Man this sucks i didnt even do anything
SilentBot
SilentBot•7mo ago
They reclaim resources from free accounts they deem aren't using the resources To go to paying customers
fernow
fernowOP•7mo ago
? idk what that means
SilentBot
SilentBot•7mo ago
If you aren't using your instance with enough load / or they need the resources back They will delete it and allow other paying customers to use the free resources they dedicated to your instance.
fernow
fernowOP•7mo ago
What exactly do they expect me to do? install billions of plugins? What do i do
SilentBot
SilentBot•7mo ago
There's nothing really you can do
fernow
fernowOP•7mo ago
i can still access my server through ftp
SilentBot
SilentBot•7mo ago
Uhh, if your service isn't down, then they likely haven't suspended you I'd just take a backup of things to be sure, and reach out to their support, as originally said
ProGamingDk
ProGamingDk•7mo ago
take a backu yeah
fernow
fernowOP•7mo ago
How?
SilentBot
SilentBot•7mo ago
In response to which part?
fernow
fernowOP•7mo ago
yeah like i can still ssh into my server how can i contact oracle i dont want to lose everything
ProGamingDk
ProGamingDk•7mo ago
back it up on your own machine
fernow
fernowOP•7mo ago
none of the pages load It doesnt work nothing works
SilentBot
SilentBot•7mo ago
I'm not Oracle support, that's just what I found from Googling, I'm unsure what the recommended way to reach out to them is :/
fernow
fernowOP•7mo ago
Can someone else help pleaaaaaaaaaaaaaaaaaaaaaaaseeeeee
ProGamingDk
ProGamingDk•7mo ago
you do have the files backupped by now correct?
fernow
fernowOP•7mo ago
Yeah i transferred the files to my computer through an ftp client
ProGamingDk
ProGamingDk•7mo ago
thats your first priority, and google, we arent the only place you can ask how to contact oracle
fernow
fernowOP•7mo ago
I did google nvm i got back in @SilentBot @ProGamingDk how can i secure my account from being deleted?
Torrent
Torrent•7mo ago
Pay Or make sure you actually are using your resources. If you you have Minecraft servers that are offline or nothing is being actively saved into memory, then they will reclaim your resources
fernow
fernowOP•7mo ago
no
Skullians
Skullians•7mo ago
It doesn’t actually cost you lmao It’s just the capacity is much higher for paid accounts even if it’s using free resources
Torrent
Torrent•7mo ago
I’m on a pay as you go account and haven’t been charged at all
fernow
fernowOP•7mo ago
oh pay for what and also i know this has nothing to do with minecraft servers but how can i host a website for my server on my vps
Torrent
Torrent•7mo ago
That’s.. not something we can help you with. Nobody’s going to teach you how to code and deploy a website from scratch. Except maybe ChatGPT
fernow
fernowOP•7mo ago
wtf i didnt ask for help with coding a website
Torrent
Torrent•7mo ago
yeah you asked how to host a website on your vps, which requires code and deployment even if it's already done nobody here is going to help you with that since it has nothing to do with minecraft and only loosely has to do with the theme of this server because a VPS is involved
koolaid
koolaid•7mo ago
Did you even try? Lol https://letmegooglethat.com/?q=how+to+set+up+web+server+on+vps RTFM, and be careful not to delete all ur files again
LetMeGoogleThat.com
How To Set Up Web Server On Vps
For those who think it's easier to annoy you than to Google 'How to set up web server on vps' themselves.
fernow
fernowOP•7mo ago
obviously it requires code, but when you ask how to host you dont ask how to code

Did you find this page helpful?