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

data export gives error 405 Method Not Allowed #8823

Closed
3 of 4 tasks
Strubbl opened this issue Apr 25, 2024 · 3 comments
Closed
3 of 4 tasks

data export gives error 405 Method Not Allowed #8823

Strubbl opened this issue Apr 25, 2024 · 3 comments

Comments

@Strubbl
Copy link

Strubbl commented Apr 25, 2024

Support guidelines

I've found a bug and checked that ...

Description

After the update to 6.1.15 the /export does not work anymore. The CSV i download contains an error page from the server:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="robots" content="noindex,nofollow,noarchive" />
    <title>An Error Occurred: Method Not Allowed</title>
    <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>❌</text></svg>" />
    <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
.container { margin: 30px; max-width: 600px; }
h1 { color: #dc3545; font-size: 24px; }
h2 { font-size: 18px; }</style>
</head>
<body>
<div class="container">
    <h1>Oops! An Error Occurred</h1>
    <h2>The server returned a "405 Method Not Allowed".</h2>

    <p>
        Something is broken. Please let us know what you were doing when this error occurred.
        We will fix it as soon as possible. Sorry for any inconvenience caused.
    </p>
</div>
</body>
</html>

Debug information

Debug information generated at 2024-04-25 22:06:03 for Firefly III version v6.1.15.

System information
ItemValue
Firefly III6.1.15 / v2.0.14 / 24 (exp. 24)
PHP version8.3.6 (64bits) / apache2handler / Linux x86_64
BCscale12
Error reportingDisplay: Off, reporting: ALL errors
Max upload67108864 (64 MB)
Database drivers*mysql*, pgsql, sqlite,
Docker build#1074, base #83
Firefly III information
ItemValue
TimezoneEurope/Berlin + Europe/Berlin
App environmentlocal, debug: false
Layoutv1
Loggingnotice, stack / (empty)
Cache driverfile
Default language and localede_DE + equal
Trusted proxies
Login provider & user guardeloquent / web
Login headersN/A + N/A
Stateful domains
Last cron jobnever (never)
Mailerlog
User-specific information
ItemValue
User#1 of 1
User flags
Session start2024-04-01 00:00:00
Session end2024-04-30 23:59:59
View range1M
User languagede_DE
User localede_DE
Locale(s) supportedde_DE.utf8: ✅
de_DE.UTF-8: ✅
User agentMozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0

Expected behaviour

No error, but a valid CSV export is downloaded

Steps to reproduce

  1. browse to /export
  2. hit the export data button
  3. check content of the downloaded file to see it's a html page and not a CSV export

Additional info

i am running the docker-compose setup

@JC5
Copy link
Member

JC5 commented Apr 26, 2024

Sorry, it works fine for me. I get an export without trouble.

@Strubbl
Copy link
Author

Strubbl commented Apr 26, 2024

Today, it works again. I changed nothing since yesterday.

$ ls -lah 2024_04_2*
-rw-r--r-- 1 strubbl strubbl 1011 Apr 25 22:02 '2024_04_25_transaction_export(1).csv'
-rw-r--r-- 1 strubbl strubbl 1011 Apr 25 22:03  2024_04_25_transaction_export.csv
-rw-r--r-- 1 strubbl strubbl 246K Apr 26 06:34  2024_04_26_transaction_export.csv

Very strange.

@Strubbl Strubbl closed this as completed Apr 26, 2024
Copy link
Contributor

Hi there! This is an automatic reply. Share and enjoy

This issue is now 🔒 closed. Please be aware that closed issues are not monitored by the developer of Firefly III.

  • If the original bug is not actually fixed, please open a new issue. Refer to this issue for clarity.
  • Follow-up questions must be posted in a new discussion
  • Further replies to this issue may get no response.

If there is more to discuss, please open a new issue or discussion.

Thank you for your contributions.

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