Closed semor-joe closed 1 month ago
Hi @semor-joe , Is it possible for you to share the holidays import excel sheet to try it out from our end? We were able to successfully import the data into our system with our demo sheet.
With Regards, Team Horilla
Hi @semor-joe , We were able to successfully import the holidays into our local and development servers. Can you make sure that you are using the latest code ?
Hi, I have started the application with your docker compose file and this issue will appear. I tried to write my own Dockerfile and now it is working. Thanks!
One more question, how can I backup the data? I am not familiar with that.
Thank you!
Hi @semor-joe , Can you please share what was the issue that caused the issue and also the solution for future references ?
For the backup case, we are developing a backup system for postgresql database to google drive. It's currently completed and now under testing. We'll be able to release it in coming days. We'll update you once it's been added.
With Regards, Team Horilla
I am not sure what was the issue. I assume it can be the problem within the docker-compose.yaml.
With docker compose up -d
the server will start but when I try to import the holidays, it appreas the error that I have shared here, then I created own Dockerfile:
# set the working direction
WORKDIR /app
RUN apt-get update -y --fix-missing
RUN pip install Django
# Copy requirements
COPY . .
# install depandencies from requirements.txt
RUN pip install -r /app/requirements.txt
RUN python manage.py makemigrations
RUN python manage.py migrate
RUN python manage.py collectstatic --noinput
RUN python manage.py createhorillauser --first_name admin --last_name admin --username admin --password admin --email admin@example.com --phone 1234567890
EXPOSE 8000
CMD python manage.py runserver 0.0.0.0:8000
And it is working now.
Also, starting with docker-compose.yaml does not provid any test data and when I start the aplication with pyhton or my own dockerfile, the test data will shown. So maybe it is setting of db in docker-compose.yaml not correct.
I have downloaded .ics file from google and converted it into xlsx. And I am still getting the error. Can you please verify if this is a correct format that horilla accepts. It also downloads an error file after uploading the excel file.
Hi @centaurusgod , Please check with the import template headers. It should be start date and end date (not start time and end time).
With Regards, Team Horilla
Hi @centaurusgod @semor-joe , We are closing this issue due to inactivity. It seems that there hasn't been any recent activity or discussion, and we believe it may have been resolved or is no longer relevant. If you feel this issue is still important and should be addressed, please feel free to reopen it or create a new issue with updated details.
With Regards, Team Horilla
Bug Report
Description
Error when importing holidays from excel.
Logl
Screenshots
Environment