You are here
noschvie - Sat, 2021/10/30 - 23:41
Hello
what is the proper input value for "Enter tracker home: " of roundup-admin import imports/myExport ?
thanks
Norbert
Forum:
Tags:
Hello
what is the proper input value for "Enter tracker home: " of roundup-admin import imports/myExport ?
thanks
Norbert
TBH, I'm not 100% sure.
TBH, I'm not super familiar with the Roundup software so I'm not completely clear. Having said that, I assume that you just need to select a filesystem location that the roundup user has access too (and be sure to run the command as the roundup user).
Looking at the TurnKey buildcode, I can see that the default "tracker" directory is /var/lib/roundup/tracker. So assuming that you want to overwrite the default install, then perhaps that's the path to use?
I'd be interested to hear how you go.
IndexError: list index out of range
your suggested directory works, thanks.
The import is starting but lead to an "IndexError: list index out of range" error. Any idea was went wrong ?
Hmm, what DB backend did the export come from?
As I said, I'm not super familiar with Roundup, so on face value, I have no idea.
Having said that, I did a bit of googling and found this issue. It's very old, but from what I can gather, it appears to be unfixed?! Although it only seems to affect a tracker exported from a SQLite DB backend (our appliance is backed by MySQL/MariaDB). So unless that's where your tracker was exported from, I doubt it's related (and even then, it's quite likely that it may not be related anyway, just a shot in the dark really).
So probably your best bet would be to reach out to the roundup community and see if they have any ideas. It looks like they use mailing lists and I think probably the roundup-users one would be the most appropriate. (sign up here - personally, I wouldn't recommend signing up to the source forge newsletter; but that's up to you).
If you do do that, feel free to cross post a link to your post here. And if you need any further info and/or need a hand with further debugging or whatever, please post back and I'll do my best to help out.
Commeted by Ralf / Roudup User Group
So it's failing on the very first issue.
And the data you sent in a previous message imports perfectly fine here (and includes the first issue).
> File
> "/usr/local/lib/python3.7/dist-packages/roundup/backends/rdbms_common.py", line 3034, in import_list
> root@roundup /# find . -name rdbms_common.py
> ./home/roundup/.local/lib/python3.7/site-packages/roundup/backends/rdbms_common.py
Hmm, this looks like the version you have installed in .local is *not* the one actually run (the one that is used is installed in /usr/local/lib/...).
Python is usually correct in reporting the file where the traceback occurred accurately.
For what it's worth, it's installed to /home/roundup
For what it's worth, it's installed to /home/roundup, but symlinked into /usr/local:
Note that the roundup-2.0.0.dist-info link is dead, so you could remove that if you wished. However, it shouldn't cause any issues, so you could just leave it there.
root cause of IndexError : blank lines in*.csv
blank lines as part of the *.csv files seems to be the cause for the import issue.
TurnKey Linux Roundup doesn't add such lines to *.csv, but Roundup under Windows.
We want to get the export function fixed.
Export comes from SQLite DB
You are right, the export comes from a SQLite DB backend.
Thanks for your reseach, will post it to the roundup mailing list.
Dump file comes from Roundup 2.1.0
Ralf from the Roundup user group suggested to upgrade to the lasted Roundup version.
How can this be done with the current image ? Or is a new version of the appliance needed ?
You should be able to update roundup fairly easily
You should be able to update roundup. It's actually not quite as easy as I expected it to be, but it should go something like this:
That should complete with the following message:
Note that you will also probably see a warning like this:
Instead of adding the path, we put symlinks in /usr/local/bin (which is in the path). So you can safely ignore that.
Then the next step is to migrate the DB:
And update the config:
We also need to adjust some permissions. Plus, the layout of the roundup package appears to have changed quite significantly in v2.1. So we need to update quite a few paths. I am using quite a few variables, which makes it look a bit more complicated than it is really (you should be able to just copy/paste this into your terminal):
Now all you should need to do is restart Apache:
Roundup upgrade not successful
have done the upgrade as suggested, but the roundup web page is't available afterwards.
To verify the steps from your post I did also a fresh install of the appliance and tried the upgrade.
Also tried to reboot the VM.
What went wrong ? Thanks!
Please find below the output of the console:
Sorry: Roundup Upgrade successful !
... maybe the restart takes longer ... now the Roundup web is ok. Sorry!
All good. Glad it worked.
No problem. Glad to hear that it worked (eventually) for you.
Roundup : Cross-Platform Imports do not work
https://issues.roundup-tracker.org/issue2551166
Ah ok. Yes Windows uses different line endings by default.
Thanks for following up on that and great to hear that you finally worked through it and it appears you are good to go now.
Please do not hesitate to drop in again if you have any further issues, questions or suggestions for us.
Submit "Change Note" seems to be broken
the dump was imported and all issue and messages are available.
Fields like "priority" and "Assigned to" can be modified, but the "Change note" field leads to the erro below:
any idea how to debug? Thanks!
Have a look at the Apache log
My guess is that python has thrown an error. If I'm right, then there should be a stacktrace in the Apache log. You should find the Apache log /var/log/apache2/error.log. I.e. something like this (to show last 20 lines of log):
If you are unsure, feel free to post the output and I may be able to give some ideas. Although please note that I may not get a chance to respond until Monday.
Output of /var/log/apache2/error.log
please find below the output of /var/log/apache2/error.log
Output \var\log\apache2\error.log.1
Unfortunately, again I'm not sure.
To be honest, I wasn't at all clear where an issue like this would come from. 'AttributeError' is part of the Python standard library so seeing an error saying that it is not defined seemed crazy to me.
However, I did a bit of googling and came across a very similar wsgi error (it's Django running on Ubuntu, but close enough for our purposes). Graham (the mod_wsgi developer) explains the likely problem. Although that more explains the actual underlying issue, not the direct cause in your scenario. Reading on, it seems that it may be related to a lazy loaded module. TBH, I'm not 100%, but I suggest first adding the 'WSGIApplicationGroup %{GLOBAL}' directive (as Graham suggests here) to your Apache config. I'd give that a go (add it to /etc/apache2/sites-available/roundup.conf, I suggest under the existing 'WSGIScriptAlias' line) and restart Apache:
If the issue continues, then please add in the 'LogLevel info' directive (again in /etc/apache2/sites-available/roundup.conf) and restart Apache again. Then try to recreate the issue and post the log again and we'll see what we can see. Hopefully that might asist us to understand a bit more.
There is still a chance that we may need to call on the assistance of the Roundup guys again, but perhaps we can work it out?!
Cause identified: missing / incomplete mail configuration
An incomplete mail configuration of the Roundup application leads to this issue of the GUI.
Ok, glad to hear that you got it working.
Ok, glad to hear that you got it working.
Add new comment