Coder Social home page Coder Social logo

Comments (11)

tcolo avatar tcolo commented on June 14, 2024 1

.cometa.sh is working

The cometa_front docker imgage is not starting (it is going in a strange loop)

Adding logfile from docker.
docker.log

from cometa.

ArslanSB avatar ArslanSB commented on June 14, 2024

I've update the scripts so sed commands should be working now. Also added check for docker if it's installed and running.
Missing jq I'll try adding a compile function to the script if jq package is missing in package manager.

from cometa.

raro42 avatar raro42 commented on June 14, 2024

Closing this issue, as M1 installation without native support of JQ is a real pain.

Recommend to use Vmware or VirtualBox to run linux flavors that support jq.

If that is not ok for you, you might as well re-open this issue.

from cometa.

isoctcolo avatar isoctcolo commented on June 14, 2024

If this should work on M1 https://formulae.brew.sh/formula/jq

the jq was already ported

from cometa.

raro42 avatar raro42 commented on June 14, 2024

Re-opening and testing

from cometa.

raro42 avatar raro42 commented on June 14, 2024

Thanks for testing!

So bringing up the front container is the problem.

2023-12-05 11:38:21 make: g++: Command not found

It should be installed via start.sh in ./front directory
image

Can you please attache the docker-compose file you used?

2023-12-05 11:44:39 httpd: Syntax error on line 589 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 45 of /usr/local/apache2/conf/openidc.conf: Cannot load modules/mod_auth_openidc.so into server: /usr/local/apache2/modules/mod_auth_openidc.so: cannot open shared object file: No such file or directory
This is a followup from the before.

There are permission issues in the cometa_front docker container.
2023-12-05 11:35:11 sed: couldn't open temporary file /code/src/sedDNZQp1: Permission denied

Can you check the permissions on /front are "rw" for "root" and did you execute the ./cometa.sh as "root"?

from cometa.

tcolo avatar tcolo commented on June 14, 2024

Adding docker-compose.tgz - yml upload is not allowed.
I really have to check the issue here:
The permissions shouldn't be an issue because I check it out as my mac user and run it as my mac user so it should be readable and writeable for all directories.
I check some szenarios and test.

docker-compose.tgz

from cometa.

tcolo avatar tcolo commented on June 14, 2024

The path /data/cometa/videos is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
This has to be configured in the Docker Desktop so this directory points to a local director

On the / direcory on mac you cannot create a directory - Solution is to change in the docker-compose.yml the data directory. The best solution is to use /Users/[User]/ as a base directory due to permissions.

from cometa.

tcolo avatar tcolo commented on June 14, 2024

It is important to start cometa.sh with "bash cometa.sh" otherwise zsh is used.

from cometa.

tcolo avatar tcolo commented on June 14, 2024

I added g++ to the start.sh and the error g++ command not found is gone.

apt-get install -y pkg-config make gcc g++ gdb lcov valgrind vim curl iputils-ping wget

from cometa.

tcolo avatar tcolo commented on June 14, 2024

I get in cometa_django

2024-01-13 17:31:49 Internal Server Error: /parseBrowsers/
2024-01-13 17:31:49 Traceback (most recent call last):
2024-01-13 17:31:49 File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
2024-01-13 17:31:49 response = get_response(request)
2024-01-13 17:31:49 File "/opt/code/backend/middlewares/authentication.py", line 75, in call
2024-01-13 17:31:49 result = self.createSession(request)
2024-01-13 17:31:49 File "/opt/code/backend/middlewares/authentication.py", line 114, in createSession
2024-01-13 17:31:49 superuser = Permissions.objects.filter(permission_name="SUPERUSER")[0]
2024-01-13 17:31:49 File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 318, in getitem
2024-01-13 17:31:49 return qs._result_cache[0]
2024-01-13 17:31:49 IndexError: list index out of range
2024-01-13 17:31:59 Internal Server Error: /parseBrowsers/

from cometa.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.