From j at pad.ma Wed Jun 3 16:57:51 2020 From: j at pad.ma (j at pad.ma) Date: Wed, 3 Jun 2020 18:57:51 +0200 Subject: [pandora-dev] New pan.do/ra release (r6339) Message-ID: <60a1618e-217b-7bde-44e9-01b09c72f5f3@pad.ma> || pan.do/ra r6339 Time for a new pan.do/ra release. Renovations and maintenance: - migration to Django 3.06 - requires Python 3.6 or later - adding support for Python 3.8 - various bug fixes and cleanups || to pan.do/ra update run ./update.py || new features - Documents section now has fulltext search support, requires elasticsearch and tesseract to be installed and a documentKey with "fulltext": true. With that, images get OCRed and PDF text is extracted (pdf ocr not yet available). || Upgrade to Ubuntu 20.04 This release adds support for Ubuntu 20.04, instructions on how to upgrade can be found at: https://code.0x2620.org/0x2620/pandora/wiki/UpgradeTo20.04 From j at pad.ma Sun Sep 13 10:05:19 2020 From: j at pad.ma (j at pad.ma) Date: Sun, 13 Sep 2020 12:05:19 +0200 Subject: [pandora-dev] Fwd: Pandora Issues In-Reply-To: <21538e00-5a7b-56c5-7197-75ecaa708ebb@gnowledge.org> References: <4f1289e04c020f462895bfb9ae657c73@hbcse.tifr.res.in> <21538e00-5a7b-56c5-7197-75ecaa708ebb@gnowledge.org> Message-ID: <0664f357-70dc-af45-705c-cc173eb92e23@pad.ma> Hi, the docker image has indeed not been updated in a while and is more for testing, but if there is interest in using it more could push an update in the next days. if you followed the steps at https://code.0x2620.org/0x2620/pandora you should end up with pandora_install.log could you send that along, might contain more info on the failure. Could you also provide info about the distribution used. thanks, j On 10/09/2020 08:47, Nagarjuna G wrote: > Hi, > > We are facing some issues in installing pan.do/ra. Please see if this can be sorted out. > > Thanks > > -- > > GN > > > > -------- Forwarded Message -------- > Subject: Pandora Issues > Date: Thu, 10 Sep 2020 09:49:37 +0530 > From: surendrap > To: Nagarjuna G. > > > > Following were the issues faced while installing pandora: > > 1. Fresh Docker installation : > 1.1. I tried using docker image available on dockerhub uploaded by 0x2620 owner (last updated 3 years ago). The main container running using 0x2620/pandora image is breaking. > > 1.2 I tried creating docker image with for pandora with Dockerfile provided with updated source code. But same thing i.e. main container is crashing. > > 2. Fresh Normal Installation : > 2.1 I tried installing using the steps provided at (https://code.0x2620.org/0x2620/pandora). I have attached the image of the error in the screenshot. Please check. > 2.2 Also once somehow instance was Up and running, but on uploading first video the pandora instance crashed. > > 3. Need help migration of old pandora instance to newer version: > 3.1 We have a old instance running pandora on Django<1.5 version and want to migrate to latest version of pandora. I checked the upgrade related steps in the document, but did not find a proper way to migrate postgresql data. I tried migrating data of postgresql manually but got stuck in between. It would be good if you can share steps migrating old instance data to fresh instance data. Below shared is the error while i was trying to sync database schema. > > On runserver i am getting > > You have 99 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, annotation, app, archive, auth, changelog, clip, django_celery_results, document, documentcollection, edit, entity, event, home, item, itemlist, log, news, person, place, sequence, sessions, sites, system, taskqueue, text, title, translation, tv, urlalias, user. > Run 'python manage.py migrate' to apply them. > > On running > migrate > or > migrate --fake-initial > > Getting django.db.utils.ProgrammingError: relation "auth_permission" already exists > > > > Thank You. > > -- > -- > GN > -- > Prof. Nagarjuna G. > Gnowledge lab, Homi Bhabha Centre for Science Education, > Tata Institute of Fundamental Research > V.N. Purav Marg, Mankhurd, Mumbai 400088 > https://www.gnowledge.org/ > From nagarjun at gnowledge.org Thu Sep 10 06:47:49 2020 From: nagarjun at gnowledge.org (Nagarjuna G) Date: Thu, 10 Sep 2020 12:17:49 +0530 Subject: [pandora-dev] Fwd: Pandora Issues In-Reply-To: <4f1289e04c020f462895bfb9ae657c73@hbcse.tifr.res.in> References: <4f1289e04c020f462895bfb9ae657c73@hbcse.tifr.res.in> Message-ID: <21538e00-5a7b-56c5-7197-75ecaa708ebb@gnowledge.org> Hi, We are facing some issues in installing pan.do/ra. Please see if this can be sorted out. Thanks -- GN -------- Forwarded Message -------- Subject: Pandora Issues Date: Thu, 10 Sep 2020 09:49:37 +0530 From: surendrap To: Nagarjuna G. Following were the issues faced while installing pandora: 1. Fresh Docker installation : 1.1. I tried using docker image available on dockerhub uploaded by 0x2620 owner (last updated 3 years ago). The main container running using 0x2620/pandora image is breaking. 1.2 I tried creating docker image with for pandora with Dockerfile provided with updated source code. But same thing i.e. main container is crashing. 2. Fresh Normal Installation : 2.1 I tried installing using the steps provided at (https://code.0x2620.org/0x2620/pandora). I have attached the image of the error in the screenshot. Please check. 2.2 Also once somehow instance was Up and running, but on uploading first video the pandora instance crashed. 3. Need help migration of old pandora instance to newer version: 3.1 We have a old instance running pandora on Django<1.5 version and want to migrate to latest version of pandora. I checked the upgrade related steps in the document, but did not find a proper way to migrate postgresql data. I tried migrating data of postgresql manually but got stuck in between. It would be good if you can share steps migrating old instance data to fresh instance data. Below shared is the error while i was trying to sync database schema. On runserver i am getting You have 99 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, annotation, app, archive, auth, changelog, clip, django_celery_results, document, documentcollection, edit, entity, event, home, item, itemlist, log, news, person, place, sequence, sessions, sites, system, taskqueue, text, title, translation, tv, urlalias, user. Run 'python manage.py migrate' to apply them. On running migrate or migrate --fake-initial Getting django.db.utils.ProgrammingError: relation "auth_permission" already exists Thank You. -- -- GN -- Prof. Nagarjuna G. Gnowledge lab, Homi Bhabha Centre for Science Education, Tata Institute of Fundamental Research V.N. Purav Marg, Mankhurd, Mumbai 400088 https://www.gnowledge.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: photo_2020-09-07_11-37-06.jpg Type: image/jpeg Size: 216245 bytes Desc: not available URL: From nagarjun at gnowledge.org Wed Sep 16 18:07:51 2020 From: nagarjun at gnowledge.org (GN) Date: Wed, 16 Sep 2020 23:37:51 +0530 Subject: [pandora-dev] Fwd: Fwd: Fwd: Pandora Issues In-Reply-To: <26ed65c9-248f-b1e5-96f1-9f81acc9ca8b@gnowledge.org> References: <26ed65c9-248f-b1e5-96f1-9f81acc9ca8b@gnowledge.org> Message-ID: <48a55dae-31a9-d862-cdef-5b4abfb9f70a@gnowledge.org> Please see the log file attached, and give us some clue on how to fix it. Thanks -- GN -------- Forwarded Message -------- Subject: Re: Fwd: Fwd: Pandora Issues Date: Wed, 16 Sep 2020 14:25:25 +0530 From: surendra To: GN Tried on a new machine again running Ubuntu 18.04.1 LTS. I have attached pandora log file. Thank You. On 13/09/20 7:04 pm, GN wrote: > response from j at pad.ma > > > > -------- Forwarded Message -------- > Subject: Re: Fwd: Pandora Issues > Date: Sun, 13 Sep 2020 12:05:19 +0200 > From: j at pad.ma > To: nagarjun at gnowledge.org, dev at 0x2620.org > > > > Hi, > > > the docker image has indeed not been updated in a while and is more for > testing, but if there is interest in using it more could push an update > in the next days. > > if you followed the steps at https://code.0x2620.org/0x2620/pandora you > should end up with pandora_install.log > could you send that along, might contain more info on the failure. Could > you also provide info about the distribution used. > > thanks, > j > > On 10/09/2020 08:47, Nagarjuna G wrote: >> Hi, >> >> We are facing some issues in installing pan.do/ra. Please see if this >> can be sorted out. >> >> Thanks >> >> -- >> >> GN >> >> >> >> -------- Forwarded Message -------- >> Subject: Pandora Issues >> Date: Thu, 10 Sep 2020 09:49:37 +0530 >> From: surendrap >> To: Nagarjuna G. >> >> >> >> Following were the issues faced while installing pandora: >> >> 1. Fresh Docker installation : >> 1.1. I tried using docker image available on dockerhub uploaded by >> 0x2620 owner (last updated 3 years ago). The main container running >> using 0x2620/pandora image is breaking. >> >> 1.2 I tried creating docker image with for pandora with Dockerfile >> provided with updated source code. But same thing i.e. main container >> is crashing. >> >> 2. Fresh Normal Installation : >> 2.1 I tried installing using the steps provided at >> (https://code.0x2620.org/0x2620/pandora). I have attached the image of >> the error in the screenshot. Please check. >> 2.2 Also once somehow instance was Up and running, but on uploading >> first video the pandora instance crashed. >> >> 3. Need help migration of old pandora instance to newer version: >> 3.1 We have a old instance running pandora on Django<1.5 version and >> want to migrate to latest version of pandora. I checked the upgrade >> related steps in the document, but did not find a proper way to >> migrate postgresql data. I tried migrating data of postgresql manually >> but got stuck in between. It would be good if you can share steps >> migrating old instance data to fresh instance data. Below shared is >> the error while i was trying to sync database schema. >> >> On runserver i am getting >> >> You have 99 unapplied migration(s). Your project may not work properly >> until you apply the migrations for app(s): admin, annotation, app, >> archive, auth, changelog, clip, django_celery_results, document, >> documentcollection, edit, entity, event, home, item, itemlist, log, >> news, person, place, sequence, sessions, sites, system, taskqueue, >> text, title, translation, tv, urlalias, user. >> Run 'python manage.py migrate' to apply them. >> >> On running >> migrate >> or >> migrate --fake-initial >> >> Getting django.db.utils.ProgrammingError: relation "auth_permission" >> already exists >> >> >> >> Thank You. >> >> -- -- >> GN >> -- >> Prof. Nagarjuna G. >> Gnowledge lab, Homi Bhabha Centre for Science Education, >> Tata Institute of Fundamental Research >> V.N. Purav Marg, Mankhurd, Mumbai 400088 >> https://www.gnowledge.org/ >> -- -- GN -- Gnowledge lab, Homi Bhabha Centre for Science Education, https://www.gnowledge.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pandora_install.log Type: text/x-log Size: 56061 bytes Desc: not available URL: From j at pad.ma Thu Sep 17 19:20:26 2020 From: j at pad.ma (j at pad.ma) Date: Thu, 17 Sep 2020 21:20:26 +0200 Subject: [pandora-dev] Fwd: Fwd: Fwd: Pandora Issues In-Reply-To: <48a55dae-31a9-d862-cdef-5b4abfb9f70a@gnowledge.org> References: <26ed65c9-248f-b1e5-96f1-9f81acc9ca8b@gnowledge.org> <48a55dae-31a9-d862-cdef-5b4abfb9f70a@gnowledge.org> Message-ID: <9040f710-9f17-5460-c0a0-17e7c9dab396@pad.ma> as the last lines in the log suggest: Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. could you also include the output of "systemctl status nginx.service" On 16/09/2020 20:07, GN wrote: > Please see the log file attached, and give us some clue on how to fix it. > > Thanks > > -- > > GN > > > -------- Forwarded Message -------- > Subject: Re: Fwd: Fwd: Pandora Issues > Date: Wed, 16 Sep 2020 14:25:25 +0530 > From: surendra > To: GN > > > > Tried on a new machine again running Ubuntu 18.04.1 LTS. I have attached pandora log file. > Thank You. > > On 13/09/20 7:04 pm, GN wrote: >> response from j at pad.ma >> >> >> >> -------- Forwarded Message -------- >> Subject: Re: Fwd: Pandora Issues >> Date: Sun, 13 Sep 2020 12:05:19 +0200 >> From: j at pad.ma >> To: nagarjun at gnowledge.org, dev at 0x2620.org >> >> >> >> Hi, >> >> >> the docker image has indeed not been updated in a while and is more for >> testing, but if there is interest in using it more could push an update >> in the next days. >> >> if you followed the steps at https://code.0x2620.org/0x2620/pandora you >> should end up with pandora_install.log >> could you send that along, might contain more info on the failure. Could >> you also provide info about the distribution used. >> >> thanks, >> j >> >> On 10/09/2020 08:47, Nagarjuna G wrote: >>> Hi, >>> >>> We are facing some issues in installing pan.do/ra. Please see if this >>> can be sorted out. >>> >>> Thanks >>> >>> -- >>> >>> GN >>> >>> >>> >>> -------- Forwarded Message -------- >>> Subject: Pandora Issues >>> Date: Thu, 10 Sep 2020 09:49:37 +0530 >>> From: surendrap >>> To: Nagarjuna G. >>> >>> >>> >>> Following were the issues faced while installing pandora: >>> >>> 1. Fresh Docker installation : >>> 1.1. I tried using docker image available on dockerhub uploaded by >>> 0x2620 owner (last updated 3 years ago). The main container running >>> using 0x2620/pandora image is breaking. >>> >>> 1.2 I tried creating docker image with for pandora with Dockerfile >>> provided with updated source code. But same thing i.e. main container >>> is crashing. >>> >>> 2. Fresh Normal Installation : >>> 2.1 I tried installing using the steps provided at >>> (https://code.0x2620.org/0x2620/pandora). I have attached the image of >>> the error in the screenshot. Please check. >>> 2.2 Also once somehow instance was Up and running, but on uploading >>> first video the pandora instance crashed. >>> >>> 3. Need help migration of old pandora instance to newer version: >>> 3.1 We have a old instance running pandora on Django<1.5 version and >>> want to migrate to latest version of pandora. I checked the upgrade >>> related steps in the document, but did not find a proper way to >>> migrate postgresql data. I tried migrating data of postgresql manually >>> but got stuck in between. It would be good if you can share steps >>> migrating old instance data to fresh instance data. Below shared is >>> the error while i was trying to sync database schema. >>> >>> On runserver i am getting >>> >>> You have 99 unapplied migration(s). Your project may not work properly >>> until you apply the migrations for app(s): admin, annotation, app, >>> archive, auth, changelog, clip, django_celery_results, document, >>> documentcollection, edit, entity, event, home, item, itemlist, log, >>> news, person, place, sequence, sessions, sites, system, taskqueue, >>> text, title, translation, tv, urlalias, user. >>> Run 'python manage.py migrate' to apply them. >>> >>> On running >>> migrate >>> or >>> migrate --fake-initial >>> >>> Getting django.db.utils.ProgrammingError: relation "auth_permission" >>> already exists >>> >>> >>> >>> Thank You. >>> >>> -- -- >>> GN >>> -- >>> Prof. Nagarjuna G. >>> Gnowledge lab, Homi Bhabha Centre for Science Education, >>> Tata Institute of Fundamental Research >>> V.N. Purav Marg, Mankhurd, Mumbai 400088 >>> https://www.gnowledge.org/ >>> > > -- > -- > GN > -- > Gnowledge lab, Homi Bhabha Centre for Science Education, > https://www.gnowledge.org/ >