TeamPiccolo / piccolo3-server

the piccolo3 server
2 stars 3 forks source link

Scheduler not functioning when using Quite Time #13

Open amacarth opened 3 years ago

amacarth commented 3 years ago

Piccolo3-7 at KB scheduler not functioning when using Quite Time to run passed midnight. Takes first batch of sequences than mo more. This reported by UofT for their system build with .debs in Dec 2020 and AM checked by trying to run system at KB . AM has requested .ded package id from UofT

mhagdorn commented 3 years ago

ok, I will need to investigate this.

amacarth commented 3 years ago

Hi ya

Was not expecting you to be online today! I'm just tiding up some stuff as we will set off for KB first thing tomorrow morning as I have some kit to collect from the lab then going to Duns to see house timber frame kit manufacturer

UofT went and installed their system up a tower an hour drive away from Twente but think they have remote access.

Cheers Alasdair

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Dr Alasdair Mac Arthur.

Available online Mondays and Tuesdays from 09:00 to 17:00

Tele. no. ++44 (0)7834151491

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hon. Fellow, School of GeoSciences, College of Science and Engineering, University of Edinburgh.

Hon. Professor, Laboratory for Earth Observation, Dept. of Earth Physics and Thermodynamics, University of Valencia. @.***>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336


From: Magnus Hagdorn @.> Sent: 13 June 2021 17:38 To: TeamPiccolo/piccolo3-server @.> Cc: MACARTHUR Alasdair @.>; Author @.> Subject: Re: [TeamPiccolo/piccolo3-server] Scheduler not functioning when using Quite Time (#13)

This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe.

ok, I will need to investigate this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/TeamPiccolo/piccolo3-server/issues/13#issuecomment-860238804, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAVCWGKQTP6FDXJM3LYEKDTSTNIPANCNFSM46T4VEAQ.

xuhui-deer commented 3 years ago

Hi all,

I have checked the .deb, it is "piccolo3-server-bundle 0.2.4". I hope what I found is right.

Xuhui Lu

mhagdorn commented 3 years ago

it should be piccolo3-server-bundle 0.3.1-1. We now have a package repository which will make installation and updating much easier.

  1. install the key
    wget -O /tmp/GeoSciences-Package-Service.gpg https://debs.geos.ed.ac.uk/keys/GeoSciences-Package-Service.gpg
    apt-key add /tmp/GeoSciences-Package-Service.gpg<br class="Apple-interchange-newline">
  2. install the repo key
    apt update
    apt install geos-release-ubuntu
  3. an upgrade should pick up the new package
    apt upgrade
xuhui-deer commented 3 years ago

Screenshot from 2021-06-14 08-27-29

I tried, but it looks like it failed.

xuhui-deer commented 3 years ago

it should be piccolo3-server-bundle 0.3.1-1. We now have a package repository which will make installation and updating much easier.

  1. install the key
wget -O /tmp/GeoSciences-Package-Service.gpg https://debs.geos.ed.ac.uk/keys/GeoSciences-Package-Service.gpg
apt-key add /tmp/GeoSciences-Package-Service.gpg<br class="Apple-interchange-newline">
  1. install the repo key
apt update
apt install geos-release-ubuntu
  1. an upgrade should pick up the new package
apt upgrade

It seems that "apt-key add /tmp/GeoSciences-Package-Service.gpg" works.

When I try "apt install geos-release-ubuntu", it showed "E: Unable to locate package geos-release-ubuntu".

mhagdorn commented 3 years ago

ah, yes. you need to add the repo:

cat <<EOF > /etc/apt/sources.list.d/piccolo.sources
Types: deb
URIs: https://debs.geos.ed.ac.uk/piccolo
Suites:  buster
Components: piccolo
Signed-By: 7859D35F0CD88A9E939AE644CB330CFDB2D2256F
EOF

and then update and upgrade

apt update
apt upgrade
xuhui-deer commented 3 years ago

ah, yes. you need to add the repo:

cat <<EOF > /etc/apt/sources.list.d/piccolo.sources
Types: deb
URIs: https://debs.geos.ed.ac.uk/piccolo
Suites:  buster
Components: piccolo
Signed-By: 7859D35F0CD88A9E939AE644CB330CFDB2D2256F
EOF

and then update and upgrade

apt update
apt upgrade

I succeeded upgrade the picco3-server-bundle to the latest one. I cannot open the picco3 dashboard, but I can still ssh it with the terminal. I also reboot the piccolo.

mhagdorn commented 3 years ago

excellent. I suspect you need to delete the scheduler DB: on the sdcard find the file scheduler.sqlite and delete it. On my system it's /mnt/piccolo3_data/scheduler.sqlite

mhagdorn commented 3 years ago

just tried out scheduler + quiet time on piccolo3-7 running the latest server (version 0.5). I can confirm it is working.

xuhui-deer commented 3 years ago

Thank you very much, it works well.