Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operational Error #2

Open
panch13114 opened this issue Jul 7, 2016 · 4 comments
Open

Operational Error #2

panch13114 opened this issue Jul 7, 2016 · 4 comments

Comments

@panch13114
Copy link

panch13114 commented Jul 7, 2016

I get the following error

glossia_1 | 2016-07-07 13:58:04,511 - ERROR - Exception in callback GoSmartSimulationServerComponent.setStatus('E7E03E30-7E2...-677FD73E22C2', 'IN_PROGRESS', .363636, 1467899884.5107365)()>
glossia_1 | Traceback (most recent call last):
glossia_1 | File "/usr/lib/python3.4/asyncio/events.py", line 125, in _run
glossia_1 | self._callback(*self._args)
glossia_1 | File "/usr/local/lib/python3.4/dist-packages/gssa/server.py", line 788, in setStatus
glossia_1 | self._db.setStatus(id, key, message, percentage, timestamp)
glossia_1 | File "/usr/local/lib/python3.4/dist-packages/gssa/database.py", line 72, in setStatus
glossia_1 | ''', {"guid": guid, "status": status, "percentage": percentage, "exit_code": exit_code, "timestamp": timestamp})
glossia_1 | sqlite3.OperationalError: attempt to write a readonly database
@philtweir
Copy link
Member

Hmm. What are the permissions on the simulations.sqlite3? (if using glossia-server-side, it will be under ./simulations/default/simulations.sqlite3) Could they have got changed any point?

@panch13114
Copy link
Author

It seems to be owned by a local user now

@philtweir
Copy link
Member

Until docker's user namespacing filters through, the uid/gid in the container are what you need, so if they're overridden, you can find them again with ls -ltrn simdata, say. Then chown -R [UID]:[GID] simulations transferrer should fix it.

@panch13114
Copy link
Author

Thanks. It worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants