Video Upload not possible
Hello everyone! So I have a problem with my una site. Everytime a person uploads a video it says: "Scheduled for publishing as soon as video conversion is complete." I waited almost 2 days but still nothing happens. Can someone please help me? Thanks
-
- · Wise
- ·
Is your cron for UNA running?
Studio -> Dashboard -> Server Audit
Look for Last cron jobs execution
This date/time stamp should be within a minute or two of your current time.
-
- · quamquam
-
·
In reply to Wise
- ·
- Thanks for your reply! It says this: Cron jobs -
sh: crontab: command not found
- if you are unsure if output is correct then manual server audit may be required
- Last cron jobs execution - None
What can I do to repair it?
-
- · Wise
- ·
What is your hosting? Shared, vps, dedicated? What distro?
-
- · quamquam
-
·
In reply to Wise
- ·
My hosting is hostinger :)
-
- · Wise
- ·
Message them. They will take care of it. Tell them you have no crontab (which is crazy to me, because its part of core Linux) but, however, they can correct it for you.
-
- · Wise
- ·
You will need to reactivate the UNA cron once they fix the issue. UNA needs that crontab to send mail, internal things, video / image conversion, etc etc.
-
- · quamquam
-
·
In reply to Wise
- ·
Do you think it's smarter to just reinstall una (I don't have much on it)
-
- · Wise
- ·
No. No need. Just readd the cron. Reinstalling UNA won't do anything. And anything in your queue will process as soon as crontab works.
-
- · Wise
-
·
In reply to quamquam
- ·
They fix crontabs?
-
- · quamquam
-
·
In reply to Wise
- ·
Right now they only gave me a pretty useless bot, but I'll try contacting them again. What do I have to do after they fix the crontabs. Do I need to execute something?
-
- · Senthur
- ·
If you dont get any support from your hosting then reinstall. At, last part of UNA installing you will get cron link. Copy that link and go to your cpanel find cornjob. And add the link. Set all for 0 (zero). Then your video should work.
-
- · Wise
-
·
In reply to Senthur
- ·
Did you not read above my friend? His host has crontabs disabled. Reinstalling UNA does nothing. And I can provide the crontab entry, I have it memorized from installing so many instances.
-
- · quamquam
- ·
Is it possible to just reinstall crontabs? Or do I have to switch the hosting?
-
- · Wise
- ·
Are you on a vps? Dedicated? Or shared? And what Linux distro? Do you have ssh access?
-
- · Wise
- ·
If you have ssh access, and Debian based (Ubuntu, etc) - as long as you have ssh and sudo (root) access...
sudo apt-get install cron
-
- · Wise
- ·
Once that is done,
crontab -e
Should work, paste this, updating path to your server paths.
MAILTO=who@where.com * * * * * /usr/bin/php -q /[full path to UNA]/periodic/cron.php
-
- · quamquam
-
·
In reply to Wise
- ·
I do have access to ssh and I think I also have Ubuntu, so I'm going to try it today :)
-
-
- · quamquam
-
·
In reply to Wise
- ·
So, I tried it and it said that it didn't found "sudo" only bash. Does that mean I don't have root access and have to switch hosting?
-
- · quamquam
- ·
omg I fixed it yayy! The problem was the "MAILTO" part of the cron job, I deleted it since I dont even need it and now the cron job is working :D Thanks for your help everyone!