Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Your Owncast installation did not complete successfully. #3902

Open
Jesse2855 opened this issue Aug 27, 2024 · 10 comments
Open

ERROR: Your Owncast installation did not complete successfully. #3902

Jesse2855 opened this issue Aug 27, 2024 · 10 comments
Labels

Comments

@Jesse2855
Copy link

Share your bug report, feature request, or comment.

wncast@owncast-virtual-machine:~$ curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Created directory [✓]
Downloaded Owncast v0.1.3 for linux [✓]
unzip: cannot find or open /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip, /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip.zip or /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip.ZIP.

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

This is a brandnew VM, I do not know what the issue is.

@Jesse2855
Copy link
Author

here is the full print out

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

owncast@owncast-virtual-machine:$ curl -s https://owncast.online/install.sh | bash
Command 'curl' not found, but can be installed with:
sudo snap install curl # version 8.1.2, or
sudo apt install curl # version 7.81.0-1ubuntu1.17
See 'snap info curl' for additional versions.
owncast@owncast-virtual-machine:
$ ^C
owncast@owncast-virtual-machine:$ sudo snap install curl
[sudo] password for owncast:
Sorry, try again.
[sudo] password for owncast:
curl 8.1.2 from Wouter van Bommel (woutervb) installed
owncast@owncast-virtual-machine:
$ curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Created directory [✓]
Downloaded Owncast v0.1.3 for linux [✓]
unzip: cannot find or open /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip, /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip.zip or /tmp/tmp.OaHVPPGsg0/owncast-0.1.3-linux-64bit.zip.ZIP.

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

owncast@owncast-virtual-machine:~$

@cakebread
Copy link

cakebread commented Aug 27, 2024

You might try un-installing curl (sudo snap remove curl), and try with 'sudo apt install -y curl'

If that doesn't help, are you able to write to /tmp as your regular (non-root) user? What is the output of this command?

touch /tmp/foo

(There should be no output if the command succeeds.)

@Jesse2855
Copy link
Author

Yes I am able to write to it, there is no output of it

owncast@owncast-virtual-machine:$ touch /tmp/foo
owncast@owncast-virtual-machine:
$

The text file that it created was blank.

@Jesse2855
Copy link
Author

i did the the "sudo snap remove curl" at a different window and appeared to work just fine, I restarted the VM, here is the output of this screen.

owncast@owncast-virtual-machine:~$ sudo apt install -y curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1ubuntu1.17).
The following packages were automatically installed and are no longer required:
libreoffice-ogltrans libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.

owncast@owncast-virtual-machine:~$ curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Existing install found in this directory. Will update it to v0.1.3. If this is incorrect remove the directory and rerun the installer.
Backing up your files to /home/owncast/owncast-install-backups before upgrading to v0.1.3cp: cannot stat 'data/': No such file or directory

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

owncast@owncast-virtual-machine:~$

@cakebread
Copy link

cakebread commented Aug 28, 2024

It creates the 'data' directory the first time you run owncast, so the backup failed because it doesn't exist.
You should be able to delete the directory and then re-install it.

rm -rf ~/owncast

Also, it looks like 128 packages are out of date, might want to update those with

sudo apt update && sudo apt upgrade -y

@Jesse2855
Copy link
Author

that seem to do it, its working now, thank you

owncast@owncast-virtual-machine:~$ rm -rf /owncast
owncast@owncast-virtual-machine:
$ curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Created directory [✓]
Downloaded Owncast v0.1.3 for linux [✓]
Downloaded ffmpeg because it was not found on your system [✓]

Success! Run owncast by changing to the owncast directory and run ./owncast.
The default port is 8080 and the default streaming key and admin password is abc123.
Visit https://owncast.online/docs/configuration/ to learn how to configure your new Owncast server.

owncast@owncast-virtual-machine:$ cd owncast
owncast@owncast-virtual-machine:
/owncast$ ./owncast
INFO[2024-09-02T12:29:22-06:00] Owncast v0.1.3-linux-64bit (6ae3167)
INFO[2024-09-02T12:29:22-06:00] Web server is listening on port 8080.
INFO[2024-09-02T12:29:22-06:00] Configure this server by visiting /admin.

@Jesse2855
Copy link
Author

looks like i am having the same issue....

[root@localhost owncast-1]# curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Created directory [✓]
Downloaded Owncast v0.1.3 for linux [✓]
unzip: cannot find or open /tmp/tmp.I9Wti3ZXXo/owncast-0.1.3-linux-64bit.zip, /tmp/tmp.I9Wti3ZXXo/owncast-0.1.3-linux-64bit.zip.zip or /tmp/tmp.I9Wti3ZXXo/owncast-0.1.3-linux-64bit.zip.ZIP.

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

[root@localhost owncast-1]# rm -rf ~/owncast
[root@localhost owncast-1]# curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Existing install found in this directory. Will update it to v0.1.3. If this is incorrect remove the directory and rerun the installer.
Backing up your files to /home/owncast-1/owncast-install-backups before upgrading to v0.1.3cp: cannot stat 'data/': No such file or directory

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

[root@localhost owncast-1]# rm -rf ~/owncast
[root@localhost owncast-1]# rm -rf ~/owncast
[root@localhost owncast-1]# sudo apt update && sudo apt upgrade -y
sudo: apt: command not found
[root@localhost owncast-1]# rm -rf ~/owncast
[root@localhost owncast-1]# sudo curl -s https://owncast.online/install.sh | bash
Owncast Installer v0.1.3

Existing install found in this directory. Will update it to v0.1.3. If this is incorrect remove the directory and rerun the installer.
Backing up your files to /home/owncast-1/owncast-install-backups before upgrading to v0.1.3cp: cannot stat 'data/': No such file or directory

ERROR: Your Owncast installation did not complete successfully.
Please report your issue at https://github.com/owncast/owncast/issues

[root@localhost owncast-1]#

@Jesse2855
Copy link
Author

I am using Rocky linux

@gabek
Copy link
Member

gabek commented Sep 20, 2024

It mentions in the log what's going on:

Existing install found in this directory.

It thinks Owncast is already setup there because there's probably a directory called owncast. Remove that directory, or choose a different place to install Owncast.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this was a feature request that others have shown no interest in, then it's unlikely to get implemented due to lack of interest. If others also want to see this feature then now is the time to say something! If this is a bug report or you have questions that still need answering, please say something. Feel free to drop by our chat if you'd like to discuss in real-time with people.

@github-actions github-actions bot added the stale label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants