Closed guymass closed 1 year ago
can't seem to install it I will see if I can copy from my other server which is a working older installation and see if that works.
please check your apache log
it doesn't records anything. This server is behind a proxy but the installation works after I fixed all the errors and place all the missing files, but still after a successful installation I got the message indicating there is not permission on /var/www in the apache.conf file which there was. I already have one encoder running in this manner you can check https://encoder3.alive528.com, but now I want to install another encoder and I get all sorts of errors which are strange.
OK after installation I needed to upgrade my encoder I git pulled and wanted to update, it seems the update went fine and I got OK but when I refresh I gives me this error and puts me back on previous version:
I think the database.sql file on the repository is old or outdated. I cannot upgrade my new encoder for some reason.
I am trying manually with this:
mysql encoder4 < updateDb.v4.0.sql -uencoder -p
I have all these updates, do I need to install them all?
I run all installations and still it shows me I have 17 updates. How to fix this?
Even after importing all databases with:
for file in updateDb*.sql; do echo "Importing $file" mysql -uencoder -ppassword encoder4 < "$file" done
Still it doesn't go away. This is by far the most strangest encoder install I had, usually it take me 10m to setup.
because you have so many updates, I guess the best for you is to delete encoder/videos/configuration.php and database and make a clean encoder installation
I installed it already 3 times and every time I set a new database. So either the database installation is faulty or some other issue.
Are all those SQL update files required to be in the updates directory in the repository?
After installing yet again, only after I move all SQL files out of the updates directory do the updates message stop. I cannot install any update, I can only import them one by one, if its actually needed.
I would prefer having a complete single SQL file to install and after installing database.sql none of the updated work unless I imports them manually. So I cannot update and the version of the encoder is not displayed anymore.
And Finally, because I cannot updated properly the admin of this section is closed for me:
Also I cannot save any of the allowed streamer sites at all. is there any way to get a complete V4 SQL databases so I will just import it completely without any updates?
check your error logs
I did, there is nothing indicating any error, not in apache, mysql or any other. Its just something either about the database itself. Other wise why would it not install all the updates? something is missing either in the main database.sql or with the other files. For now the encoder is working so i dont mind as much. I will try maybe to import a database from another encoder and see hot it works.
you can import the SQL files manually to create your database.
That is what I did but that also give errors depending on which file I am importing, and BTW do I need to import all of them in order by version number?
no, the default database.sql is the latest, and no update is required.
then why all those updates are inside the updates/ folder waiting to be installed? any it could be maybe a problem with the installation of the server itself, maybe some other bug. I will close this for now.
updates are only you have an old encoder and you want to migrate to the new one after the git pull
if it is a brand new install you do not need them
I am trying to install a new encoder and I get errors regarding files which are not in my directory after I git cloned the encoder.
There was a bootstrap.js error about a wrong path pointing to ./view/js/ insted of /node_modules/dist/js/ This one i fixed manually. However there is a file named sweetalert.js and main.js which the server doesn't find. Please check the git package again to make sure all files that are required are there.
Here are screen shots: